Releases: ropensci/osmdata
Releases · ropensci/osmdata
CRAN release 0.1.4
Version 0.1.4
Major changes:
- New
osm_enclosing()
function; thanks to @barryrowlingson via #199 opq()
now has additionaldatetime
anddatetime2
parameters which can be used to extract historical data prior todatetime
, or differences between two datetimes by specifyingdatetime2
; thanks to @neogeomat for the idea in issue#179.- opq() also has additional
nodes_only
parameter to return nodes as points only, for efficient extraction of strictly point-based OSM data; thanks to @gdkrmr for the idea in issue#221.
Minor changes:
- New contributor Enrico Spinielli (@espinielli), via #207, #210, #211, #212 - Thanks!
CRAN Version 0.1.3
Major changes:
osmdata_pbf
function removed as the overpass server no longer provides the experimental API for pbf-format data.- Remove deprecated
add_feature()
function; entirely replaced byadd_osm_feature()
. get_bb()
with polygon output formats now returns ALL polygon and multipolygon objects by default (issue#195)
Minor changes:
- New Contributors: Andrea Gilardi (@agila5)
- Bug fix for issue#205
CRAN version 0.1.2
Major changes:
- New function
unname_osmdata_sf
, to remove row names fromsf
-format
geometry objects that may cause issues with some plotting routines such as
leaflet.
Minor changes:
getbb
now allows arbitraryfeaturetype
specification, no longer just
those pertaining to settlement forms.- available_tags returns tags with underscore precisely as required for
add_osm_feature
- previous version returned text values with spaces instead
of underscore. - Fix bug in
osmdata_sf
for data with no names and/or no key-val pairs - Fix bug in
trim_osmdata
for multi* objects; thanks to @stragu - Impelement
trim_osmdata.sc
method - retry httr calls to nominatim, which has lately been timing out quite often
CRAN version 0.1.1
Minor changes:
- bug fix in
trim_osmdata
function
CRAN Version 0.1.0
Major changes:
- New function,
osm_elevation
to insert elevation data intoSC
-format data
returned byosmdata_sc
function. - New vignette on
osmdata_sc
function and elevation data. opq()
function now accepts polygonal bounding boxes generated with
getbb(..., format_out = "polygon")
.
CRAN version 0.0.10
Minor changes:
- Bux fix for vectorized lists of values in
add_osm_feature
, so only listed items are returns (see #139; thanks @loreabad6) - But fix to ensure all
sf
data.frame
objects havestringsAsFactors = FALSE
CRAN v0.0.9
Major changes:
- New function
osmdata_sc
to return data insilicate::SC
format (see github.com/hypertidy/silicate; this also requires additional dependency ontibble
) - Structure of
osmdata
object modified to replace former$timestamp
field with$meta
field containing a list of$timestamp
,$OSM_version
(currently 0.6), and$overpass_version
. - add_osm_feature() now accepts vectors of multiple values (see #139).
- osmdata_sf() objects default to character vectors, not factors (see #44).
Minor changes:
- vignette updated
- Overpass URL now randomly selected from the four primary servers (see https://wiki.openstreetmap.org/wiki/Overpass_API#Public_Overpass_API_instances), thanks to @JimShady.
- bug fix for osmdata_sp() (see #56)
osmdata_sp()
fixed to returnosm_id
values (see #131; thanks @JimShady).
v0.0.8
v0.0.0.7
v0.0.6
- Add new function 'osm_poly2line()' to coerce the 'osmdata$odm_polygons' object for 'osmdata_sf' objects to lines, and append to 'osmdata$osm_lnes'. This is important for street networks ('add_osm_objects (key = "highway")'), which are otherwise separated between these two components.
- Add new function opq_osm_id to query by OSM identifier alone
See NEWS for other minor changes