Opened 10 years ago

Closed 9 years ago

#645 closed defect/bug (worksforme)

Maps generated with maptool are not usable

Reported by: elhennig Owned by: number6
Priority: major Milestone:
Component: tools Version: git master
Severity: Keywords: maptool map planet bin .bin
Cc: nick@…

Description

I generated a map from http://planet.openstreetmap.org/planet-latest.osm.bz2 with the latest maptool and navit on my freerunner shows the following error:

map_binfile:map_binfile_open:invalid file format for '/media/card/nvmaps/planet.bin'

The command used is: bzcat $srcFile | $mapToolBinary -z 9 $destFile

Change History (4)

comment:1 in reply to: ↑ description Changed 10 years ago by number6

Replying to http://wiki.navit-project.org/index.php/user:elhennig:

map_binfile:map_binfile_open:invalid file format for '/media/card/nvmaps/planet.bin'

If you're looking for the entire planet, can you please try http://maps.navit-project.org/planet.bin (~4GB)

If that fails, can you please supply the map data line(s) from your navit.xml file.

comment:2 Changed 10 years ago by number6

  • Owner changed from KaZeR to number6
  • Status changed from new to assigned

comment:3 Changed 9 years ago by number6

  • Cc nick@… added
  • Keywords maptool map planet bin .bin added

Can you try using

bzcat planet.osm | ./maptool -6 planet.bin

The -6 generates a zip64 archive and fixed the problem for me.

Please let me know if using the -6 fixes the problem for you, so I can close off this ticket.

N

comment:4 Changed 9 years ago by korrosa

  • Resolution set to worksforme
  • Status changed from assigned to closed

Is this ticket still valid for you? Changing to worksforme...

Note: See TracTickets for help on using tickets.