Skip to content

Releases: ropensci/osmapiR

osmapiR 0.2.5

Choose a tag to compare

@jmaspons jmaspons released this 15 Feb 22:07
  • Update documentation and code for server-side changes documented in OSMWikiVersion
    2878437 -> 2940426 (#72).
    • Add new function osm_search_comment_changeset_discussion().
  • bbox parameters now accepts more formats, including character, matrix, vector, bbox object from sf package, or a
    SpatExtent from terra package (#73).

osmapiR 0.2.4

Choose a tag to compare

@jmaspons jmaspons released this 18 Aug 11:23
  • 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

Choose a tag to compare

@jmaspons jmaspons released this 15 Apr 10:42
  • 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

Choose a tag to compare

@jmaspons jmaspons released this 18 Nov 11:25
  • 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

Choose a tag to compare

@jmaspons jmaspons released this 05 Sep 20:36

v0.2.0

Choose a tag to compare

@jmaspons jmaspons released this 04 Sep 14:58
2c21a36

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

Choose a tag to compare

@jmaspons jmaspons released this 28 Jun 15:02
  • 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).