Skip to content

Commit

Permalink
show osm_type also on website fixes #107
Browse files Browse the repository at this point in the history
  • Loading branch information
christophlingg committed Oct 12, 2014
1 parent 3e4b0fe commit 41503d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/photon/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def to_geo_json(hits, lang='en', debug=False):
if 'osm_id' in source:
properties['osm_id'] = int(source['osm_id'])

for attr in ['osm_key', 'osm_value', 'postcode', 'housenumber']:
for attr in ['osm_key', 'osm_value', 'postcode', 'housenumber', 'osm_type']:
if attr in source:
properties[attr] = source[attr]

Expand Down

0 comments on commit 41503d4

Please sign in to comment.