limit messages and empty
structured query messages.tempdir() during the current session to reduce load
on the service.geo_address_lookup() and geo_address_lookup_sf() now validate long OSM IDs
without crashing (#47, reported by @lshydro).Adapt endpoints to Nominatim v4.4.0 [Python-only].
API calls for non-spatial functions now use JSONV2 format (&format=jsonv2),
so class is renamed to category and place_rank is added with the search
rank of the object.
The custom_query argument now supports vectors and logical values:
geo_lite(address = "New York",
custom_query = list(addressdetails = TRUE,
viewbox = c(-60, -20, 60, 20))
)
The nominatim_server argument lets nominatimlite use a local server
(#42, @alexwhitedatamine).
geo_amenity() and geo_amenity_sf() are back as wrappers of
geo_lite_struct() and geo_lite_struct_sf(), making them more robust and
compatible with sf objects.
geo_lite_struct() and geo_lite_struct_sf() are new functions for
structured queries.
nominatimlite::osm_amenities has been reintroduced with updated data and
additional description fields.
Unnesting fields requested with custom_query = list(extratags = TRUE) is
improved.
geo_lite(), geo_lite_sf(), reverse_geo_lite() and
reverse_geo_lite_sf() gain a progressbar parameter to display progress in
the console.geo_amenity() and geo_amenity_sf(), see
Nominatim/issues/1311.
Use arcgeocoder::arc_geo_categories() as an alternative.nominatimlite::osm_amenities dataset deleted.dplyr::tibble().reverse_geo_lite() and reverse_geo_lite_sf() output is improved when the
API returns nested lists.geo_amenity() and geo_amenity_sf().api_call().nominatim_check_access().v3.1.0.strict argument on geo_amenity() and geo_amenity_sf().polygon changed to points_only (#8) thanks to @jlacko.