From fdfbcac499086e90e8262a31547da8f66bcc4d69 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:20:14 +0100 Subject: [PATCH 1/8] Make arbitrary change to test PR workflow --- index.qmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.qmd b/index.qmd index d63840d..39f6936 100644 --- a/index.qmd +++ b/index.qmd @@ -10,3 +10,5 @@ To learn more about Quarto websites visit . The content below was rendered from README.qmd in the [robinlovelace/opengeohub23 GitHub repository](https://github.com/robinlovelace/opengeohub2023) where you can find the source code for this website. + + From c11ac9b4bd2e23526c81b5fcfefb55fb9ed3f3c2 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:21:07 +0100 Subject: [PATCH 2/8] Break workflow, test actions #38 --- tidy.qmd | 1 + 1 file changed, 1 insertion(+) diff --git a/tidy.qmd b/tidy.qmd index 9828983..3a97221 100644 --- a/tidy.qmd +++ b/tidy.qmd @@ -72,6 +72,7 @@ pkgs = c( "ggspatial", "spData" ) +stop() ``` ```{r} From b961f39a4dbc3c74c9c698716f1e3814fd973c85 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:33:07 +0100 Subject: [PATCH 3/8] Add pois_buffer_simple.geojson --- pois_buffer_simple.geojson | 8 ++++++++ tidy.qmd | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 pois_buffer_simple.geojson diff --git a/pois_buffer_simple.geojson b/pois_buffer_simple.geojson new file mode 100644 index 0000000..e515f62 --- /dev/null +++ b/pois_buffer_simple.geojson @@ -0,0 +1,8 @@ +{ +"type": "FeatureCollection", +"name": "pois_buffer_simple", +"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, +"features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 16.948159259785697, 52.467018649468393 ], [ 16.945906834527854, 52.468121899022563 ], [ 16.943592045109263, 52.468719836988946 ], [ 16.941381762279136, 52.46887364217018 ], [ 16.939109306218256, 52.468522114050636 ], [ 16.937373939872934, 52.468005793222993 ], [ 16.937108273064851, 52.467787665284952 ], [ 16.936051996110599, 52.467128559159598 ], [ 16.935081980435235, 52.466199559317872 ], [ 16.934358619911684, 52.464848486957415 ], [ 16.934471752424528, 52.463502992980544 ], [ 16.935220658549092, 52.462149726094758 ], [ 16.935997753658334, 52.461349565140729 ], [ 16.936290919708703, 52.461306434178326 ], [ 16.936738085654181, 52.46089772799975 ], [ 16.93861995174105, 52.460020735172577 ], [ 16.945140974580962, 52.45674634129314 ], [ 16.947522749316381, 52.456052786486083 ], [ 16.949682855564937, 52.455820451435258 ], [ 16.952306640859632, 52.456119876247257 ], [ 16.953924663617688, 52.456653121987927 ], [ 16.955240458372092, 52.457316604640816 ], [ 16.956699516946028, 52.458816298902384 ], [ 16.95722048431605, 52.460454222935972 ], [ 16.956858033714674, 52.461707911748569 ], [ 16.956143116993886, 52.462606287155467 ], [ 16.9560629601567, 52.462682397268459 ], [ 16.955363051221511, 52.463299917159596 ], [ 16.9546475126308, 52.463791130258393 ], [ 16.948159259785697, 52.467018649468393 ] ] ] } } +] +} diff --git a/tidy.qmd b/tidy.qmd index 9828983..b88c5f0 100644 --- a/tidy.qmd +++ b/tidy.qmd @@ -452,6 +452,16 @@ pois_buffer = poi_sf |> st_buffer(dist = 500) ``` +We'll save the output for future reference: + +```{r} +pois_buffer_simple = pois_buffer |> + st_simplify(dTolerance = 10) +plot(pois_buffer) +plot(pois_buffer_simple, add = TRUE, border = "blue") +sf::write_sf(pois_buffer_simple, "pois_buffer_simple.geojson", delete_dsn = TRUE) +``` + ```{r} extra_tags = c("maxspeed", "foot", "bicycle") ``` From 3fd04fc1fea98e3621c79208ac73a802bbd4824b Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:34:26 +0100 Subject: [PATCH 4/8] Update pr workflow --- .github/workflows/pr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 89d1c24..35c906a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,9 +1,9 @@ +# Trigger workflow on all PRs: on: - workflow_dispatch: - pull_request: - branches: - - main -name: Quarto Publish + pull_request: + branches: + - main +name: Quarto PR jobs: build-deploy: From 164f41e6976f7a809746f7bbf43029ef0a65651c Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:20:14 +0100 Subject: [PATCH 5/8] Make arbitrary change to test PR workflow --- index.qmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.qmd b/index.qmd index d63840d..39f6936 100644 --- a/index.qmd +++ b/index.qmd @@ -10,3 +10,5 @@ To learn more about Quarto websites visit . The content below was rendered from README.qmd in the [robinlovelace/opengeohub23 GitHub repository](https://github.com/robinlovelace/opengeohub2023) where you can find the source code for this website. + + From 9f56445009872be68997578b1a7e986300452719 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:21:07 +0100 Subject: [PATCH 6/8] Break workflow, test actions #38 --- tidy.qmd | 1 + 1 file changed, 1 insertion(+) diff --git a/tidy.qmd b/tidy.qmd index b88c5f0..a78feeb 100644 --- a/tidy.qmd +++ b/tidy.qmd @@ -72,6 +72,7 @@ pkgs = c( "ggspatial", "spData" ) +stop() ``` ```{r} From 94be139898979500955d08ee3c07dadd3a4d4eb6 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 07:37:28 +0100 Subject: [PATCH 7/8] Fix workflow --- tidy.qmd | 1 - 1 file changed, 1 deletion(-) diff --git a/tidy.qmd b/tidy.qmd index a78feeb..b88c5f0 100644 --- a/tidy.qmd +++ b/tidy.qmd @@ -72,7 +72,6 @@ pkgs = c( "ggspatial", "spData" ) -stop() ``` ```{r} From 8784c76aa72463710d7994770a9f26f4e9b1940d Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Thu, 31 Aug 2023 08:26:55 +0100 Subject: [PATCH 8/8] Test fail --- tidy.qmd | 1 + 1 file changed, 1 insertion(+) diff --git a/tidy.qmd b/tidy.qmd index b88c5f0..25ff5b5 100644 --- a/tidy.qmd +++ b/tidy.qmd @@ -72,6 +72,7 @@ pkgs = c( "ggspatial", "spData" ) +stop("This is a test") ``` ```{r}