Closed orangejulius closed 5 years ago
I have recently noticed that many hierarchies which were previously in the data are no longer there.
related: https://github.com/whosonfirst-data/whosonfirst-data/issues/954
Both of these cases have been fixed with WOF updates over the years. While we'll never get every hierarchy correct, we're well past the point of considering this a serious issue overall. If we do find more problematic hierarchies, we can handle them with individual issues here or in the whosonfirst repos
After https://github.com/pelias/wof-admin-lookup/pull/143 we now have an awesome and much faster way of doing admin lookup. However, it relies more on the hierarchies of individual records, rather than doing point-in-polygon across all layers itself and effectively bypassing the WOF hierarchy. As a result many records that possibly never had correct hierarchies are now causing problems.
Examples
Erbil, Iraq
http://pelias.github.io/compare/#/v1/search%3Ftext=Erbil,%20Iraq https://whosonfirst.mapzen.com/spelunker/id/421200817/
Bourail, New CAledonia
http://pelias.github.io/compare/#/v1/search%3Ftext=Bourail https://whosonfirst.mapzen.com/spelunker/id/890438255/