logo separator

[mkgmap-dev] issues with tile boundaries

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Mar 22 09:23:38 GMT 2013



Hi,

I searched the archives and found that this is an old issue starting end of 2009, see e.g.

http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2010q1/006477.html

It is quite difficult to find out what effect the rounding has because the problems are
only visible when you know where to look at.
For now I can only say that the removal of the rounding in mkgmap fixes the problem
with the gap. 

Here is what I tested:
content of file minko_areas.list:
#North tile
10131034: 2306867,4096 to 2344960,22528
# : 49.499996,0.087891 to 50.317383,0.483398
#South tile
10135076: 2301952,4096 to 2306867,40960
# : 49.394531,0.087891 to 49.499996,0.878906

Process with trunk versions of splitter r298 and mkgmap r2534:
java -jar d:\splitter_trunk\dist\splitter.jar --split-file=minko_areas.list f:\osm\france.o5m
java -Xmx3000m -jar d:\mkgmap_trunk\dist\mkgmap.jar --nsis --max-jobs -c template.args
run installer
start Basecamp
Result: the gap is visible as described in Minkos first post

The patched version of mkgmap doesn't show the gap, nor did I find other problems.

My problem: I did not find any hints in the archive how the original problem 
looked like, so I am not sure if the old errors are back now :-(

@Felix : You posted some test data for the original issue, maybe you can also have a look at this again?

Attached is the patch, the compiled binary is available at 
http://files.mkgmap.org.uk/download/92/mkgmap.jar

ciao,
Gerd

> Date: Wed, 20 Mar 2013 22:59:57 +0000
> From: steve at parabola.me.uk
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] issues with tile boundaries
> 
> On 18/03/13 07:44, Gerd Petermann wrote:
> > Ah, I see. The method TdbBuilder.addToOverviewMap()  rounds the coods of
> > the tile bboxes with the hardcoded resolution 13.
> >
> > @Steve: I don't know why that is done, maybe it can be changed ?
> 
> Yes its worth trying to leave out the rounding and just let the normal 
> fitting of the coordinates to the level later on.  See what happens!
> 
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130322/8aa3f277/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TdbBuilder_v1.patch
Type: application/octet-stream
Size: 2439 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130322/8aa3f277/attachment-0001.obj 


More information about the mkgmap-dev mailing list