I have a GeoJson-file [1] with multiple polygons exported from OpenStreetMap that will be updated regularly and I want to add additional information (to the properties) from another file [2] (JSON ? I'm open for recommendations).
Every Object in the GeoJson-File has a ID that won't change when updated. So what kind of additional info file do a use and how do I join those based on the ID files?
[1]:
"features": [
{
"type": "Feature",
"id": "way/3876802", //join based on this ID
"properties": {
"@id": "way/3876802",
"barrier": "wall",
"heritage": "4",
"heritage:operator": "BLfD",
"historic": "cemetery",
"landuse": "cemetery",
"ref:BLfD": "D-5-62-000-6"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
10.9999265,
49.5888688
],
[
10.9991467,
49.5892462
],
[
10.9990158,
49.5892965
]...
[2]:
"id": "way/3876802", //join based on this ID
"properties": {
"description": "Lorem ipsum dolor sit amet"
...}
Aucun commentaire:
Enregistrer un commentaire