Open stepps00 opened 6 years ago
As a follow-up to the conversation in https://github.com/whosonfirst-data/whosonfirst-data/issues/952, update the export library to include the placetypes in the wof:placetype_alt property.
wof:placetype_alt
For example:
If 1109371865, a borough placetype feature as "wof:placetype_alt":"county", the following hierarchy should be seen in this record:
borough
1109371865.geojson
"wof:hierarchy":[ { "borough_id":1109371865, "continent_id":102191577, "country_id":85632505, "county_id":1109371865, "locality_id":421174285, "region_id":85668081 } ],
https://github.com/whosonfirst/py-mapzen-whosonfirst-export/blob/master/mapzen/whosonfirst/export/__init__.py#L168
As a follow-up to the conversation in https://github.com/whosonfirst-data/whosonfirst-data/issues/952, update the export library to include the placetypes in the
wof:placetype_alt
property.For example:
If 1109371865, a
borough
placetype feature as "wof:placetype_alt":"county", the following hierarchy should be seen in this record:1109371865.geojson