logo separator

[mkgmap-dev] Splitter question

From Danny Backx danny.backx at scarlet.be on Mon Nov 15 20:03:56 GMT 2010

After a *lot* of messages like these :

Node 986712679 in too many areas. Already in areas 0xd0a0706, trying to
add area 0xe
Node 986712679 in too many areas. Already in areas 0xd0a0706, trying to
add area 0x11
Node 986712679 in too many areas. Already in areas 0xd0a0706, trying to
add area 0x12

the command

java -jar splitter-r123/splitter.jar --mapid=400 --max-nodes=1000
--resolution=15 iso-nl-259.osm

did produce 30 output files. This may be too much, so I tried again with
max-nodes=10000 (and resolution=15). Similar result : 30 output files.
This time I logged the output via script : > 3 million lines of
messages.

max-nodes=10000 , resolution=14 --> 6 files, "only" 120000 lines of
output in typescript.

BTW I also tried decreasing max-nodes without changing the resolution,
this is what Felix wrote. That didn't work : the file never got split
further.

So how do I describe what to do, in documentation for RoadMap users ?

	Danny


On Sun, 2010-11-14 at 16:12 -0600, Scott Crosby wrote:
> Try increasing the resolution. The resolution controls the minimum
> tile size. Note that increasing the resolution by 1 quadruples the
> memory use of one of the internal arrays used to determine split
> points. I suggest using 13 or 14. Alternatively, you can split the
> geographic extent of the too-large tile manually in areas.list.
> 
> 
> Scott
> 
> 
> 
> On Sun, Nov 14, 2010 at 8:16 AM, Danny Backx <danny.backx at scarlet.be>
> wrote:
>         Hi,
>         
>         I've been using splitter to cut European country files into
>         pieces that
>         RoadMap will cope with. The country files are from GeoFabrik
>         (http://download.geofabrik.de/osm/europe), RoadMap is at
>         http://sourceforge.net/projects/roadmap .
>         
>         This works very well except for a few cases in which some of
>         the pieces
>         don't appear to get any smaller when I decrease max-nodes.
>         
>         An example
>         http://danny.backx.info/download/roadmap/iso-nl-259.osm.gz
>         has been created by
>         java -jar splitter-r123/splitter.jar --mapid=001
>         --max-nodes=10000
>         netherlands-2010.11.13.osm .
>         
>         Inspection of the files created (only some shown) reveals
>         variation in
>         their size :
>         -rw-rw-r-- 1 danny danny  3157377 2010-11-14 11:11
>         iso-nl-001.osm.gz
>         -rw-rw-r-- 1 danny danny  1618173 2010-11-14 11:11
>         iso-nl-002.osm.gz
>         -rw-rw-r-- 1 danny danny   926847 2010-11-14 11:11
>         iso-nl-003.osm.gz
>         -rw-rw-r-- 1 danny danny  3367783 2010-11-14 11:11
>         iso-nl-004.osm.gz
>         -rw-rw-r-- 1 danny danny  2808994 2010-11-14 11:11
>         iso-nl-005.osm.gz
>         -rw-rw-r-- 1 danny danny  2907610 2010-11-14 11:11
>         iso-nl-006.osm.gz
>         -rw-rw-r-- 1 danny danny  6003918 2010-11-14 11:11
>         iso-nl-007.osm.gz
>         -rw-rw-r-- 1 danny danny  2919463 2010-11-14 11:11
>         iso-nl-008.osm.gz
>         -rw-rw-r-- 1 danny danny  3121867 2010-11-14 11:11
>         iso-nl-009.osm.gz
>         -rw-rw-r-- 1 danny danny  2277160 2010-11-14 11:11
>         iso-nl-010.osm.gz
>         -rw-rw-r-- 1 danny danny   391572 2010-11-14 11:11
>         iso-nl-011.osm.gz
>         -rw-rw-r-- 1 danny danny  2073021 2010-11-14 11:11
>         iso-nl-012.osm.gz
>         -rw-rw-r-- 1 danny danny 14619554 2010-11-14 11:18
>         iso-nl-259.osm.gz
>         
>         Is there anything I can do to deal with this ?
>         
>                Danny
>         --
>         Danny Backx ; danny.backx - at - scarlet.be ;
>         http://danny.backx.info
>         
>         _______________________________________________
>         mkgmap-dev mailing list
>         mkgmap-dev at lists.mkgmap.org.uk
>         http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 

-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info




More information about the mkgmap-dev mailing list