azavea / osmesa

OSMesa is an OpenStreetMap processing stack based on GeoTrellis and Apache Spark
Apache License 2.0
79 stars 26 forks source link

Track deletes and distinguish from modifications #134

Closed mojodna closed 5 years ago

mojodna commented 5 years ago

Prior to this PR, tags on deleted elements would be null, preventing those elements from being categorized correctly (or at all). By applying a window function to nodes and ways before filtering, the tags present on the version immediately prior to deletion will be used.

This PR also breaks out deletes (otherwise they'd be combined with modifications).