Open stepps00 opened 6 years ago
That means porting both py-mapzen-whosonfirst-spatial
and py-mapzen-whosonfirst-hierarchy
to Go. Which would be great so by all means send patches!
The important thing to remember is that they are distinct pieces of code. The former concerns itself with math (point in polygon, intersects, etc.) and the latter concerns itself with logic and interpreting the math. They work in concert but are not at all the same thing.
Add new, modified
wof-hierarchy-rebuild
script that invokes therebuild_and_export_feature
function, rather than therebuild_feature
function to iterate over descendant records, too.This version of the script may exist, but I've been using a version of it to PIP PRs in the
whosonfirst-data
repo - very useful.See: https://github.com/whosonfirst/whosonfirst-cookbook/issues/24#issuecomment-397757735