Skip to content

Commit 214a1a0

Browse files
committed
Deploying to gh-pages from @ 0da2589 🚀
1 parent 9318fe3 commit 214a1a0

File tree

10 files changed

+31
-22
lines changed

10 files changed

+31
-22
lines changed

articles/sf7.html

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/sf7.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ system.time({
447447
uk_buffer_sf = st_buffer(uk_projected, dist = 20000)
448448
})
449449
## user system elapsed
450-
## 0.025 0.001 0.027
450+
## 0.027 0.001 0.028
451451
# sf way with few than the 30 segments in the buffer
452452
system.time({
453453
uk_projected = st_transform(uk_sfc, 27700)
@@ -460,13 +460,13 @@ system.time({
460460
uk_buffer = s2_buffer_cells(uk, distance = 20000)
461461
})
462462
## user system elapsed
463-
## 0.023 0.000 0.023
463+
## 0.024 0.000 0.025
464464
# s2 with 10000 cells
465465
system.time({
466466
uk_buffer2 = s2_buffer_cells(uk, distance = 20000, max_cells = 10000)
467467
})
468468
## user system elapsed
469-
## 0.215 0.000 0.216
469+
## 0.223 0.000 0.223
470470
# s2 with 100 cells
471471
system.time({
472472
uk_buffer2 = s2_buffer_cells(uk, distance = 20000, max_cells = 100)

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ articles:
99
sf5: sf5.html
1010
sf6: sf6.html
1111
sf7: sf7.html
12-
last_built: 2026-03-03T18:38Z
12+
last_built: 2026-03-05T12:00Z
1313
urls:
1414
reference: https://r-spatial.github.io/sf/reference
1515
article: https://r-spatial.github.io/sf/articles

reference/gdal_utils.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/gdal_utils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ st_read(in_file)
187187
#> Band 1 Block=20x20 Type=Byte, ColorInterp=Gray
188188
#> Computed Min/Max=74.000,255.000
189189
#> Reading layer `storms_xyz' from data source
190-
#> `/tmp/RtmpVx9ev0/file20bc6a8a11ac.gpkg' using driver `GPKG'
190+
#> `/tmp/RtmpR0WvDN/file20ff35c191ed.gpkg' using driver `GPKG'
191191
#> Simple feature collection with 71 features and 0 fields
192192
#> Geometry type: LINESTRING
193193
#> Dimension: XYZ

reference/geos_measures.html

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/geos_measures.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,15 @@ to modify the Earth radius.
9696

9797
st_length returns the length of a `LINESTRING` or `MULTILINESTRING`
9898
geometry, using the coordinate reference system. `POINT`, `MULTIPOINT`,
99-
`POLYGON` or `MULTIPOLYGON` geometries return zero.
99+
`POLYGON` or `MULTIPOLYGON` geometries return zero. If coordinates are
100+
geodetic (i.e., long/lat), great circle calculations are carried out on
101+
a spheroid (if
102+
[`sf_use_s2()`](https://r-spatial.github.io/sf/reference/s2.md) is
103+
`TRUE`) or an ellipsoid (if
104+
[`sf_use_s2()`](https://r-spatial.github.io/sf/reference/s2.md) is
105+
`FALSE`). For al other non-geodetic, projected coordinate systems,
106+
length calculations are planar, Euclidean distance calculations in the
107+
units of the coordinate system.
100108

101109
If `by_element` is `FALSE` `st_distance` returns a dense numeric matrix
102110
of dimension length(x) by length(y); otherwise it returns a numeric

reference/st_write.html

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/st_write.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ nc = st_read(system.file("shape/nc.shp", package="sf"))
162162
#> Geodetic CRS: NAD27
163163
st_write(nc, paste0(tempdir(), "/", "nc.shp"))
164164
#> Writing layer `nc' to data source
165-
#> `/tmp/RtmpVx9ev0/nc.shp' using driver `ESRI Shapefile'
165+
#> `/tmp/RtmpR0WvDN/nc.shp' using driver `ESRI Shapefile'
166166
#> Writing 100 features with 14 fields and geometry type Multi Polygon.
167167
st_write(nc, paste0(tempdir(), "/", "nc.shp"), delete_layer = TRUE) # overwrites
168168
#> Deleting layer `nc' using driver `ESRI Shapefile'
169169
#> Writing layer `nc' to data source
170-
#> `/tmp/RtmpVx9ev0/nc.shp' using driver `ESRI Shapefile'
170+
#> `/tmp/RtmpR0WvDN/nc.shp' using driver `ESRI Shapefile'
171171
#> Writing 100 features with 14 fields and geometry type Multi Polygon.
172172
if (require(sp, quietly = TRUE)) {
173173
data(meuse, package = "sp") # loads data.frame from sp
@@ -185,11 +185,11 @@ if (FALSE) { # \dontrun{
185185
try(st_write(nc, "PG:dbname=postgis", "sids", layer_options = "OVERWRITE=true"))
186186
} # }
187187
}
188-
#> Writing layer `meuse' to data source `/tmp/RtmpVx9ev0/meuse.csv' using driver `CSV'
188+
#> Writing layer `meuse' to data source `/tmp/RtmpR0WvDN/meuse.csv' using driver `CSV'
189189
#> options: GEOMETRY=AS_XY
190190
#> Writing 155 features with 12 fields and geometry type Point.
191-
#> Deleting source `/tmp/RtmpVx9ev0/meuse.csv' using driver `CSV'
192-
#> Writing layer `meuse' to data source `/tmp/RtmpVx9ev0/meuse.csv' using driver `CSV'
191+
#> Deleting source `/tmp/RtmpR0WvDN/meuse.csv' using driver `CSV'
192+
#> Writing layer `meuse' to data source `/tmp/RtmpR0WvDN/meuse.csv' using driver `CSV'
193193
#> options: GEOMETRY=AS_WKT
194194
#> Writing 155 features with 12 fields and geometry type Point.
195195
```

search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)