tangled
alpha
login
or
join now
mpadge.tngl.sh
/
osmdata
0
fork
atom
R package for downloading OpenStreetMap data
0
fork
atom
overview
issues
pulls
pipelines
fix terra reading of elevation files to close #389
mpadge.tngl.sh
6 months ago
eff36a50
e2189370
+7
-3
4 changed files
expand all
collapse all
unified
split
DESCRIPTION
NEWS.md
R
elevation.R
codemeta.json
+1
-1
DESCRIPTION
···
1
1
Package: osmdata
2
2
Title: Import 'OpenStreetMap' Data as Simple Features or Spatial Objects
3
3
-
Version: 0.3.0.9001
3
3
+
Version: 0.3.0.9002
4
4
Authors@R: c(
5
5
person("Joan", "Maspons", , "joanmaspons@gmail.com", role = c("aut", "cre"),
6
6
comment = c(ORCID = "0000-0003-2286-8727")),
+4
NEWS.md
···
1
1
# osmdata (development version)
2
2
3
3
+
## Minor changes
4
4
+
5
5
+
- Fixed `osm_elevation()` function after raster -> terra upgrade (#389; thanks to @Aloniss)
6
6
+
3
7
# osmdata 0.3.0
4
8
5
9
## Breaking changes
+1
-1
R/elevation.R
···
43
43
r <- terra::rast (elev_file)
44
44
check_bbox (dat, r)
45
45
46
46
-
z <- terra::extract (r, dat$vertex [, 1:2])
46
46
+
z <- terra::extract (r, dat$vertex [, 1:2], ID = FALSE, raw = TRUE)
47
47
dat$vertex$z_ <- as.double (z)
48
48
dat$vertex <- dat$vertex [, c ("x_", "y_", "z_", "vertex_")]
49
49
+1
-1
codemeta.json
···
11
11
"codeRepository": "https://github.com/ropensci/osmdata",
12
12
"issueTracker": "https://github.com/ropensci/osmdata/issues",
13
13
"license": "https://spdx.org/licenses/GPL-3.0",
14
14
-
"version": "0.3.0.9001",
14
14
+
"version": "0.3.0.9002",
15
15
"programmingLanguage": {
16
16
"@type": "ComputerLanguage",
17
17
"name": "R",