[mkgmap-dev] Way.isClosed()
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Dec 4 09:53:31 GMT 2013
Hi, I think the method is incorrect. It should not use Coord.equal() to check if first and last point is equal, instead it should test if the points are identical. Sample where the current implementation fails: http://www.openstreetmap.org/way/59994654 The way has a closed loop, but first and last point are not identical because the way starts with a short segment that is not part of the loop. Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20131204/07cd8dbe/attachment.html>
- Previous message: [mkgmap-dev] Commit: r2857: Now really fix the wrong ref assignment in the relations file.
- Next message: [mkgmap-dev] Way.isClosed()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list