Recent Releases of osmdata
osmdata - osmdata 0.3.0
Breaking changes
- Remove
magrittrfrom imports. User code relaying on reexported pipe%>%fromosmdatamust explicitly load it withlibrary(magrittr). Code examples, tests and vignettes now use the pipe from base (|>) available since R 4.1 (#361) getbb(..., format_out = "polygon")return polygons following [https://www.ogc.org/standards/sfa/]. Polygons are defined by a list of matrices of coordinates. The first ring defines the exterior boundary, and the following rings define holes if present. Also fixgetbb(..., format_out = "sf_polygon")returning each (multi)polygon as a row in ansfobject. Before, every ring was an independent polygon, even for holes or multipolygons, and forformat_out = "sf_polygon", the features were split in a list with polygons in one item and multipolygons in another (#378).
Major changes
- Implemented
c.osmdata_scmethod to joinosmdata_scobjects (#333) - Depends on R >= 4.1 to use the base pipe (
|>) in examples and vignettes (#371) - Deprecate
nodes_onlyargument inopq(). Superseded by argumentosm_types(#370) - Deprecate
osmdata_sp(#372) - Pre-prend class names
osmdata_sfandosmdatarather than append; thanks to @agila5 (#373) - Add
osmadata_data.frameclass toosmdata_data_frame()results (#378) - Reimplement
trim_osmdata()usingsfinstead ofsp. Now, it checks the full geometry instead of just the points to determine if an object is properly contained in the bbox (only forosmdata_sfobjects,osdmata_scstill wrong) (#382).
Minor changes
- Improved
get_bb(..., format_out = "sf_polygon")to return full metadata along with geometries (#338 thanks to @RegularnaMatrica) - Mention key-only feature requests in README (#342 thanks to @joostschouppe)
- Merge any columns in
osmdata_sf()with mixed-case duplicated names (#348) - Set encoding to UTF-8 for tags and user names (#347)
- Document the use of the input query as character strings for
osmdata_*()(#349) - Consistent
NAvalues throughout all multi-* matrices returned byosmdata_sf()(#355) - Fix dates and remove
lubridatefrom imports (#360) - Restructure class definitions of
osmdata_sf()andosmdata_sc()objects (#373, #374) - Revert added
osmdataclass toosmdata_data_frame()andosmdata_sc()+ Fix docs to better represent classes accepted bytrim_osmdata(),osm_poly2line()and extract function (#380) - Use
terrafunctions instead ofraster(obsolete) inosm_elevation()(#383) - @jmaspons is the new maintainer (#384).
Scientific Software - Peer-reviewed
- R
Published by jmaspons 10 months ago
osmdata - CRAN version 0.2.5
0.2.5
Major changes
- v0.2.4 was removed without notice from CRAN because of #329; this is a rapid re-submission
0.2.4
Minor changes
- Bug fix to stop getbb call to Nominatim returning 405 error (#328)
Scientific Software - Peer-reviewed
- R
Published by mpadge almost 3 years ago
osmdata - CRAN version 0.2.3
Minor changes
- Fix failing test due to changes to 'sp' moving towards deprecation.
Scientific Software - Peer-reviewed
- R
Published by mpadge about 3 years ago
osmdata - CRAN v0.2.2
What's Changed
- Fix queries with !match_case and only one value by @jmaspons in https://github.com/ropensci/osmdata/pull/317
- Fix queries with multiple features and more than one osm_types by @jmaspons in https://github.com/ropensci/osmdata/pull/318
- Add lat and lon columns for
out * center;queries inosmdata_data_frameby @jmaspons in https://github.com/ropensci/osmdata/pull/316 - Add lat and lon columns for
[adiff ... out * center;queries inosmdata_data_frameby @jmaspons in https://github.com/ropensci/osmdata/pull/319 - Add parameters from
oqptoopq_osm_idby @jmaspons in https://github.com/ropensci/osmdata/pull/320 - Implement
out:csvqueries compatible with alloverpass_queriesby @jmaspons in https://github.com/ropensci/osmdata/pull/321 - Remove rows without hacks in mock files for test available_tags by @jmaspons in https://github.com/ropensci/osmdata/pull/324
- update 'postprocesstags' in 'test-features' to reduce mock file sizes by @mpadge in https://github.com/ropensci/osmdata/pull/323
Full Changelog: https://github.com/ropensci/osmdata/compare/v0.2.1...v0.2.2
Scientific Software - Peer-reviewed
- R
Published by jmaspons about 3 years ago
osmdata - CRAN v0.2.1
Major changes:
- Very soft deprecation of
nodes_onlyparameter inopq(#308, #312).
Minor changes
- Couple of minor memory leak bug fixes in
osmdata_data_frameC++ code.
Scientific Software - Peer-reviewed
- R
Published by mpadge over 3 years ago
osmdata - CRAN version 0.2.0
This release welcomes a new package author @jmaspons. The lists of changes here gives an overview of the amazing work he has contributed to this new major version.
Major changes:
- New
osmdata_data_frame()function to return non-spatialdata.framestructures directly from overpass; thanks to @jmaspons (#285). - Improved
add_osm_featuresso that key-values pairs can be submitted as a list, rather than escape-delimited character strings; thanks to @elipousson (#277, #278). opq()can now utilise overpass ability to filter results by area; thanks to @jmaspons (#286).opq()now has additional "out" parameter to control the kinds of data returned by overpass; thanks to @jmaspons (#288).opq()now has additional "osm_types" parameter to provide finer control of which kinds of data are returned by overpass; thanks to @jmaspons (#295).spdependency moved to suggested and added missing osmdata_* functions to docs; by @jmaspons & @mpadge (#302)- Fix key modifications for non-valid column names and handle duplicated column names in
osmdata_*functions; by @jmaspons (#303) - @elipousson is new package contributor, thanks to the above work.
- @jmaspons is new package author, thanks to #285 (plus most of the above, and a whole lot more!)
Minor changes:
- Downgraded
spfrom "Imports" to "Suggests"; thanks to @jmaspons (#302) - Improved
osm_osm_id()to accept vectors of ids and types; thanks to @jmaspons (#268, #282, #283) - "get-osmdata.R" file now split into several smaller and more manageable files (#306, thanks to @jmaspons)
Scientific Software - Peer-reviewed
- R
Published by mpadge over 3 years ago
osmdata - CRAN version 0.1.10
Major changes:
- Changed httr dependency for httr2 (#272)
- Removed two authors of code formerly including for stubbing results; which is now done via
httptest2package.
Minor changes:
- Moved jsonlite from Imports to Suggests (now only used in tests).
Scientific Software - Peer-reviewed
- R
Published by mpadge about 4 years ago
osmdata - CRAN version 0.1.9
Major changes:
- New function
opq_aroundto query features within a specified radius around a defined location; thanks to @barryrowlingson via #199 and @maellecoursonnais via #238 - New vignette on splitting large queries thanks to @Machin6 (via #262)
Minor changes:
- New dependency on
reprojpackage, so thattrim_osmdata()can be applied to re-projected coordinates.
Scientific Software - Peer-reviewed
- R
Published by mpadge over 4 years ago
osmdata - features no feature
Minor changes:
add_osm_featurebug fix to revert AND behaviour (#240 thanks to @anthonynorth)
Scientific Software - Peer-reviewed
- R
Published by mpadge over 4 years ago
osmdata - CRAN version 0.1.6
0.1.6
Major changes:
- New function
add_osm_featuresto enable OR-combinations of features in single queries.
Scientific Software - Peer-reviewed
- R
Published by mpadge almost 5 years ago
osmdata - CRAN release v0.1.5
Minor changes:
- Bug fix in
getbb()via #232, thanks to @changwoo-lee - hard-code WKT string for EPSG:4326, to avoid obsolete proj4strings (#218)
Scientific Software - Peer-reviewed
- R
Published by mpadge about 5 years ago
osmdata - CRAN release 0.1.4
Version 0.1.4
Major changes:
- New
osm_enclosing()function; thanks to @barryrowlingson via #199 opq()now has additionaldatetimeanddatetime2parameters 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_onlyparameter 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!
Scientific Software - Peer-reviewed
- R
Published by mpadge over 5 years ago
osmdata - CRAN Version 0.1.3
Major changes:
osmdata_pbffunction 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
Scientific Software - Peer-reviewed
- R
Published by mpadge over 6 years ago
osmdata - CRAN version 0.1.2
Major changes:
- New function unname_osmdata_sf, to remove row names from sf-format
geometry objects that may cause issues with some plotting routines such as
leaflet.
Minor changes:
- getbb now allows arbitrary featuretype specification, no longer just
those pertaining to settlement forms.
- availabletags returns tags with underscore precisely as required for
`addosmfeature- previous version returned text values with spaces instead
of underscore.
- Fix bug inosmdatasffor data with no names and/or no key-val pairs
- Fix bug intrimosmdatafor multi* objects; thanks to @stragu
- Impelementtrimosmdata.sc` method
- retry httr calls to nominatim, which has lately been timing out quite often
Scientific Software - Peer-reviewed
- R
Published by mpadge over 6 years ago
osmdata - CRAN version 0.1.1
Minor changes:
- bug fix in trim_osmdata function
Scientific Software - Peer-reviewed
- R
Published by mpadge about 7 years ago
osmdata - CRAN Version 0.1.0
Major changes:
- New function,
osm_elevationto insert elevation data intoSC-format data returned byosmdata_scfunction. - New vignette on
osmdata_scfunction and elevation data. opq()function now accepts polygonal bounding boxes generated withgetbb(..., format_out = "polygon").
Scientific Software - Peer-reviewed
- R
Published by mpadge about 7 years ago
osmdata - 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 have stringsAsFactors = FALSE
Scientific Software - Peer-reviewed
- R
Published by mpadge about 7 years ago
osmdata - CRAN v0.0.9
Major changes:
- New function osmdata_sc to return data in silicate::SC format (see github.com/hypertidy/silicate; this also requires additional dependency on tibble)
- 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.
- addosmfeature() 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/OverpassAPI#PublicOverpassAPIinstances), thanks to @JimShady.
- bug fix for osmdatasp() (see #56)
- `osmdatasp()fixed to returnosm_id` values (see #131; thanks @JimShady).
Scientific Software - Peer-reviewed
- R
Published by mpadge over 7 years ago
osmdata - v0.0.8
- Fix bug in
trim_osmdataso that all sf attributes are reinstated, and also issue message thatsf-preload is necessary for this function - Fix bug with
opq (key_exact = FALSE)sovalue_exactis always also set toFALSE
Scientific Software - Peer-reviewed
- R
Published by mpadge over 7 years ago
osmdata - v0.0.6
- Add new function 'osmpoly2line()' to coerce the 'osmdata$odmpolygons' object for 'osmdatasf' objects to lines, and append to 'osmdata$osmlnes'. This is important for street networks ('addosmobjects (key = "highway")'), which are otherwise separated between these two components.
- Add new function opqosmid to query by OSM identifier alone
See NEWS for other minor changes
Scientific Software - Peer-reviewed
- R
Published by mpadge over 8 years ago
osmdata - v0.0.5
Bounding polygons can now be extracted with getbb(.., format_out = "polygon"), and maps trimmed to polygons with trim_osmdata(). Function unique_osmdata() also added, and add_feature() renamed add_osm_feature()
Scientific Software - Peer-reviewed
- R
Published by mpadge almost 9 years ago
osmdata - v0.0.2
This release finally solves a few remaining problems on some of the CRAN windows machines that don't have any impact on functionality.
Only change to functionality:
Function opq_to_string() renamed to opq_string()
Scientific Software - Peer-reviewed
- R
Published by mpadge about 9 years ago