Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Valentijn Sessink
Lambertus schreef: I'm having problems compiling Mkgmap, maybe someone here is able to help [...] What does sudo update-alternatives --config java tell you? V. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Felix Hartmann
If you use a typfile, you can surpress labels by type. On 02.12.2009 08:33, Marko Mäkelä wrote: Hi Ben, On Wed, Dec 02, 2009 at 05:14:08PM +1100, Ben wrote: Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled

Re: [mkgmap-dev] View .img files on a Mac -- Create .tdb from .img

2009-12-02 Thread Ralf Kleineisel
On Wednesday 02 December 2009 00:46:04 Adrian wrote: tiles, and again the process worked. I downloaded a multi-tile gmapsupp.img from www.raumbezug.eu and (after processing) RoadTrip showed me a blank overview map covering only part of the area in question, and no detailed map. The same

Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Marko Mäkelä
On Wed, Dec 02, 2009 at 09:36:51AM +0100, Felix Hartmann wrote: If you use a typfile, you can surpress labels by type. Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use

Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Ralf Kleineisel
On Wednesday 02 December 2009 11:10:54 Marko Mäkelä wrote: Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use on-the-go, without swapping memory cards or connecting the

[mkgmap-dev] Suggestion: set mkgmap:dead-end-check=no when endpoints have FIXME=*

2009-12-02 Thread Marko Mäkelä
I came across an incompletely mapped area that has some dead-end oneways, and mkgmap duly complained. Initially, I fixed this with a bogus road that had a FIXME tag, but the original mapper reverted that change. Now I have added fixme=continue to each bogus oneway. I wanted to suppress the

Re: [mkgmap-dev] Suggestion: set mkgmap:dead-end-check=no when endpoints have FIXME=*

2009-12-02 Thread Mark Burton
Hi Marko, I came across an incompletely mapped area that has some dead-end oneways, and mkgmap duly complained. Initially, I fixed this with a bogus road that had a FIXME tag, but the original mapper reverted that change. Now I have added fixme=continue to each bogus oneway. I wanted to

Re: [mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

2009-12-02 Thread Gert Münzel
Hi, Felix, Felix Hartmann *wrotes on* /Tue Dec 1 19:21:11 GMT 2009/ I think that neither Garmin nor cgpsmapper compiler do this, but would there be a possibility to start some lines only in resolution 20, while the rest of the map is starting at 24? According to the cgpsmapper manual

Re: [mkgmap-dev] View .img files on a Mac -- Create .tdb from .img

2009-12-02 Thread Clinton Gladstone
On Dec 2, 2009, at 0:46, Adrian wrote: I am trying to view .img files on a Mac using Garmin RoadTrip. (I haven't tried using QLandKarte GT because I think it would be a big job to build Qt and then QLandKarte GT.) I have done this using Macports and the QLandKarte GT source, but it took the

Re: [mkgmap-dev] Patch v2 for better Autorouting

2009-12-02 Thread Clinton Gladstone
On Dec 2, 2009, at 0:45, Felix Hartmann wrote: I changed some stuff to make routing a bit better. Anyone tried it out? I tried the original patch, but found sadly (using Roadtrip on the Mac) that routing actually got worse. This was for a map of Germany. The directions were particularly

[mkgmap-dev] Routing issue in Hameln

2009-12-02 Thread Chris-Hein Lunkhusen
In german city Hameln turn-restrictions are used like hell, but they don't seem to work. http://www.bilder-space.de/show.php?file=02.12Ft6hRZHIiEanBbI.gif On the left side the only_straight_on restriction is not applied, on the right side there is a funny routing. MapSource-Setting is

Re: [mkgmap-dev] Routing issue in Hameln

2009-12-02 Thread Mark Burton
Hi Chris, In german city Hameln turn-restrictions are used like hell, but they don't seem to work. http://www.bilder-space.de/show.php?file=02.12Ft6hRZHIiEanBbI.gif On the left side the only_straight_on restriction is not applied, on the right side there is a funny routing. I looked at

Re: [mkgmap-dev] Routing issue in Hameln

2009-12-02 Thread Chris-Hein Lunkhusen
http://www.bilder-space.de/show.php?file=02.12Ft6hRZHIiEanBbI.gif On the left side the only_straight_on restriction is not applied, on the right side there is a funny routing. The routing on the right side is caused by a wrong 'oneway=yes' on way #24229789. So remains the question why

Re: [mkgmap-dev] Routing issue in Hameln

2009-12-02 Thread Carlos Dávila
Chris-Hein Lunkhusen escribió: In german city Hameln turn-restrictions are used like hell, but they don't seem to work. http://www.bilder-space.de/show.php?file=02.12Ft6hRZHIiEanBbI.gif On the left side the only_straight_on restriction is not applied, on the right side there is a funny

Re: [mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

2009-12-02 Thread Johann Gail
I think it should be possible without too much effort. At least the internal class GType has the fields Minresolution and Maxresolution already implemented. From my sight it should be a small change in the TypeReader parser. ___ mkgmap-dev mailing list

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Lambertus
Marko Mäkelä wrote: Can you invoke javac from the command line? I do not have any Eclipse stuff installed on my Debian Lenny system. I am using the sun-java6-jdk package (Version 6-12-1, http://packages.debian.org/lenny/sun-java6-jdk). Yes, javac runs fine from the commandline. Can you

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Lambertus
Valentijn Sessink wrote: Lambertus schreef: I'm having problems compiling Mkgmap, maybe someone here is able to help [...] What does sudo update-alternatives --config java tell you? There are 2 choices for the alternative java (providing /usr/bin/java). SelectionPath

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Lambertus
Valentijn Sessink wrote: ... and you might want to check dpkg --status sun-java6-jdk|grep Version ... too: 6-17-0ubuntu1.8.04 is what should be your current version on hardy; as there is a java problem when you have only the package from hardy. You need hardy-proposed in your package list.

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Lambertus
Ok, I finally got the correct search phrase and a suggestion popped-up suggesting to install ecj. Well, who would have thought of that... =-O So, now the compiling starts but prints a whole lot of warnings and one error then exits. Output is attached. The single error is: [javac] 7. ERROR

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Valentijn Sessink
Lambertus, * 0/usr/bin/gij-4.4 1044 auto mode 1/usr/bin/gij-4.4 1044 manual mode Which one should I choose? Number 2 I suspect? Yep. Numbers 0 and 1 are the Gnu Java runtime. You probably have the Gnu java

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread valentyn
At Wed, Dec 02, 2009 at 08:32:22PM +0100, Lambertus wrote: Ok, I finally got the correct search phrase and a suggestion popped-up suggesting to install ecj. Well, who would have thought of that... =-O Please note that installing a certain java does not necessarily mean it's the java that is

[mkgmap-dev] Problem with args file

2009-12-02 Thread Carlos Dávila
I'm processing the same data using almost equal parameters. The only difference are the *.args files. Below is the first one (peninsula.args), that compiles without errors: product-id=314 family-id=14 family-name=OSM España country-name=ESPAÑA country-abbr=ESP mapname: 63240001 description:

Re: [mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

2009-12-02 Thread Felix Hartmann
On 02.12.2009 20:46, Johann Gail wrote: Felix Hartmann schrieb: I think that neither Garmin nor cgpsmapper compiler do this, but would there be a possibility to start some lines only in resolution 20, while the rest of the map is starting at 24? I have just looked at the source. Guess

Re: [mkgmap-dev] Compiling Mkgmap failes

2009-12-02 Thread Lambertus
Valentijn Sessink wrote: Lambertus, * 0/usr/bin/gij-4.4 1044 auto mode 1/usr/bin/gij-4.4 1044 manual mode Which one should I choose? Number 2 I suspect? Yep. Numbers 0 and 1 are the Gnu Java runtime.

Re: [mkgmap-dev] --index crashes on an otherwise successfully rendered image

2009-12-02 Thread Lambertus
Clinton Gladstone wrote: Try the attached patch. It catches the index out of bounds error, and prints an error message: the (incorrect) index which was encoded in the POI, the last index of the array, and the POI label, if it has one. The city information will then not be written. This

Re: [mkgmap-dev] Problem with args file

2009-12-02 Thread Clinton Gladstone
On Dec 2, 2009, at 20:53, Carlos Dávila wrote: The second one (spain.args) gives the following error: Too many blocks. Use a larger block size with an option such as --block-size=2048 or --block-size=4096). I also received this error about a week ago (you should be able to find the relevant

Re: [mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

2009-12-02 Thread Felix Hartmann
On 02.12.2009 21:09, Johann Gail wrote: I think that neither Garmin nor cgpsmapper compiler do this, but would there be a possibility to start some lines only in resolution 20, while the rest of the map is starting at 24? I have just looked at the source. Guess what, it is already in

Re: [mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

2009-12-02 Thread Felix Hartmann
On 02.12.2009 21:00, Felix Hartmann wrote: On 02.12.2009 20:46, Johann Gail wrote: Felix Hartmann schrieb: I think that neither Garmin nor cgpsmapper compiler do this, but would there be a possibility to start some lines only in resolution 20, while the rest of the map is starting at

[mkgmap-dev] Commit: r1414: Fix turn restriction breakage introduced by r1412.

2009-12-02 Thread svn commit
Version 1414 was commited by markb on 2009-12-02 21:30:19 + (Wed, 02 Dec 2009) Fix turn restriction breakage introduced by r1412. Duplicating the way meant that it would no longer be matched as a turn restriction 'from' or 'to' way. Associating the duplicate to the original way with an

Re: [mkgmap-dev] Routing issue in Hameln

2009-12-02 Thread Mark Burton
Hi Chris, In german city Hameln turn-restrictions are used like hell, but they don't seem to work. Err, yes. I broke them. Fixed now in 1414. Apologies to all. Mark ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Clinton Gladstone
On Dec 2, 2009, at 11:18, Ralf Kleineisel wrote: On Wednesday 02 December 2009 11:10:54 Marko Mäkelä wrote: Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use on-the-go,

[mkgmap-dev] --add-poi-to-areas customization?

2009-12-02 Thread Ben
Hi guys, whilst its a great feature for some areas such as shops, its rather useless for others, such as natural=rock, where there might be areas and POIs tagged with. Is there a way to have POIs generated from the areas for certain polygons only? Thanks, Ben

Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Ben
LABEL= That does the trick perfectly! (And it should even keep the name for routing etc. Didnt test that though) Thanks, Felix! Felix Hartmann wrote: If you use a typfile, you can surpress labels by type. On 02.12.2009 08:33, Marko Mäkelä wrote: Hi Ben, On Wed, Dec 02, 2009 at