Changelog
Source:NEWS.md
nominatimlite 0.4.1
CRAN release: 2024-07-19
- 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).
nominatimlite 0.4.0
CRAN release: 2024-05-27
-
New functions:
-
geo_lite_struct()
andgeo_lite_struct_sf()
for performing structured queries. - Bring back
geo_amenity()
andgeo_amenity_sf()
as a wrapper ofgeo_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 tocategory
. - additional field
place_rank
with the search rank of the object.
-
-
custom_query
argument can use vectors andlogical
:
nominatimlite 0.3.0
CRAN release: 2024-03-01
- 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.0
CRAN release: 2023-05-11
-
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()
andreverse_geo_lite_sf()
when the API returns nested lists.
nominatimlite 0.1.3
CRAN release: 2021-10-21
- 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
CRAN release: 2021-10-07
- New internal:
nominatim_check_access()
. - Adapt tests to testthat
v3.1.0
.
nominatimlite 0.1.0
CRAN release: 2021-09-16
- CRAN release.
- Adjust query rate limits to Nominatim policy.
- New
strict
argument ongeo_amenity()
andgeo_amenity_sf()
. - Parameter
polygon
changed topoints_only
(#8) thanks to @jlacko. - Package now falls gracefully if url not reachable.