
converted a pbf file to osm with convert osm and pbftoosm the file size = 20 gb in size after a 937 mb pbf file but when i go to split the 20 gb file into smaller parts before combining with mkgmap to img file . the splitter has a major failure in the main section . any ideas appreciated Stephen

On 11 Dec 2011, at 04:43, steve sgalowski <steve.sgalowski@gmail.com> wrote:
converted a pbf file to osm with convert osm and pbftoosm the file size = 20 gb in size after a 937 mb pbf file but when i go to split the 20 gb file into smaller parts before combining with mkgmap to img file . the splitter has a major failure in the main section . any ideas appreciated
Stephen
______________________________
You can split PBF files in splitter. Have you tried that?

this is the code i used , but again it failed java -xmx1000m -jar splitter.jar canada.osm.pbf --max-areas=1 --overlap=2000 --description=canada map stephen On Sun, Dec 11, 2011 at 1:41 PM, Charlie Ferrero <charlie@cferrero.net>wrote:
On 11 Dec 2011, at 04:43, steve sgalowski <steve.sgalowski@gmail.com> wrote:
converted a pbf file to osm with convert osm and pbftoosm the file size = 20 gb in size after a 937 mb pbf file but when i go to split the 20 gb file into smaller parts before combining with mkgmap to img file . the splitter has a major failure in the main section . any ideas appreciated
Stephen
______________________________
You can split PBF files in splitter. Have you tried that? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Stephen, 1) Move the input file to the end of the parameter list. 2) Change the descrtion to e.g. canada-map, else splitter will try to read a file named "map" If that doesn't help, please provide the stack dump and the version you use. Gerd Date: Sun, 11 Dec 2011 18:18:57 +1000 From: steve.sgalowski@gmail.com To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] splitter this is the code i used , but again it failed java -xmx1000m -jar splitter.jar canada.osm.pbf --max-areas=1 --overlap=2000 --description=canada map stephen On Sun, Dec 11, 2011 at 1:41 PM, Charlie Ferrero <charlie@cferrero.net> wrote: On 11 Dec 2011, at 04:43, steve sgalowski <steve.sgalowski@gmail.com> wrote:
converted a pbf file to osm with convert osm and pbftoosm the file size = 20 gb in size after a 937 mb pbf file
but when i go to split the 20 gb file into smaller parts before combining with mkgmap to img file .
the splitter has a major failure in the main section .
any ideas appreciated
Stephen
______________________________
You can split PBF files in splitter. Have you tried that? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi, you should remove --max-areas=1. This isn't useful, if you want to split your inputdata into several smaller parts ;) Henning

Hi, first problem is probably thej ava runtime parameter: -xmx1000m should be -Xmx1000m to be correct, and better something like -Xmx1500m or higher if your system allows that. Henning is right, --max-areas=1 tells splitter to re-read the input file for each area that it creates. This will be very slow. Gerd
Date: Sun, 11 Dec 2011 11:44:18 +0100 From: osm@aighes.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] splitter
Hi, you should remove --max-areas=1. This isn't useful, if you want to split your inputdata into several smaller parts ;)
Henning
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Attached a small patch that extends a little and updates the information provided by splitter help and may save some time to new comers. Hope it's worth to commit it. Carlos El 11/12/11 14:56, Gerd Petermann escribió:
Hi, first problem is probably thej ava runtime parameter: -xmx1000m should be -Xmx1000m to be correct, and better something like -Xmx1500m or higher if your system allows that. Henning is right, --max-areas=1 tells splitter to re-read the input file for each area that it creates. This will be very slow.
Gerd
Date: Sun, 11 Dec 2011 11:44:18 +0100 From: osm@aighes.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] splitter
Hi, you should remove --max-areas=1. This isn't useful, if you want to split your inputdata into several smaller parts ;)
Henning

On 11/12/11 17:17, Carlos Dávila wrote:
Attached a small patch that extends a little and updates the information provided by splitter help and may save some time to new comers. Hope it's worth to commit it.
Thanks, that is now committed. Only thing is that --cache is completely unused, so I made that clear. It could be removed altogether, but would have to find the other places that it mentioned and fix them too. ..Steve
participants (6)
-
Carlos Dávila
-
Charlie Ferrero
-
Gerd Petermann
-
Henning Scholland
-
Steve Ratcliffe
-
steve sgalowski