mapnik / clipper

Boost Software License 1.0
8 stars 5 forks source link

Unclean geometries #5

Open e-n-f opened 8 years ago

e-n-f commented 8 years ago

I think I am seeing two geometric errors (one case of intersecting polygon sides, one case of point-in-polygon showing inner ring not to be entirely inside the outer ring) in Clipper output.

In the tippecanoe earcut-polygon branch at cb4a837,

$ ./tippecanoe -z9 --check-polygons -f -o foo.mbtiles ne_10m_admin_0_countries.json > log

There must be a better way to provide sample input for Clipper problems, but this log was the best representation I could think of.

cc @flippmoke @springmeyer

springmeyer commented 8 years ago

@ericfischer - are you still seeing these problems with the latest code?

e-n-f commented 8 years ago

[Oops, commented in wrong ticket]