Client for 'Mapzen' and Related Map APIs

Provides an interface to 'Mapzen'-based APIs (including, Nextzen, and NYC GeoSearch) for geographic search and geocoding, isochrone calculation, and vector data to draw map tiles. See <> 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.



rmapzen is a client for the Mapzen API. For an introduction, detailed examples, and installation instructions, see:

For more information about the Mapzen API, see


rmapzen 0.3.3

  • Added additional documentation and updated DESCRIPTION

rmapzen 0.3.2

  • Added ability to convert to sf
  • All objects returned from the Mapzen API now include the header from the response as an attribute called "header"
  • conversion functions now error on empty inputs (e.g. a search with 0 results)
  • request functions are no longer rate-limited, because Mapzen's service has been updated and only has monthly (not per-second or per-minute) limits

rmapzen 0.3.1

  • Added support for structured geocoding
  • Simple print methods for vector tiles and individual vector tile layers


  • new function mz_rect for directly creating a bounding box
  • mz_vector_tiles gained a ... argument to pass height/width/zoom specifications to as.mz_tile_coordinates.


  • Included tracking of vector tile service to mz_check_usage()
  • Added mz_bbox() method for vector tiles
  • Bugfix on converting vector tiles to Spatial* - re-calculate IDs (to avoid issue where features with the same ID on separate tiles got messed up when stitching tiles) and merge polygons (so polygons spanning multiple tiles don't appear as multiple polygons when tiles are stitched).
  • Added example data from each of the three services: oakland_public (mz_search), marina_walks (mz_isochrone), ca_tiles (mz_vector_tiles)


  • Added a file to track changes to the package.
  • Added support for vector tile service, see ?mz_vector_tiles

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.5 by Tarak Shah, 3 months ago

Report a bug at

Browse source code at

Authors: Tarak Shah [aut, cre], Daniel Possenriede [ctb]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports tibble, httr, jsonlite, maps, dplyr, assertthat, geojsonio, tidyr, purrr, sp, rgdal, digest, maptools, sf

Suggests testthat, covr

See at CRAN