Loading documentation...
Retrieve the GeoJSON polygon boundary for a specific PLSS section identified by section number, township, and range.
https://api.landmapmagic.com/api/plss/section| Name | Type | Description |
|---|---|---|
| section* | string | Section number, 1 through 36. |
| township* | string | Township designation without the "T" prefix (e.g. "84N"). |
| range* | string | Range designation without the "R" prefix (e.g. "23W"). |
curl -G "https://api.landmapmagic.com/api/plss/section" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "section=4" \
--data-urlencode "township=84N" \
--data-urlencode "range=24W"const params = new URLSearchParams({
section: "4",
township: "84N",
range: "24W",
});
const response = await fetch(
`https://api.landmapmagic.com/api/plss/section?${params}`,
{
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
}
);
const geojson = await response.json();
console.log("Geometry type:", geojson.features[0].geometry.type);import requests
response = requests.get(
"https://api.landmapmagic.com/api/plss/section",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={
"section": "4",
"township": "84N",
"range": "24W",
},
)
geojson = response.json()
feature = geojson["features"][0]
print(f"Geometry type: {feature['geometry']['type']}"){
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"section": 4,
"township": "T84N",
"range": "R24W"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-93.6319,
42.0308
],
[
-93.6319,
42.0452
],
[
-93.6145,
42.0452
],
[
-93.6145,
42.0308
],
[
-93.6319,
42.0308
]
]
]
}
}
]
}