Releases: dieghernan/nominatimlite
nominatimlite 0.4.2
- Update documentation.
Full Changelog: v0.4.1...v0.4.2
nominatimlite 0.4.1
- Fix input validation in
geo_address_lookup()
andgeo_address_lookup_sf()
that crashes the function if the OSM ID is too long (#47 reported by
@lshydro).
What's Changed
- Don't convert OSM IDs to integer by @dieghernan in #48
Full Changelog: v0.4.0...v0.4.1
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
nominatimlite 0.3.0
- Add a
progressbar
parameter togeo_lite()
,geo_lite_sf()
,
reverse_geo_lite()
andreverse_geo_lite_sf()
to display progress in the
console.
Deprecated
geo_amenity()
andgeo_amenity_sf()
, see
Nominatim/issues/1311.
Usearcgeocoder::arc_geo_categories()
as an alternative.nominatimlite::osm_amenities
data set deleted.
nominatimlite 0.2.1
nominatimlite 0.2.0
- rlang and tibble are not explicitly required. Conversions to tibble
happens withdplyr::tibble()
. - The data attributes of
sf
objects are returned now astibble
, 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.
What's Changed
- Bump actions/checkout from 2 to 3 by @dependabot in #21
- Review code and fix deprecations by @dieghernan in #22
New Contributors
- @dependabot made their first contribution in #21
Full Changelog: v0.1.6...v0.2.0
nominatimlite 0.1.6
- Improve results when there is no response of the API.
nominatimlite 0.1.5
- Avoid de-duplication on results.
What's Changed
- Fix issue when a duplicate parameter is provided by @dieghernan in #18
Full Changelog: v0.1.4...v0.1.5
nominatimlite 0.1.4
- Fix issues with
geo_amenity()
andgeo_amenity_sf()
.
Full Changelog: v0.1.3...v0.1.4
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.
What's Changed
Full Changelog: v0.1.2...v0.1.3