[mkgmap-dev] [PATCH V2] boundary preparer with quadtree
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Feb 8 17:56:12 GMT 2012
Hi WanMil, > Date: Wed, 8 Feb 2012 18:28:32 +0100 > From: wmgcnfg at web.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] [PATCH V2] boundary preparer with quadtree > > Hi Gerd, > > > Would you mind dropping the support for the old format ? > > No! > Would it be a big deal to implement a converter? It is already implemented in the BoundaryPreparer when you execute its main(). Also, I'll keep the code that writes the old format, because it is used before preparer starts. I just drop analysing the mkgmap:lies_in tags. Today I've written the code to read & write the new format and to recombine the boundaries. There are two open problems: a) Some boundaries with equal admin levels intersect, and BoundaryQuadtree.merge() removes the intersection from one of the both. This can cause different results compared to trunk because the LocationHook in trunk can sort them in different order. I think one cannot expect correct results for this case, but it makes testing difficult. b) The recombined boundaries have a few small holes, probably again the rounding error. I'll check this tomorrow. ciao, Gerd > > WanMil > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120208/fd4a976d/attachment.html
- Previous message: [mkgmap-dev] [PATCH V2] boundary preparer with quadtree
- Next message: [mkgmap-dev] [PATCH V2] boundary preparer with quadtree
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list