[mkgmap-dev] [PATCH v1] fix overview bounding box rounding
From Felix Hartmann extremecarver at googlemail.com on Mon Jan 18 09:27:38 GMT 2010
On 16.01.2010 12:03, Mark Burton wrote: > Thinking some more about what I was seeing in mapsource when mousing > around the Baltic map, I came to the conclusion that the edges of the > overview map bounding boxes where in the wrong place so I took a look > at mkgmap where it rounds those coords and came up with the attached > fix. No great theory here, I just dicked around until it worked as I > expected. > > For the Baltic map, the mouse now works right up to each boundary in > both lat and lon directions whereas before it would only work right on > one side of each boundary. > > Please try the patch, especially for maps that are W of Greenwich and S > of the equator and see if the overview boxes are right. > > Cheers, > > Mark > > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev Nope, still broken. This patch even made it worse on my test. Some POI got dropped that were displayed before. The overview map (as can be seen here) is shifted about 1.5km to the east. I have a testmap that you can download here and try around to see if you get it right. (have a look at it with JOSM to check that no objects near the tile border are dropped). The testmap can be downloaded from here: http://openmtbmap.x-nation.de/maps/legend.zip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100118/5b63401f/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: overviewmap.png Type: image/png Size: 658 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100118/5b63401f/attachment.png
- Previous message: [mkgmap-dev] [PATCH v1] fix overview bounding box rounding
- Next message: [mkgmap-dev] [PATCH v1] fix overview bounding box rounding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list