Re: [mkgmap-dev] splitter and multiple files

2013-01-18 Thread UliBaer
The --keep-complete option is now the default. Have you tried --keep-complete=false ? -- View this message in context: http://gis.19327.n5.nabble.com/splitter-and-multiple-files-tp5745405p5745412.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _

[mkgmap-dev] splitter and multiple files

2013-01-18 Thread Greg Troxel
I have been using splitter with multiple files for a long time. Recently, I updated and got an error This command works: java -enableassertions -Xmx3072m -jar splitter.jar --output=pbf --max-nodes=100 us-northeast.osm.pbf This command errors: java -enableassertions -Xmx3072m -jar splitter.

Re: [mkgmap-dev] [PATCH v1] Optimize filters for shapes

2013-01-18 Thread GerdP
Hi WanMil, WanMil wrote > Reducing the img file size is a nice subeffect. As long as I don't know > for sure that spikes are not an error I would avoid to leave them in the > img. I've analysed the filters a bit more. It seems that it is better to let DouglasPeuckerFilter "see" the data that

Re: [mkgmap-dev] How to compile PrecompSeaGe

2013-01-18 Thread Thorsten Kukuk
On Fri, Jan 18, Gerd Petermann wrote: > > Hi Thorsten, > > you have to edit build.xml: > change > > to eg. > > > then run ant clean > > I did not find out how to run it from the command line, but it worked in > eclipse. Thanks, that seems to work, only need to make some changes now in the

Re: [mkgmap-dev] How to compile PrecompSeaGe

2013-01-18 Thread Gerd Petermann
Hi Thorsten, you have to edit build.xml: change to eg. then run ant clean I did not find out how to run it from the command line, but it worked in eclipse. Gerd > Date: Fri, 18 Jan 2013 15:42:38 +0100 > From: ku...@suse.de > To: mkgmap-dev@lists.mkgmap.org.uk > Subject: [mkgmap-dev] How to

[mkgmap-dev] Commit: r2457: Add two methods to BitReader that are required by the current version

2013-01-18 Thread svn commit
Version 2457 was committed by steve on Fri, 18 Jan 2013 Add two methods to BitReader that are required by the current version of the display tools. They are not used in mkgmap itself. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lis

[mkgmap-dev] How to compile PrecompSeaGe

2013-01-18 Thread Thorsten Kukuk
Hi, I wanted to play a little bit with the PrecompSeaGenerator today, but I fail to compile and use it. Looks like for this my Java knowledge isn't good enough. I have the necessary optional jars, but how can I compile the optional java code? Thanks, Thorsten -- Thorsten Kukuk, Project M

[mkgmap-dev] Commit: r2456: Disable testAllRuleFiles for remove short arc re-work.

2013-01-18 Thread svn commit
Version 2456 was committed by steve on Fri, 18 Jan 2013 Disable testAllRuleFiles for remove short arc re-work. Work around the change in how the Converter works with the new removeShortArcs code, by calling converter.end() ___ mkgmap-dev mailing list mk

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Minko
Sorry Gerd, that is beyond my knowledge. I'll just wait and see ;-) > If you see them outside of eclipse, try > ant clean && ant dist > > Gerd ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Steve Ratcliffe
On 18/01/13 10:31, Minko wrote: > Maybe this is related to other recent changes but I only got a bunch of > errors related to the Sea generator > Error in style: Error: (polygons:4): Stack size is 4 > SEVERE (SeaGenerator): splitter\10010001.osm.pbf: > uk.me.parabola.imgfmt.ExitException: Could n

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Gerd Petermann
Hi Minko, I saw these error messages when I build mkgmap within eclipse. I created a new project from the ant build file and that fixed the problem. If you see them outside of eclipse, try ant clean && ant dist Gerd > Date: Fri, 18 Jan 2013 11:31:26 +0100 > From: ligfiet...@online.nl > To: mk

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Minko
Thanks Steve, With the patch it looks like the accents are working now if i save it normal way (ANSI). UTF-8 is fine now too. Maybe this is related to other recent changes but I only got a bunch of errors related to the Sea generator Error in style: Error: (polygons:4): Stack size is 4 SEVERE (S

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Steve Ratcliffe
Attached patch fixes so that a BOM will be ignored. This applies to all files read with TokenScanner which includes the styles, the command line options files (-c) the TYP text format and the SRT text format. Pre-built jar: http://files.mkgmap.org.uk/download/82/mkgmap.jar ..Steve Index: src/uk

[mkgmap-dev] R: Re: R: Re: Relations

2013-01-18 Thread e.rossin...@alice.it
Oh yes on the GPS device I see few characters but the lijmit of 75 characters is only on MapSource. BaseCamp display much more of 75 characters. Thanks :-) --enrico Messaggio originale Da: ku...@suse.de Data: 18-gen-2013 10.30 A: Ogg: Re: [mkgmap-dev] R: Re: Relations On Fri, Jan 18,

Re: [mkgmap-dev] Why do we have the "Area too small to split at ..." message

2013-01-18 Thread GerdP
Hi, WanMil wrote > If you want to remove the reason of the error message you would have to > change the way how subdivisions are created. Attached is a patch that tries to implement a better algo. It checks for the special case were two or more (almost) identical large ways or shapes should be p

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Steve Ratcliffe
Wikipedia says that notepad always puts a BOM at the begining of the file when it saves as utf-8. This appears as an odd character at the beginning of the file to Java programs. I can add code to skip it. ..Steve ___ mkgmap-dev mailing list mkgmap-dev@

Re: [mkgmap-dev] R: Re: Relations

2013-01-18 Thread Thorsten Kukuk
On Fri, Jan 18, e.rossin...@alice.it wrote: > > Wow, wonderful!!! Thanks very much!! > > The only limitation is the maximum 75 characters of the string, right? Depending on your GPS device, even the 75 characters will not be shown, but only a much smaller one. Thorsten > This limit can not

[mkgmap-dev] R: Re: Relations

2013-01-18 Thread e.rossin...@alice.it
Wow, wonderful!!! Thanks very much!! The only limitation is the maximum 75 characters of the string, right? This limit can not be changed? --enrico Messaggio originale Da: ku...@suse.de Data: 18-gen-2013 7.02 A: Ogg: Re: [mkgmap-dev] Relations Use set route_ref='$(route_ref),${ref}'

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Gerd Petermann
Hi Minko, please send the file(s) that produces the error message. My 50 cent regarding editors on Windows: I use PSPad http://www.pspad.com/en/download.php It can handle utf-8 and all kinds of line endings and also quite large files. Ciao, Gerd > Date: Fri, 18 Jan 2013 09:51:27 +0100 > From:

Re: [mkgmap-dev] how to use diacritical marks / accents in style file

2013-01-18 Thread Minko
Here are my findings (tested on a windows computer): Saving one of the (default) style files as ansi (default) in Notepad++ everything is fine, except for the accents (doesnt work). If I save them as UTF-8 without BOM (whatever that means) accents are ok Saving them as UTF-8, mkgmap aborts with E

Re: [mkgmap-dev] Remove short arcs

2013-01-18 Thread Gerd Petermann
Hi Steve, > We know that short arc are problematic, but not exactly why. There are a > few possibilities. > > 1. The routing arcs have a length field, when the arc length is less > than 4.9m (in our implementation) this is stored as 0. Perhaps zero is > bad and using 1 instead would work. > > 2