Releases: ropensci/osmdata
Releases · ropensci/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).
CRAN version 0.2.5
CRAN version 0.2.3
Minor changes
- Fix failing test due to changes to 'sp' moving towards deprecation.
CRAN v0.2.2
What's Changed
- Fix queries with !match_case and only one value by @jmaspons in #317
- Fix queries with multiple features and more than one osm_types by @jmaspons in #318
- Add lat and lon columns for
out * center;queries inosmdata_data_frameby @jmaspons in #316 - Add lat and lon columns for
[adiff ... out * center;queries inosmdata_data_frameby @jmaspons in #319 - Add parameters from
oqptoopq_osm_idby @jmaspons in #320 - Implement
out:csvqueries compatible with alloverpass_queriesby @jmaspons in #321 - Remove rows without hacks in mock files for test available_tags by @jmaspons in #324
- update 'post_process_tags' in 'test-features' to reduce mock file sizes by @mpadge in #323
Full Changelog: v0.2.1...v0.2.2
CRAN v0.2.1
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:
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).
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.
features no feature
Minor changes:
add_osm_featurebug fix to revert AND behaviour (#240 thanks to @anthonynorth)
CRAN version 0.1.6
0.1.6
Major changes:
- New function
add_osm_featuresto enable OR-combinations of features in
single queries.