Townships Tiles
Vector tiles for PLSS (Public Land Survey System) township boundaries and labels. Townships are the primary subdivision of the PLSS grid, typically 6 miles square.
Endpoint
GET
https://api.landmapmagic.com/v1/tiles/townships/{z}/{x}/{y}.mvtReturns a Mapbox Vector Tile containing township polygon geometries and label points. Zoom range: 0 – 14.
URL Parameters
Parameters
| Name | Type | Description |
|---|---|---|
| z* | number | Zoom level (0-14). |
| x* | number | Tile X coordinate. |
| y* | number | Tile Y coordinate. |
| key* | string | Your API key. |
Source Layers
Source Layers
townshipsTownship polygon boundaries.z0-14townships_labelsTownship label points (centroids).z0-14Attributes
Available Attributes
| Attribute | Type | Description |
|---|---|---|
| township_id | string | Unique township identifier. |
| township_name | string | PLSS township designation (e.g. "T83N R24W"). |
| display_name | string | Human-readable display name for the township. |
| friendly_name | string | Enriched name from Minor Civil Division (MCD) data when available. |
| state_name | string | Full name of the state containing this township. |
| type | string | Feature type classification (e.g. "township"). |
| feature_id | string | BLM (Bureau of Land Management) feature identifier. |
Code Examples
curl
curl "https://api.landmapmagic.com/v1/tiles/townships/10/210/380.mvt?key=YOUR_API_KEY" \
--output tile.mvtJavaScript
const response = await fetch(
"https://api.landmapmagic.com/v1/tiles/townships/10/210/380.mvt?key=YOUR_API_KEY"
);
const data = await response.arrayBuffer();
console.log("Tile size:", data.byteLength, "bytes");Python
import requests
response = requests.get(
"https://api.landmapmagic.com/v1/tiles/townships/10/210/380.mvt",
params={"key": "YOUR_API_KEY"}
)
print(f"Status: {response.status_code}, Size: {len(response.content)} bytes")Response
Response Headers
HTTP/1.1 200 OK
Content-Type: application/vnd.mapbox-vector-tile
Content-Encoding: gzip
Cache-Control: public, max-age=86400The response body is a binary MVT protobuf. Empty tiles return HTTP 204 with no body.
Township boundaries are enriched with Minor Civil Division (MCD) names from the US Census Bureau where available. The
friendly_nameattribute provides the local MCD name (e.g. "Lincoln Township") in addition to the standard PLSS designation. PLSS data is sourced from the BLM National PLSS dataset and covers the 30 western and midwestern PLSS states.