mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 10:09:29 +02:00
save full data when serializing to geojson
This commit is contained in:
parent
2ba7ee61ce
commit
5705278341
1 changed files with 9 additions and 1 deletions
|
@ -125,7 +125,15 @@ def generate_geojson_structure(dataset):
|
|||
"type": "Point",
|
||||
"coordinates": [atp.atp_center['lon'], atp.atp_center['lat']]
|
||||
},
|
||||
"properties": atp.atp_tags
|
||||
"properties": {
|
||||
'atp_center': atp.atp_center,
|
||||
'atp_tags': atp.atp_tags,
|
||||
'osm_match_center': atp.osm_match_center,
|
||||
'osm_match_tags': atp.osm_match_tags,
|
||||
'osm_link': atp.osm_link,
|
||||
'match_distance': atp.match_distance,
|
||||
'all_very_good_matches': atp.all_very_good_matches,
|
||||
}
|
||||
})
|
||||
return geojson_data
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue