
Aloha all- I am relatively new to working with mkgmap, so I apologize if I'm doing something really stupid. I am trying to make a routable map of Illinois, in the USA. I was able to do so for Wisconsin without any problem, but with the Illinois osm.bz2 file I downloaded both from cloudmade.com and geofrabrik.de, I get a completely empty map on my Garmin 62st. Here are the parameters I'm using: java -Xmx4000m -jar ~/splitter-r179/splitter.jar illinois.osm.bz2 Then I build the map with: java -jar -Xmx4000M ~/mkgmap-r2012/mkgmap.jar --max-jobs --adjust-turn-headings --ignore-maxspeeds --ignore-turn-restrictions --remove-short-arcs=4 --mapname="Test Illinois" --description="Test Illinois" --net --route --transparent --gmapsupp -c template.args This worked fine for the wisconsin.osm.bz2 file I have, but not Illinois. I downloaded an Illinois map from http://garmin.openstreetmap.nl/, and it worked perfectly. I searched around for the parameters he's passing to mkgmap, and I built this command from it: java -Xmx2048M -ea -jar ~/mkgmap-r2012/mkgmap.jar --code-page=1252 --name-tag-list=name:en,int_name,name --remove-short-arcs --add-pois-to-areas --make-opposite-cycleways --description='Zesty Ill NL Test' --net --route --series-name='OSM World Routable' --gmapsupp -c template.args But again no joy. Is it possible the splitter parameters are wrong for what I'm trying to do? Thanks for any info, Tacho

On Fri, Sep 09, 2011 at 12:23:52AM -0500, Ron Olson wrote:
But again no joy. Is it possible the splitter parameters are wrong for what I'm trying to do?
What do you have in the areas.list generated by splitter? Do the tile names match the file names in the template.args that you passed to mkgmap? Did you try removing all *.img and *.osm.gz files before running splitter and mkgmap? If all that is correct, then I think you should enable logging and check the mkgmap log output for further hints. But an empty map sounds like there should be something seriously wrong with the input parameters. Marko

Hi Marko- Thanks for the info. I started with an empty directory, just the osm.bz2 file, and after the splitter was done I did have a bunch of img and osm.pbf files along with template.args and areas.list. The areas.list file matches the template.args file. I ran mkgmap with a logging.properties file and output it, but all I saw were a bunch of warnings regarding various polygons, streets, etc. There were no error or catastrophic problems I saw. I will try again, stripping everything out but the bare minimum and see what I get, then add the parameters back and see what happens. On 9/9/11 12:39 AM, "Marko Mäkelä" <marko.makela@iki.fi> wrote:
On Fri, Sep 09, 2011 at 12:23:52AM -0500, Ron Olson wrote:
But again no joy. Is it possible the splitter parameters are wrong for what I'm trying to do?
What do you have in the areas.list generated by splitter? Do the tile names match the file names in the template.args that you passed to mkgmap? Did you try removing all *.img and *.osm.gz files before running splitter and mkgmap?
If all that is correct, then I think you should enable logging and check the mkgmap log output for further hints. But an empty map sounds like there should be something seriously wrong with the input parameters.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Fri, Sep 09, 2011 at 09:09:49PM -0500, Ron Olson wrote:
I started with an empty directory, just the osm.bz2 file, and after the splitter was done I did have a bunch of img and osm.pbf files along with template.args and areas.list.
Splitter should not generate any img files, only osm.pbf or osm.gz.
I will try again, stripping everything out but the bare minimum and see what I get, then add the parameters back and see what happens.
Can you list the sizes of the *.img and *.osm.pbf files? Could this be a problem in the --gmapsupp step? Are all tile *.img files empty? What if you do the --gmapsupp step separately (mkgmap --gmapsupp *.img)? Marko

InterestingI stripped it down to: java -Xmx2048M -jar ~/mkgmap/mkgmap.jar --gmapsupp -c template.args And got the same problem; empty map. Don't know what I'm doing wrong. :( On 9/9/11 12:39 AM, "Marko Mäkelä" <marko.makela@iki.fi> wrote:
On Fri, Sep 09, 2011 at 12:23:52AM -0500, Ron Olson wrote:
But again no joy. Is it possible the splitter parameters are wrong for what I'm trying to do?
What do you have in the areas.list generated by splitter? Do the tile names match the file names in the template.args that you passed to mkgmap? Did you try removing all *.img and *.osm.gz files before running splitter and mkgmap?
If all that is correct, then I think you should enable logging and check the mkgmap log output for further hints. But an empty map sounds like there should be something seriously wrong with the input parameters.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Marko Mäkelä
-
Ron Olson