whosonfirst / py-mapzen-whosonfirst-export

Export tools for the Who's On First documents
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Update property checks in exportify tool #26

Closed stepps00 closed 4 years ago

stepps00 commented 4 years ago

https://github.com/whosonfirst/py-mapzen-whosonfirst-export/blob/master/mapzen/whosonfirst/export/__init__.py#L127-L140

In the short term, this should check a few other (mz:hierarchy_label, mz:is_official) properties that should be handled like mz:is_current. In the long term, this check should probably move to the validate tool(s).

stepps00 commented 4 years ago

Closing this because these checks should happen in the validation tools. The exportify tool currently handles two properties that should be in all records, but this would add additional checks for optional properties.