Re: [mkgmap-dev] java.lang.AssertionError: deltaLong = -37306

2009-11-11 Thread Felix Hartmann
Mark Burton wrote: Hi Felix, Here are the ones for Norway (down from 5) to 4 (though one is two times) - I can run against Asia too if you want - Asia is the file with the most errors. No, what you have sent me is good enough. I just need to think about this some more. It's all

[mkgmap-dev] Commit: r1367: Rewrite pickArea() to avoid a problem with unequally sized areas.

2009-11-11 Thread svn commit
Version 1367 was commited by markb on 2009-11-11 11:21:31 + (Wed, 11 Nov 2009) Rewrite pickArea() to avoid a problem with unequally sized areas. The original pickArea() assumed that all the areas to choose from had the same widths and the same heights. Unfortunately, that is not true and

Re: [mkgmap-dev] java.lang.AssertionError: deltaLong = -37306

2009-11-11 Thread Mark Burton
Hi Felix, I have committed a fix to an ancient bug that accounts for some of these problems. I am also going to commit the patch you have been using as it's worth having. I am still getting error messages for some features (mostly very long lines like national boundaries) but I will fix those

[mkgmap-dev] Commit: r1368: Rework code to split way when it has too many points.

2009-11-11 Thread svn commit
Version 1368 was commited by markb on 2009-11-11 11:43:35 + (Wed, 11 Nov 2009) Rework code to split way when it has too many points. Now splits at an existing node if possible. Tries very hard not to introduce any short arcs. ___ mkgmap-dev

[mkgmap-dev] Commit: r1370: As with the polygon size splitter, scale max size by the shift value.

2009-11-11 Thread svn commit
Version 1370 was commited by markb on 2009-11-11 11:43:41 + (Wed, 11 Nov 2009) As with the polygon size splitter, scale max size by the shift value. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit: r1372: Add subdivision info to error messages.

2009-11-11 Thread svn commit
Version 1372 was commited by markb on 2009-11-11 11:43:46 + (Wed, 11 Nov 2009) Add subdivision info to error messages. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Commit: r1371: Make error messages more useful.

2009-11-11 Thread svn commit
Version 1371 was commited by markb on 2009-11-11 11:43:43 + (Wed, 11 Nov 2009) Make error messages more useful. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Route calculation error introduced in r1337:1343

2009-11-11 Thread Marko Mäkelä
Hi Mark, MAX_ARC_LENGTH = 39062 works but 40625 does not. OK, I shall set the limit to 35000 and we can see if that's reliable. This is odd because that's much shorter than the maximum arc length that can be encoded. I wonder if using longer arc lengths causes some buffer overflow in

Re: [mkgmap-dev] Snapshot for Style-branch isn't available anymore

2009-11-11 Thread Steve Ratcliffe
On 11/11/09 10:56, Gert Münzel wrote: it's only to inform you. If it is as it has to be, forget about my noise. I noticed that on the snapshot page the snapshot for the style-branch has gone but the one for the mapset-branch, which is already merged back to trunk, is still there. Thanks.

Re: [mkgmap-dev] Commit: r1367: Rewrite pickArea() to avoid a problem with unequally sized areas.

2009-11-11 Thread Carlos Dávila
svn commit escribió: Version 1367 was commited by markb on 2009-11-11 11:21:31 + (Wed, 11 Nov 2009) Rewrite pickArea() to avoid a problem with unequally sized areas. The original pickArea() assumed that all the areas to choose from had the same widths and the same heights.

Re: [mkgmap-dev] Commit: r1367: Rewrite pickArea() to avoid a problem with unequally sized areas.

2009-11-11 Thread Mark Burton
Hi Carlos, I suppose errors below come from this change, but, how to fix them? I have tried to download the areas reported from a couple of these errors, but JOSM just say No data found for this area Yes, those errors seem to be produced by large lines that cross areas that don't appear to

[mkgmap-dev] add info-letters for

2009-11-11 Thread Jan Tappenbeck
hi ! i want to write a value (5.0) with a info-letter (h=) into a box like h=5.0 and when i use the following code in the style highway=* maxheight0 {name 'h= ${maxheight|subst: |highway-symbol:hbox}'} [0x01 resolution 12] in the new map not show the correct sign [h=5.0] the show sign is

Re: [mkgmap-dev] add info-letters for

2009-11-11 Thread Clinton Gladstone
On Nov 11, 2009, at 19:26, Jan Tappenbeck wrote: highway=* maxheight0 {name 'h= ${maxheight|subst: |highway-symbol:hbox}'} [0x01 resolution 12] I think the subst: filter is replacing maxheight with an empty string. I'm not sure you want that statement there. Cheers.

Re: [mkgmap-dev] Use userdefine way-Icons

2009-11-11 Thread Clinton Gladstone
On Nov 10, 2009, at 17:33, Jan Tappenbeck wrote: but is there a possiblity to use my own icons for hikingways for example ?? how ? Do you want to reuse the highway shields for your hiking trails or do you want to use your own special hiking symbols for the trails? If it is the latter, I

[mkgmap-dev] Commit: r1374: Output more info regarding splitting of map regions.

2009-11-11 Thread svn commit
Version 1374 was commited by markb on 2009-11-11 21:24:54 + (Wed, 11 Nov 2009) Output more info regarding splitting of map regions. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Commit: r1375: Ensure elements added to an area are within the area's bounds.

2009-11-11 Thread svn commit
Version 1375 was commited by markb on 2009-11-11 21:24:57 + (Wed, 11 Nov 2009) Ensure elements added to an area are within the area's bounds. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit: r1376: Call doFilter() rather than addElement() if appropriate.

2009-11-11 Thread svn commit
Version 1376 was commited by markb on 2009-11-11 21:25:00 + (Wed, 11 Nov 2009) Call doFilter() rather than addElement() if appropriate. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit: r1377: Limit length of lines to work around problems when subdividing long lines.

2009-11-11 Thread svn commit
Version 1377 was commited by markb on 2009-11-11 21:25:03 + (Wed, 11 Nov 2009) Limit length of lines to work around problems when subdividing long lines. This is not the ideal solution but works as an interim fix until the real problem is solved. The fundamental problem appears to be

[mkgmap-dev] Commit: r1378: Make error message an assertion - i.e. if you see the message, something is badly wrong.

2009-11-11 Thread svn commit
Version 1378 was commited by markb on 2009-11-11 21:25:06 + (Wed, 11 Nov 2009) Make error message an assertion - i.e. if you see the message, something is badly wrong. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

2009-11-11 Thread Felix Hartmann
Steve Ratcliffe wrote: On 09/11/09 18:04, Felix Hartmann wrote: I would like to set up display name with lines in my style-file like highway=tertiary { display_name '${name}' | 'tertiary' } [0x04 ] however currently this is impossible. Could someone adapt mkgmap to treat

Re: [mkgmap-dev] add info-letters for

2009-11-11 Thread Felix Hartmann
Clinton Gladstone wrote: On Nov 11, 2009, at 19:26, Jan Tappenbeck wrote: highway=* maxheight0 {name 'h= ${maxheight|subst: |highway-symbol:hbox}'} [0x01 resolution 12] I think the subst: filter is replacing maxheight with an empty string. I'm not sure you want that statement

Re: [mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

2009-11-11 Thread Clinton Gladstone
On Nov 11, 2009, at 22:47, Felix Hartmann wrote: Best however would be a command to append labels like { append name '${ref}' } that would replace the current command { name '${name} {ref}' | '${name}' | '${ref}' }. In case that nothing in the append name '' exists then it will not be

[mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-11 Thread Clinton Gladstone
With the latest builds, I can no longer transfer my maps of Germany using mapsource to my e-Trex. The maps are build with the --index option, which I suspect may be part of the problem, as the error comes from MDR_TRIMMER.H. Does anyone have an idea? - I still have the region-munge.patch

Re: [mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-11 Thread Felix Hartmann
+1 same problem resurfaced for me to (for Germany - most countries are no problem at all) Clinton Gladstone wrote: With the latest builds, I can no longer transfer my maps of Germany using mapsource to my e-Trex. The maps are build with the --index option, which I suspect may be part of the