OSM Geo (OpenStreetMap)

OSM landuse areas (residential/commercial/retail/industrial/institutional)

Fetches OSM landuse=* way polygons within an area and computes their area (shoelace formula on a local planar projection) and centroid locally — no external MCP dependency, same Overpass data source as osm-geo.gridTopology. Intended as sector-split evidence for municipal load/consumption estimation (area share by landuse type instead of equal distribution across a municipality). Scope limitation: only simple closed way polygons are handled — multipolygon relations (areas with excluded inner holes) are not fetched in v1, which understates totals for whichever areas happen to be relation-mapped rather than miscalculating them. Scope input: at least one of location, postalCode, or boundingBox.

post/api/osm-geo/landuse-areas

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/osm-geo/landuse-areas
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

locationstring
postalCodestring
landuseTypesstring[]

Restrict to these landuse types (default: all 5 supported).

tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "location": "Hockenheim",
  "postalCode": "68766",
  "boundingBox": {
    "south": 49.273,
    "west": 8.483,
    "north": 49.363,
    "east": 8.621
  },
  "landuseTypes": [
    "industrial",
    "commercial",
    "retail"
  ]
}

Response

Landuse areas and per-type summary

Changes

No recorded changes to this operation across all 2 revisions of this API.