Provides an interface to 'Mapzen'-based APIs (including geocode.earth, Nextzen, and NYC GeoSearch) for geographic search and geocoding, isochrone calculation, and vector data to draw map tiles. See < https://mapzen.com/documentation/> for more information. The original Mapzen has gone out of business, but 'rmapzen' can be set up to work with any provider who implements the Mapzen API.
NOTE: Mapzen has shut down. However, the rmapzen package can be used with other PELIAS providers. The specific hosting service can be set up with
mz_set_host. For known providers,
rmapzen includes pre-configured API set up functions:
mz_set_search_host_geocode.earthto set up geocode.earth as a search (includes geocoding, autocomplete, etc) provider
mz_set_search_host_nyc_geosearch()to set up GeoSearch from NYC Planning Labs (currently in beta) as a search provider.
mz_set_tile_host_nextzento set up Nextzen as a vector tile provider
If you know of an API that uses PELIAS that is not included here, let me know.
For more information about the Mapzen API, see https://mapzen.com/documentation/.
mz_geocode_structuredfor geocoding structured address data
as_spmethods for vector tile data, previous versions used functions that are no longer exported from the
sfpackage (as of version 0.6-2)
?mz_set_hostfor how to set up a specific API provider. Thanks to @dpprdan for the initial update.
mz_rectfor directly creating a bounding box
...argument to pass height/width/zoom specifications to
mz_bbox()method for vector tiles
NEWS.mdfile to track changes to the package.