[mkgmap-dev] special case where splitting fails without a log message
From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu May 27 16:10:37 BST 2021
Hi Ticker, yes, sure. I've converted a gpx output to OSM. All polygons with holes are not valid OSM ways, but they are very normal as MapShape. Validator doesn't help much with these polygons. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk> Gesendet: Donnerstag, 27. Mai 2021 17:06 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] special case where splitting fails without a log message Hi Gerd JOSM gives a self-crossing way validation error on this. Ticker On Thu, 2021-05-27 at 14:53 +0000, Gerd Petermann wrote: > Hi Ticker, > > no need to hurry ;) > Here is one: > https://files.mkgmap.org.uk/download/508/water.osm > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag > von Ticker Berkin <rwb-mkgmap at jagit.co.uk> > Gesendet: Donnerstag, 27. Mai 2021 16:47 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] special case where splitting fails without > a log message > > Hi Gerd > > next patch also has a problem - sorry to waste your time. > Can I have your test data. > > Ticker > > On Thu, 2021-05-27 at 14:33 +0000, Gerd Petermann wrote: > > Hi Ticker, > > > > with my current test environment the patch doesn't improve the > > result. > > It reports some errors (the old code didn't always detect them) and > > eithers add or removes parts of the heavily merged shapes. > > > > I've inspected one shape and found no obvious problem. No point is > > visited more then twice, but 167 points are visited twice. Let me > > know if you need the data. > > > > Gerd > > > > ________________________________________ > > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag > > von Ticker Berkin <rwb-mkgmap at jagit.co.uk> > > Gesendet: Donnerstag, 27. Mai 2021 16:09 > > An: Development list for mkgmap > > Betreff: Re: [mkgmap-dev] special case where splitting fails > > without > > a log message > > > > Thanks Gerd, that works for me > > > > Ticker > > > > On Thu, 2021-05-27 at 12:54 +0000, Gerd Petermann wrote: > > > Hi Ticker, > > > > > > I first convert the gpx layer to a data layer, then add the tag > > > natural=water > > > Next execute validator which will complain that the way is not > > > closed. > > > Right click on that warning allows to "zoom to problem" . > > > This tells you where the first point is. > > > > > > In the "OSM data" preferences I've enabled "Draw segment order > > > numbers on selected way" > > > > > > Hope this helps. > > > > > > Gerd > > > > > > ________________________________________ > > > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im > > > Auftrag > > > von Ticker Berkin <rwb-mkgmap at jagit.co.uk> > > > Gesendet: Donnerstag, 27. Mai 2021 14:21 > > > An: Development list for mkgmap > > > Betreff: Re: [mkgmap-dev] special case where splitting fails > > > without > > > a log message > > > > > > Hi Gerd > > > > > > Trying to use JOSM to decide if a gpx trace represents a self > > > -intersecting polygon is difficult. Is there a way of forcing it > > > to > > > consider it closed and then check itself? Failing that, number > > > the > > > points or segments somehow. > > > > > > Ticker > > > > > > > > > _______________________________________________ > > > mkgmap-dev mailing list > > > mkgmap-dev at lists.mkgmap.org.uk > > > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > > _______________________________________________ > > > mkgmap-dev mailing list > > > mkgmap-dev at lists.mkgmap.org.uk > > > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > _______________________________________________ > > mkgmap-dev mailing list > > mkgmap-dev at lists.mkgmap.org.uk > > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > _______________________________________________ > > mkgmap-dev mailing list > > mkgmap-dev at lists.mkgmap.org.uk > > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] special case where splitting fails without a log message
- Next message: [mkgmap-dev] special case where splitting fails without a log message
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list