NEWS
osmapiR 0.2.4.9000
osmapiR 0.2.4 (2025-08-18)
- Fix for upcoming httr2 1.2.0 release (#67 by @hadley).
- Update documentation and code for server-side changes documented in OSMWikiVersion
2834473 -> 2878437 (#69).
- Add
format = "json" for osm_get_gpx_metadata().
- New default for
osm_search_notes() to sort = "created_at" instead of sort = "updated_at".
- Rename internal functions for API endpoints from
osm_* to .osm_* (#70).
osmapiR 0.2.3 (2025-04-15)
- Update documentation and code for server-side changes documented in OSMWikiVersion
2775892 -> 2834473 (#63).
- Update deprecated endpoints
- Add new functions
osm_subscribe_note() and osm_unsubscribe_note().
- Add new functions
osm_create_user_block(), osm_read_user_block() and osm_list_active_user_blocks().
- Vectorized version of
osm_read_user_block() -> osm_get_user_blocks() (#65).
osmapiR 0.2.2 (2024-11-18)
- Use the new function
httr2::oauth_cache_clear() from httr2 1.0.6 (#58 by @hadley).
- Update documentation and code for server-side changes documented in OSMWikiVersion
2711808 -> 2775892 (#60).
- Add new parameters to
osm_query_changesets(..., from, to).
- Fix
osm_query_changesets(..., time, time_2) (#61).
osmapiR 0.2.1 (2024-09-05)
osmapiR 0.2.0
(published at https://doi.org/10.5281/zenodo.13627998)
New features
- Add
format = "sf" for functions returning objects of class osmapi_map_notes (#36).
- Add
format = "sf" for functions returning objects of class osmapi_changesets (#37).
- Add
format = "sf" for osm_get_gpx_metadata() (#38).
- Add
format = "sf" for osm_list_gpxs() (#42).
- Add
format = "sf" for functions returning objects of class osmapi_gps_track (#44).
- Add
format = "sf" for functions returning objects of class osmapi_gpx (#45).
- Set encoding to UTF-8 for tags and user names in returned data.frames (#54).
- Parse
<TrackPointExtension> data from gpx if available (#49).
Minor improvements
- Upgrade logo by @atarom.
- Add inst/CITATION.
- Updated links to the new osmapiR home at rOpenSci (#40).
- Split functions to parse gpx data from different API endpoints and different properties (#43).
- Implement NA bboxes in
st_as_sf.osmapi_chagesets() (7ea4f5d7).
- Remove dontrun in examples that don't require authentication (#47).
- Improve performance when parsing gpx data to data.frame (#48).
- Tweaks in DESCRIPTION and CITATION files by @Maelle (#50, #51).
- Sort OSM objects in
osm_get_objects(..., full_objects = TRUE) and optimize (#52).
Bug fixes
- Improve tests and fix bugs (#35, 08fb4b1).
- Fix miscalculation of the nchar_url that trigger errors when many ids are requested in
osm_fetch_objects().
- Fix changesets' bbox in
st_as_sf.osmapi_chagesets() (84f16e7a).
osmapiR 0.1.0 (2024-06-28)
- Initial CRAN submission implementing calls to all the API endpoints.
- Server responses are returned as R objects, xml_documents or json lists.
- Authentication when needed with OAuth2.
- Pagination in server responses handled internally (#20, #23 & #29).
- Vectorization of atomic API calls (#18).