nominatimlite 0.4.0
-
New functions:
geo_lite_struct()
andgeo_lite_struct_sf()
for performing structured
queries.- Bring back
geo_amenity()
andgeo_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
argumentnominatim_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 tocategory
.- additional field
place_rank
with the search rank of the object.
-
custom_query
argument can use vectors andlogical
:geo_lite(address = "New York", custom_query = list(addressdetails = TRUE, viewbox = c(-60, -20, 60, 20)) )
What's Changed
- Support local Nominatim servers by @alexwhitedatamine in #42
- Include local support and add tests by @dieghernan in #43
- Add structured query api by @dieghernan in #45
New Contributors
- @alexwhitedatamine made their first contribution in #42
Full Changelog: v0.3.0...v0.4.0