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 other: 
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

Attachment: mp_cut_v2.patch
Description: mp_cut_v2.patch

Attachment: test.osm.pbf
Description: test.osm.pbf

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to