osmcode / osmium-tool

Command line tool for working with OpenStreetMap data based on the Osmium library.
https://osmcode.org/osmium-tool/
GNU General Public License v3.0
509 stars 107 forks source link

Fix for point in polygon checks #229

Closed joto closed 3 years ago

joto commented 3 years ago

The point in polygon check depends on the winding order of the polygon. This commit makes sure the winding order of polygons read from a .geojson or .poly file is always what we expect, so that the check works correctly.