Use the --max-nodes=xxxxxxx option for splitter. I currently use a value of 1000000
http://www.mkgmap.org.uk/page/tile-splitter Paul > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Tony Morris > Sent: 26 February 2009 08:23 > To: [email protected] > Subject: Re: [OSM-newbies] OSM -> Garmin > > Thanks Paul for the tips. > > The problem when I try this method is that after splitting > the osm file, I have three osm files which I try to run > through mkgmap. Two of them succeed but one of them still > claims I need to split further: > > SEVERE (BlockManager): overflowed directory with max block > 202, current=203 There is not enough room in a single garmin > map for all the input data > The .osm file should be split into smaller pieces first. > > But even if I try to split this file again using splitter.jar > I only get one file as output -- apparently it's already > small enough according to splitter.jar but not mkgmap. > > > Paul wrote: > > Mkgmap can go direct from .osm to .img > > > > Presumably the .osm file you have is too large for a single tile so > > you > will > > also need the splitter tool they provide > > > > It's then a case of the following pseudo-code > > > > java -jar splitter.jar australia.osm > > java -jar mkgmap.jar --latin1 *.osm.gz > > > > If you get errors with heap space when running mkgmap try the > > following > > > > java -Xmx1024M -jar mkgmap.jar --latin1 *.osm.gz > > > > The value of -Xmx can go to 2048M on 32 bit or higher on 64 > > > > If you want extra options (including experimental routable > maps) then > > a suitable command line might also be > > > > java -Xmx2048M -jar --latin1 --gmapsupp --route --net > --code-page=1252 > > --country-name="Australia" -- country-abbr=AUS --tdbfile --tdb-v4 > > *.osm.gz > > > > Be careful with wrapping on the above > > > > It may also be quicker to gunzip the files manually before running > > them through mkgmap > > > > Paul > > > >> -----Original Message----- > >> From: [email protected] > >> [mailto:[email protected]] On Behalf Of Tony Morris > >> Sent: 24 February 2009 09:29 > >> To: [email protected] > >> Subject: [OSM-newbies] OSM -> Garmin > >> > > Hello everyone, > > I have tried in vain to generate Garmin maps from OSM data > > (specifically, the australia extract of planet.osm). > > I am using osm2mp to convert to Polish format, then I have tried > > cgpsmapper to go from .mp to .img and hit problems: > > error R011: NODID points cannot be closer than 5.4m > > > > I tried using mkgmap but ran into problems that way too (I > forget the > > details). > > > > 1) Am I doing it right? > > 2) Can a Garmin map be built from OSM easily some other way > > (preferably Linux, but Windows if I must)? > > 3) Is there a free (as in speech) program equivalent to cgpsmapper > > (specifically to go from Polish to Garmin)? > > > > Thanks for any tips. > > > >> > >> > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies > >> > > > _______________________________________________ > > newbies mailing list > > [email protected] > > http://lists.openstreetmap.org/listinfo/newbies > > > > > -- > Tony Morris > http://tmorris.net/ > > > > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies > _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

