limit values and empty
structured address searches.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).Updated endpoints for Nominatim 4.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 allows nominatimlite to 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 address searches.
The nominatimlite::osm_amenities dataset 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() gained a progressbar argument 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 was removed.Suggests.dplyr::tibble().sf objects are now returned as tibbles for easier printing in
the console.sf objects now handle nested fields provided in the JSON response, such as
the nested address field, consistently with non-spatial functions.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() function.nominatim_check_access() function.strict argument to geo_amenity() and geo_amenity_sf().polygon argument to points_only (#8, thanks to @jlacko).