Skip to content

Instantly share code, notes, and snippets.

@balazsdukai
Last active October 18, 2021 08:57
Show Gist options
  • Save balazsdukai/1400f2adb557bfdb81ebe1b046aff5dc to your computer and use it in GitHub Desktop.
Save balazsdukai/1400f2adb557bfdb81ebe1b046aff5dc to your computer and use it in GitHub Desktop.
A proposal for storing addresses in CityJSON
{
"type": "CityJSON",
"version": "1.0",
"CityObjects": {
"NL.IMBAG.Pand.0518100000285075": {
"type": "Building",
"geometry": [],
"address": [
{
"openbareRuimteNaam": "C.A. van Beverenplein",
"huisnummer": 3,
"postcode": "2552HT",
"woonplaatsNaam": "'s-Gravenhage",
"location": [0]
},
{
"openbareRuimteNaam": "C.A. van Beverenplein",
"huisnummer": 4,
"postcode": "2552HT",
"woonplaatsNaam": "'s-Gravenhage"
}
]
}
},
"metadata": {
"addressDefinition": {
"openbareRuimteNaam": "Name of the public space (street, square etc.)",
"huisnummer": "House number",
"postcode": "Postcode",
"woonplaatsNaam": "Name of the town",
"location": "Point location of the address (vertex index)"
}
},
"vertices": [
[1.0, 2.0, 3.5]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment