Skip to content

Commit 8159171

Browse files
committed
rm native pipes from 'add-osm_surface'
didn't mean to put those there
1 parent 7087d3e commit 8159171

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: osmplotr
22
Title: Bespoke Images of 'OpenStreetMap' Data
3-
Version: 0.3.5.031
3+
Version: 0.3.5.032
44
Authors@R:
55
c(person(given = "Mark",
66
family = "Padgham",

‎R/add-osm-surface.R‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,11 @@ list2df_with_data <- function (map, obj, obj_type, xy_mn, dat, bg,
290290
}
291291
if (!missing (bg)) {
292292

293-
xy <- cbind (as.numeric (xyz$x), as.numeric (xyz$y)) |>
294-
sfheaders::sf_point () |>
295-
sf::st_sf (crs = 4326) |>
296-
reproj_equal_area ()
293+
xy <- cbind (as.numeric (xyz$x), as.numeric (xyz$y))
294+
xy <- sfheaders::sf_point (xy)
295+
xy <- sf::st_sf (xy, crs = 4326)
296+
xy <- reproj_equal_area (xy)
297+
297298
bdry <- sf::st_convex_hull (sf::st_combine (xy))
298299
indx <- vapply (
299300
sf::st_within (xy, bdry), function (i) {

‎codemeta.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/ropensci/osmplotr",
99
"issueTracker": "https://github.com/ropensci/osmplotr/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "0.3.5.031",
11+
"version": "0.3.5.032",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

0 commit comments

Comments
 (0)