Documentation menu

← Zoning

API reference

Retrieve a zoning tile

GET/v1/zoning/tile/{z}/{x}/{y}

The adopted zoning classifications in one map tile, as a Mapbox vector tile.

The tile has one layer, zoning. Each feature is a classification's boundary with five properties: id, code, kind, name and category, the publisher's grouping. A classification with no published name or grouping has no such property.

Boundaries are simplified to the tile's resolution. Tiles exist at zooms 10 to 16. Draw closer zooms from the zoom 16 tile. A tile holds at most 10,000 classifications.

Tiles cost no credits. Each counts toward the plan's map tiles for the month.

Parameters

path

zrequiredinteger
Zoom level. Can range between 10 and 16.
xrequiredinteger
Tile column at zoom z, counted from the west.
yrequiredinteger
Tile row at zoom z, counted from the north.

Responses

200
string
A Mapbox vector tile.
401
ProblemDetail
credential_missing, credential_invalid or credential_expired. The request has no valid credential.
403
ProblemDetail
scope_missing, person_required, api_key_not_accepted or entitlement_missing. The credential or plan does not allow this request. detail names the reason.
404
ProblemDetail
no_such_resource. No object has that id.
422
ProblemDetail
parameter_invalid, id_malformed or a cursor code. A parameter is missing or invalid. errors lists each one.
429
ProblemDetail
rate_limited. The plan's map tiles for this month are used up.
501
ProblemDetail
not_available. Zoning data is not available yet.

Example request

curl -X GET 'https://api.placestack.com/v1/zoning/tile/13/1706/3109' \
  -H "Authorization: Bearer $PLACESTACK_API_KEY"

The rest of zoning.

Next

GET /application

Search applications