whosonfirst / go-whosonfirst-pgis

This is not ready to use. It is still being tested. It will probably be renamed.
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Add modified wof-hierarchy-rebuild script #11

Open stepps00 opened 6 years ago

stepps00 commented 6 years ago

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: https://github.com/whosonfirst/whosonfirst-cookbook/issues/24#issuecomment-397757735

thisisaaronland commented 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.