Open wangi opened 2 years ago
There are occasions where osmcoastline doesn't work correctly and I have never figured out what happens exactly. Something between my code and the GEOS library code. In very few cases the error output generated by osmcoastline is not enough to find the problem, but then, as you have seen, you'll get that warning on the command line output, which is generated directly by the library. Fixing the issue around that point has always fixed the problem for me.
Thanks, i'll probably wrap around the osmcoastline output, grep out that error and manually insert into the db for the checker to use.
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:
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).
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