-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi, seeing an issue which results in a continent worth of coastline output to the error_lines table in the spatialite file, with "invalid" status - so very hard to troubleshoot. Looking the output of osmcoastline v2.3.1-6-g5652a7b gives more information:
[ 0:05] Writing out rings... (Because you gave the --output-rings/-r option.)
[ 0:20] Create polygons...
Warning 1: Hole lies outside shell at or near point 128.80197369999999 35.702867900000001
[ 0:36] Fixing coastlines going the wrong way...
[ 0:36] Turned 0 polygons around.
Looking at that location, there is a island with reversed coastline, which isn't getting picked up by the normal checks (we parse out the db and use for basis of display here).
- Test data: https://ogfdata.rent-a-planet.com/extracts/osmcoastline-issue41/ogf-coastline-data.osm.pbf
- Output db: https://ogfdata.rent-a-planet.com/extracts/osmcoastline-issue41/ogf-coastlines-split.db
- Command line:
osmcoastline --verbose --srs=3857 --overwrite --output-lines --output-polygons=both --output-rings --max-points=1000 --output-database ogf-coastlines-split.db ogf-coastline-data.osm.pbf
Thanks/L
Metadata
Metadata
Assignees
Labels
No labels