Selecting tiles in QLandkarte GT

Hi, with this little script I create may own map in Ubuntu Lucid. --------------------------------------------------------------- wget http://download.geofabrik.de/osm/europe/germany.osm.bz2 java -ea -Xmx2048M -jar splitter.jar --mapid=30000001 --max-nodes=800000 germany.osm.bz2 rm germany.osm.bz2 echo echo "Karte erzeugen" java -ea -Xmx2048M -jar mkgmap.jar \ --description=OSM_DE \ --country-name=Germany --country-abbr=DE \ --name-tag-list="name:de,name,int_name" \ --style-file=./mkgmap-style/ \ --generate-sea=multipolygon,extend-sea-sectors,close-gaps=4000 \ --family-id=1331 --product-id=1 \ --series-name=OSM_Germany \ --family-name=OSM_Germany \ --area-name=Germany \ --overview-name=OSM_Germany \ --tdbfile \ --draw-priority=25 \ --latin1 \ --suppress-dead-end-nodes \ --remove-short-arcs \ -c template.args 1331.TYP --------------------------------------------------------------- In QLandkarte GT I select the tiles (normally all) which I want to have on my GPS. But one tile can't be selected and is missing, when exporting the map in file 'gmapsupp.img' or sending the map to the GPS. In this case tile 30000082 is missing. I tried other OSM German maps with similar result. The originator of QLandkarte GT, who I have contacted, guess the cause in mkgmap. I made a screenshot, which you can doenload here: http://www.dateihosting.de/file/details/164910/Screenshot-QLandkarte_GT.png Greetings Josef

On 08/30/2010 07:27 PM, Josef Latt wrote:
In QLandkarte GT I select the tiles (normally all) which I want to have on my GPS. But one tile can't be selected and is missing, when exporting the map in file 'gmapsupp.img' or sending the map to the GPS. In this case tile 30000082 is missing.
Has the 30000082.img file been created by mkgmap at all? Does the gmapsupp.img contain it (You can check with gmaptool)? I would try to split the 30000082 tile OSM file in two and then run mkgmap again.

Am 30.08.2010 19:32, schrieb Ralf Kleineisel:
On 08/30/2010 07:27 PM, Josef Latt wrote:
In QLandkarte GT I select the tiles (normally all) which I want to have on my GPS. But one tile can't be selected and is missing, when exporting the map in file 'gmapsupp.img' or sending the map to the GPS. In this case tile 30000082 is missing.
Has the 30000082.img file been created by mkgmap at all? Does the gmapsupp.img contain it (You can check with gmaptool)?
No.
I would try to split the 30000082 tile OSM file in two and then run mkgmap again.
That's in moment to high for me. Think that this must then be done every time I create a map.

Am 30.08.2010 21:19, schrieb Josef Latt:
Am 30.08.2010 19:32, schrieb Ralf Kleineisel:
On 08/30/2010 07:27 PM, Josef Latt wrote:
In QLandkarte GT I select the tiles (normally all) which I want to have on my GPS. But one tile can't be selected and is missing, when exporting the map in file 'gmapsupp.img' or sending the map to the GPS. In this case tile 30000082 is missing.
Has the 30000082.img file been created by mkgmap at all? Does the gmapsupp.img contain it (You can check with gmaptool)?
No.
Meanwhile I tried several runs with varying values for 'max-nodes'. The missing tile-number in export was always: highest tile-Number minus 7.

Am 31.08.2010 18:37, schrieb Johann Gail:
Meanwhile I tried several runs with varying values for 'max-nodes'. The missing tile-number in export was always: highest tile-Number minus 7.
Thats a interesting pattern. Do you create the maps on a multicore machine (e.g. 8core or 4core with hyperthreading)?
I create the maps on a machine with an AMD Athlon 64 Dualcore.

On 08/31/2010 07:35 PM, Josef Latt wrote:
Am 31.08.2010 18:37, schrieb Johann Gail:
Thats a interesting pattern. Do you create the maps on a multicore machine (e.g. 8core or 4core with hyperthreading)?
I create the maps on a machine with an AMD Athlon 64 Dualcore.
I tried to investigate that problem. For me in mapsource and on my eTrex all tiles are fine. It is not the highest tile number minus 7 but minus 6 (There are 23 SRTM20 tiles, the missing one is nunber 17). In Qlandkartegt one tile is missing. I tested my map from july and from august, same tile both times, contour lines 20 m Hamburg. The july map has 69 OSM tiles, 23 SRTM10 tiles and 23 SRTM20 tiles. The august map has 71 OSM tiles, the SRTM tiles are copied from the older one. Mapsource and the eTrex use the gmapsupp.img. Qlandkartegt uses the individual tiles and the TDB file. So the error might be in the TDB file. Is there a way to check the contents of a TDB file?

On 01/09/10 21:17, Ralf Kleineisel wrote:
On 08/31/2010 07:35 PM, Josef Latt wrote:
Am 31.08.2010 18:37, schrieb Johann Gail:
Thats a interesting pattern. Do you create the maps on a multicore machine (e.g. 8core or 4core with hyperthreading)?
I create the maps on a machine with an AMD Athlon 64 Dualcore.
I tried to investigate that problem.
For me in mapsource and on my eTrex all tiles are fine. It is not the highest tile number minus 7 but minus 6 (There are 23 SRTM20 tiles, the missing one is nunber 17).
In Qlandkartegt one tile is missing. I tested my map from july and from august, same tile both times, contour lines 20 m Hamburg. The july map has 69 OSM tiles, 23 SRTM10 tiles and 23 SRTM20 tiles. The august map has 71 OSM tiles, the SRTM tiles are copied from the older one.
Mapsource and the eTrex use the gmapsupp.img. Qlandkartegt uses the individual tiles and the TDB file. So the error might be in the TDB file. Is there a way to check the contents of a TDB file?
Yes there is. TdbDisplay can do it from the display svn repo. If it is OK on mapsource, then maybe it really is qlandkartegt? If there is somewhere I can download the map I will look into it. If not, you could upload it to http://files.mkgmap.org.uk/

Am 02.09.2010 00:47, schrieb Steve Ratcliffe:
On 01/09/10 21:17, Ralf Kleineisel wrote:
On 08/31/2010 07:35 PM, Josef Latt wrote:
Am 31.08.2010 18:37, schrieb Johann Gail:
Thats a interesting pattern. Do you create the maps on a multicore machine (e.g. 8core or 4core with hyperthreading)?
I create the maps on a machine with an AMD Athlon 64 Dualcore.
I tried to investigate that problem.
For me in mapsource and on my eTrex all tiles are fine. It is not the highest tile number minus 7 but minus 6 (There are 23 SRTM20 tiles, the missing one is nunber 17).
In Qlandkartegt one tile is missing. I tested my map from july and from august, same tile both times, contour lines 20 m Hamburg. The july map has 69 OSM tiles, 23 SRTM10 tiles and 23 SRTM20 tiles. The august map has 71 OSM tiles, the SRTM tiles are copied from the older one.
Mapsource and the eTrex use the gmapsupp.img. Qlandkartegt uses the individual tiles and the TDB file. So the error might be in the TDB file. Is there a way to check the contents of a TDB file?
Yes there is. TdbDisplay can do it from the display svn repo. If it is OK on mapsource, then maybe it really is qlandkartegt?
If there is somewhere I can download the map I will look into it.
Other maps with the behaviour: ftp://ftp5.gwdg.de/pub/misc/openstreetmap/download.openstreetmap.de/aio/velomap/mapsource/velomap_germany.zip http://osm.arndnet.de/20100831/OSM%20Radkarte%2031.08.2010%20MapSource%20Ins...
If not, you could upload it to http://files.mkgmap.org.uk/
I uploaded my self created map (OSM-Karte.zip).

If not, you could upload it to http://files.mkgmap.org.uk/
I uploaded my self created map (OSM-Karte.zip).
Thanks, my internet connection is on a go-slow at the moment and it is going to take hours to download, so I can't take a look at it just yet. Sorry ..Steve

Hi
I uploaded my self created map (OSM-Karte.zip).
My internet connection is back to normal now and I downloaded it and I can see the problem in qlandkartegt - that it is not possible to select the map '0064 for download. That doesn't happen in mapsource, and I don't see anything strange in the tdb or overview map, so I would have to suspect that the problem lies with qlandkartegt. If you find out anything more let me know. ..Steve

Hi, Am 05.09.2010 21:25, schrieb Steve Ratcliffe:
If you find out anything more let me know.
I contacted the maintainer of QLandkarte GT again with another results of a test with a smaller map. When the number of tiles by increasing max-nodes was below a certain value all tiles were selectable. Additionally I wrote him your view of the problem. Now the problem is solved, as I see so far. In my and another map I can select all tiles. Thanks Josef

On 09/01/2010 10:17 PM, Ralf Kleineisel wrote:
In Qlandkartegt one tile is missing.
I have to correct the above sentence: The tile is not missing in Qlandkartegt, it is missing in the list of tiles when I select all tiles. The map data from that tile is visible, so it must be in the TDB file and it must have been imported by QLandkartegt. When I select all tiles by selecting everything with the mouse and click on "export map" I get a list where it is missing, though. This makes me believe that the problem is in QLandkartegt, not mkgmap.

Am 30.08.2010 21:19, schrieb Josef Latt:
Am 30.08.2010 19:32, schrieb Ralf Kleineisel:
On 08/30/2010 07:27 PM, Josef Latt wrote:
In QLandkarte GT I select the tiles (normally all) which I want to have on my GPS. But one tile can't be selected and is missing, when exporting the map in file 'gmapsupp.img' or sending the map to the GPS. In this case tile 30000082 is missing.
Has the 30000082.img file been created by mkgmap at all? Does the gmapsupp.img contain it (You can check with gmaptool)?
The answer for the first question is yes.
No.
I would try to split the 30000082 tile OSM file in two and then run mkgmap again.
That's in moment to high for me. Think that this must then be done every time I create a map.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Johann Gail
-
Josef Latt
-
Ralf Kleineisel
-
Steve Ratcliffe