Skip to content
HALOWERK

Datenwerk

census grid

Sends the polygon (GeoJSON, WGS84 or ETRS89-LAEA EPSG:3035) to the official Zensusatlas 2022 service of the statistical offices and lets it aggregate the census population of the grid cells server-side: the lower bound sums cells lying completely inside the polygon, the upper bound sums all cells touching it, each with the number of populated cells. Rings are oriented for the ArcGIS service (outer clockwise), self-intersections are refused, the area is computed exactly in the equal-area.

POST https://daten.halowerk.com/v1/census-grid

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
polygonobjectYesGeoJSON Polygon or MultiPolygon geometry.
crsstringNoCoordinate system of the polygon (lon/lat or LAEA metres).
resolutionstringNoGrid cell size; 100 m up to 2,500 km², 1 km up to 50,000 km².
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "polygon"
  ],
  "properties": {
    "polygon": {
      "type": "object",
      "required": [
        "type",
        "coordinates"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Polygon",
            "MultiPolygon"
          ]
        },
        "coordinates": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50
        }
      },
      "description": "GeoJSON Polygon or MultiPolygon geometry."
    },
    "crs": {
      "type": "string",
      "enum": [
        "EPSG:4326",
        "EPSG:3035"
      ],
      "default": "EPSG:4326",
      "description": "Coordinate system of the polygon (lon/lat or LAEA metres)."
    },
    "resolution": {
      "type": "string",
      "enum": [
        "100m",
        "1km",
        "10km"
      ],
      "default": "100m",
      "description": "Grid cell size; 100 m up to 2,500 km², 1 km up to 50,000 km²."
    }
  }
}

Open original schema

Published input example

{
  "polygon": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          6.941198,
          50.9259945
        ],
        [
          6.9552681,
          50.9263656
        ],
        [
          6.9546855,
          50.935256
        ],
        [
          6.9406126,
          50.9348848
        ],
        [
          6.941198,
          50.9259945
        ]
      ]
    ]
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →