Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Add modified wof-hierarchy-rebuild script #11

Open
stepps00 opened this issue Jun 15, 2018 · 1 comment
Open

Add modified wof-hierarchy-rebuild script #11

stepps00 opened this issue Jun 15, 2018 · 1 comment
Assignees

Comments

@stepps00
Copy link
Member

Add new, modified wof-hierarchy-rebuild script that invokes the rebuild_and_export_feature function, rather than the rebuild_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: whosonfirst/whosonfirst-cookbook#24 (comment)

@thisisaaronland
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants