Seldom
March 13, 2011, 8:45pm
#1
I’m running mkgmap r1894, and if I include --remove-short-arcs in the batch file, as follows, the resulting IMG file gives an error in MapSource and appears empty to GPSMapedit although the IMG file size appears as 28MB in Windows Explorer.
java.exe -Xmx4000M -enableassertions -jar “c:\program files\mkgmap\mkgmap.jar” --route --remove-short-arcs=3 --description=“UT” --mapname=08250100 utah.osm
pause
If I delete --remove-short-arcs=3 the IMG compiles with lots of Zero Length Arc errors, but loads into MapSource.
The Source OSM file is Utah State from Cloudmade.
Thanks.
csdf
March 14, 2011, 7:00am
#2
Does it work as expected with the last stable version of mkgmap (1867)?
PS You can use -ea instead of -enableassertions (same command, just shorter)
Seldom
March 14, 2011, 3:30pm
#3
Same problem with r1867 I’m afraid.
csdf
March 14, 2011, 6:05pm
#4
I use --remove-short-arcs without stipulating a value…does that work for you? What about difference values (5, 2.6, 10 etc)?
Seldom
March 14, 2011, 7:01pm
#5
It doesn’t work without radius being specified either.
I should probably mention that I’m using a Dell PC running Win7 64.
Seldom
March 23, 2011, 6:35pm
#6
I think the problem was with the cloudmade data. When I ran the same batch file on an extract from Geofabrik, --remove-short-arcs=3 worked fine.