You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-09-09 17:40:16

MacTarmac
Member
Registered: 2011-08-30
Posts: 25

Corrupted IMG file

Building some maps from the geofabrik.de files, but somehow Mapsource does not like a part of the generated map.

Procedure:
Download the Netherlands file from geofabrik
Use splitter-r179 to extract this tile:
63240024: 2455552,309248 to 2467840,337920
#       : 52.690430,6.635742 to 52.954102,7.250977

Than build the map using mkgmap 1995 (tried 2022 as well) with the following switches:

java -ea -Xmx1500m -jar mkgmap.jar --tdbfile --overview-mapname=40000001 --route --gmapsupp --family-id=639 --output-dir=C:\OSM 63240024.osm.pbf

This creates a map that can be opened in Mapsource (v. 6.16.3). Most of the map is OK, but in an area just to the north-west of Neede, if I hover a road, the yellow info box appears at another road on the map. If I try to create a route through this area, Mapsource coughs up an error (some info about Mapsource and installed maps, error code 3 and would I like to report this to Garmin).

Example: Kerkhofsweg at N52.14183 E6.58929


On the maps from garmin.openstreetmap.nl, this area is OK, so what am I missing in my procedure?

Offline

#2 2011-09-10 16:21:27

MacTarmac
Member
Registered: 2011-08-30
Posts: 25

Re: Corrupted IMG file

Fixed!

This was caused by "zero length arcs", adding the switch "--remove-short-arcs" produces a correct map,

Offline

Board footer

Powered by FluxBB