Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-huyeng/zensus-gis-nrw-api
Zensus 2011 Einwohnerzahlen API
https://github.com/t-huyeng/zensus-gis-nrw-api
openapi
Last synced: about 1 month ago
JSON representation
Zensus 2011 Einwohnerzahlen API
- Host: GitHub
- URL: https://github.com/t-huyeng/zensus-gis-nrw-api
- Owner: t-huyeng
- Created: 2022-06-07T13:40:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-22T09:47:27.000Z (about 2 years ago)
- Last Synced: 2023-03-03T23:25:07.739Z (over 1 year ago)
- Topics: openapi
- Language: HTML
- Homepage: https://t-huyeng.github.io/zensus-gis-nrw-api/
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[[DE]](README.md)/[[EN]](README_en.md)
# [Zensus API - Einwohnerzahlen]
Die vorliegende API ermöglicht es für einen gegebenen Bereich (GeoJSON) die Einwohnerzahlen auf Basis der Zensusdaten abzuschätzen.
Weitere Informationen: https://atlas.zensus2011.de/
### Beispiel
```bash
curl -X 'POST' \
'https://www.gis-rest.nrw.de/grs/rest/statistik/zensus_2011/einwohner_sum.json' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
8.616714477539062,
49.89728832544083
],
[
8.605728149414062,
49.84506757956392
],
[
8.690185546875,
49.83842530390878
],
[
8.69842529296875,
49.89419205992558
],
[
8.616714477539062,
49.89728832544083
]
]
]
},
"crs": {
"type": "name",
"properties": {
"name": "EPSG:4326"
}
}
}'
```Response:
```json
{
"type": "Feature",
"properties": {
"einwohner": 88997.06589856217,
"grid": "100m"
}
}
```