Skip to content

Latest commit

 

History

History
118 lines (80 loc) · 3.69 KB

NEWS.md

File metadata and controls

118 lines (80 loc) · 3.69 KB

nominatimlite 0.4.2

  • Update documentation.

nominatimlite 0.4.1

  • Fix input validation in geo_address_lookup() and geo_address_lookup_sf() that crashes the function if the OSM ID is too long (#47 reported by @lshydro).

nominatimlite 0.4.0

  • New functions:

    • geo_lite_struct() and geo_lite_struct_sf() for performing structured queries.
    • Bring back geo_amenity() and geo_amenity_sf() as a wrapper of geo_lite_struct() / geo_lite_struct_sf(), so now are more robust and compatible with sf objects.
  • Improve unnesting of fields when requiring extratags, i.e. custom_query = list(extratags = TRUE).

  • It is possible to use nominatimlite with local server thanks to the new argument nominatim_server (#42 @alexwhitedatamine).

  • Adapt endpoints to Nominatim v4.4.0 [Python-only].

  • nominatimlite::osm_amenities data set re-introduced, updated and with additional description fields.

  • API call for non-spatial function uses now JSONV2 format (&format=jsonv2). This implies the following changes in the output:

    • class renamed to category.
    • additional field place_rank with the search rank of the object.
  • custom_query argument can use vectors and logical:

    geo_lite(address = "New York",
             custom_query = list(addressdetails = TRUE,
                                 viewbox = c(-60, -20, 60, 20))
             )

nominatimlite 0.3.0

  • Add a progressbar parameter to geo_lite(), geo_lite_sf(), reverse_geo_lite() and reverse_geo_lite_sf() to display progress in the console.

Deprecated

  • geo_amenity() and geo_amenity_sf(), see Nominatim/issues/1311. Use arcgeocoder::arc_geo_categories() as an alternative.
  • nominatimlite::osm_amenities data set deleted.

nominatimlite 0.2.1

  • Remove osmdata from Suggests.
  • Fix examples.

nominatimlite 0.2.0

  • rlang and tibble are not explicitly required. Conversions to tibble happens with dplyr::tibble().
  • The data attributes of sf objects are returned now as tibble, for easy printing in console.
  • Improvements in code and tests.
  • Now sf objects can handle correctly nested fields provided in the json response (for example, the nested address field provided by the API). This is consistent also with the results provided by the non-spatial functions, were unnesting was already handled correctly.
  • Improvements on the output of reverse_geo_lite() and reverse_geo_lite_sf() when the API returns nested lists.

nominatimlite 0.1.6

  • Improve results when there is no response of the API.

nominatimlite 0.1.5

  • Avoid de-duplication on results.

nominatimlite 0.1.4

  • Fix issues with geo_amenity() and geo_amenity_sf().

nominatimlite 0.1.3

  • Skip API query tests on CRAN to avoid false positives.
  • Centralize API queries on (internal) function api_call().
  • Queries fully honors now the Nominatim Usage Policy. Queries may be slower now.

nominatimlite 0.1.2

  • New internal: nominatim_check_access().
  • Adapt tests to testthat v3.1.0.

nominatimlite 0.1.1

  • Adapt tests to CRAN checks.

nominatimlite 0.1.0

  • CRAN release.
  • Adjust query rate limits to Nominatim policy.
  • New strict argument on geo_amenity() and geo_amenity_sf().
  • Parameter polygon changed to points_only (#8) thanks to @jlacko.
  • Package now falls gracefully if url not reachable.

nominatimlite 0.0.1

  • Initial version of the package