
Hi Ticker, if diagonal cuts cause problems I can stop this. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap@jagit.co.uk> Gesendet: Mittwoch, 1. Februar 2017 17:04:36 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] WG: Please help Hi Gerd I've plotted the outer data. Not quite well enough to see all the directions of lines and if they emerge into each hole without crossing, or any slight overlaps, however: On the bottom edge, there are two areas in the middle that look as if they should be indentations into the overall area but also have a bottom edge that follows the bounding box Probably not a problem - on the left edge there are two holes where the top one is closer to the edge than the hole it is joined from Are diagonal cuts OK - on some devices you can see where this is happening (for some reason the original OSM data did this) Let me know if you want me to look in more detail. Ticker On Wed, 2017-02-01 at 15:24 +0000, Gerd Petermann wrote:
Hi Ticker,
I tried to reach you with a PM but that was returned, so I try again via list...
Gerd
________________________________________ Von: Gerd Petermann Gesendet: Mittwoch, 1. Februar 2017 16:09 An: Ticker Berkin Betreff: Please help
Hi Ticker,
I try to understand why ShapeSplitter complains about a polygon created by my new algo. Attached is a patch and an input file. Command: java -Dlog.config=mkgmap_log.props -ea -jar dist\mkgmap.jar f:\osm\test.osm.pbf My mkgmap_log.props contains .level=WARNING and I see this warning: WARN: uk.me.parabola.util.ShapeSplitter f:\osm\test.osm.pbf: Direction of shape and hole conflict; probably self-intersecting polygon this: fp=146086642 lp=146173971 area=19324813903 #=134 http://www.openstreetmap.org/?mlat=48.975820&mlon=13.355620&zoom=17 http://www.openstreetmap.org/?mlat=48.988628&mlon=13.389160&zoom=17 o ther: fp=146153055 lp=146161739 area=22313626 #=6 http://www.openstreetmap.org/?mlat=49.002597&mlon=13.353453&zoom=17 http://www.openstreetmap.org/?mlat=49.003250&mlon=13.352696&zoom=17
I don't see what's wrong here.
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev