logo separator

[mkgmap-dev] Routing Problem in Southern Minnesota

From Jeffrey Ollie jeff at ocjtech.us on Thu Dec 24 20:28:43 GMT 2009

On Tue, Dec 22, 2009 at 4:36 PM, Mark Burton <markb at ordern.com> wrote:
>
> I have just downloaded that area (with josm), made a map with the
> current mkgmap and tested the routing on I-35 using mapsource. It can
> route from the bottom of I-35 to the top without diverting off as shown
> in your picture. So perhaps the data you have is broken?

I was wondering if the data was getting munged when I was merging all
of the planet and daily files, so I waited for yesterday's planet file
and I'm still seeing the same problem.  I'm using splitter r103,
mkgmap r1440 and osmosis

$ md5sum -c planet-091223.osm.bz2.md5
planet-091223.osm.bz2: OK

$ bzcat planet-091223.osm.bz2 | ~/osmosis-0.32.1/bin/osmosis -verbose
--read-xml file=/dev/stdin --bounding-box top=50 left=-98 bottom=40
right=-89 --write-xml file=iowa+minnesota-091223.osm
Dec 24, 2009 10:05:21 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.32.1
Dec 24, 2009 10:05:21 AM org.openstreetmap.osmosis.core.TaskRegistrar
loadJPFPlugins
FINE: Searching for JPF plugins.
Dec 24, 2009 10:05:21 AM org.openstreetmap.osmosis.core.TaskRegistrar
loadJPFPlugins
FINE: Registering the core plugin.
Dec 24, 2009 10:05:22 AM org.openstreetmap.osmosis.core.TaskRegistrar
loadJPFPlugins
FINE: Registering the extension plugins.
Dec 24, 2009 10:05:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline prepare
FINE: Building tasks.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline buildTasks
FINE: Created task "1-read-xml"
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline buildTasks
FINE: Created task "2-bounding-box"
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline buildTasks
FINE: Created task "3-write-xml"
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline prepare
FINE: Connecting tasks.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PipeTasks putTask
FINE: Task "1-read-xml" produced unnamed pipe stored at level 1 in the
default pipe stack.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline connectTasks
FINE: Connected task "1-read-xml"
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PipeTasks retrieveTask
FINE: Task "2-bounding-box" consumed unnamed pipe stored at level 1 in
the default pipe stack.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PipeTasks putTask
FINE: Task "2-bounding-box" produced unnamed pipe stored at level 1 in
the default pipe stack.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline connectTasks
FINE: Connected task "2-bounding-box"
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PipeTasks retrieveTask
FINE: Task "3-write-xml" consumed unnamed pipe stored at level 1 in
the default pipe stack.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.Pipeline connectTasks
FINE: Connected task "3-write-xml"
Dec 24, 2009 10:05:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
execute
FINE: Launching task 1-read-xml in a new thread.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
execute
FINE: Task 2-bounding-box is passive, no execution required.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
execute
FINE: Task 3-write-xml is passive, no execution required.
Dec 24, 2009 10:05:22 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Dec 24, 2009 10:05:22 AM
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
waitForCompletion
FINE: Waiting for task 1-read-xml to complete.
Dec 24, 2009 12:11:29 PM
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
waitForCompletion
FINE: Task 2-bounding-box is passive, no completion wait required.
Dec 24, 2009 12:11:29 PM
org.openstreetmap.osmosis.core.pipeline.common.PassiveTaskManager
waitForCompletion
FINE: Task 3-write-xml is passive, no completion wait required.
Dec 24, 2009 12:11:29 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
Dec 24, 2009 12:11:29 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 7568070 milliseconds.

$ splitter --mapid=72900001 iowa+minnesota-091223.osm
cache=
description=
geonames-file=
legacy-mode=false
mapid=72900001
max-areas=255
max-nodes=1600000
mixed=false
overlap=2000
resolution=13
split-file=
status-freq=120
write-kml=
Elapsed time: 0s   Memory: Current 87MB (2MB used, 85MB free) Max 1294MB
Time started: Thu Dec 24 12:12:46 CST 2009
Map is being split for resolution 13:
 - area boundaries are aligned to 0x800 map units
 - areas are multiples of 0x1000 map units wide and high
The input osm file(s) will be re-parsed during the split (slower)
because no --cache parameter was specified
Processing iowa+minnesota-091223.osm
A <bounds/> tag was found. Area covered is
(39.99999761581421,-97.99999952316284) to
(49.99998092651367,-88.99998664855957)
2,500,000 nodes processed...
5,000,000 nodes processed...
7,500,000 nodes processed...
10,000,000 nodes processed...
12,500,000 nodes processed...
15,000,000 nodes processed...
17,500,000 nodes processed...
A total of 19,756,777 nodes, 0 ways and 0 relations were processed in 1 file
Min node ID = 257588
Max node ID = 598382453
Time: Thu Dec 24 12:14:04 CST 2009
Exact map coverage is (39.99999761581421,-97.99999952316284) to
(49.99998092651367,-88.99998664855957)
Trimmed and rounded map coverage is (39.990234375,-98.0419921875) to
(50.009765625,-88.9892578125)
Splitting nodes into areas containing a maximum of 1,600,000 nodes each...
19 areas:
Area 72900001 covers (0x1c7000,0xffba4800) to (0x1dc000,0xffbc2800)
Area 72900002 covers (0x1c7000,0xffbc2800) to (0x1dc000,0xffbe1800)
Area 72900003 covers (0x1dc000,0xffba4800) to (0x1f6000,0xffbc0800)
Area 72900004 covers (0x1dc000,0xffbc0800) to (0x1f6000,0xffbe1800)
Area 72900005 covers (0x1c7000,0xffbe1800) to (0x1d9000,0xffbfd800)
Area 72900006 covers (0x1c7000,0xffbfd800) to (0x1d1000,0xffc0b800)
Area 72900007 covers (0x1d1000,0xffbfd800) to (0x1d9000,0xffc0b800)
Area 72900008 covers (0x1d9000,0xffbe1800) to (0x1f6000,0xffbf7800)
Area 72900009 covers (0x1d9000,0xffbf7800) to (0x1f6000,0xffc0b800)
Area 72900010 covers (0x1f6000,0xffba4800) to (0x214000,0xffbc7800)
Area 72900011 covers (0x1f6000,0xffbc7800) to (0x214000,0xffbdc800)
Area 72900012 covers (0x214000,0xffba4800) to (0x239000,0xffbb5800)
Area 72900013 covers (0x214000,0xffbb5800) to (0x239000,0xffbdc800)
Area 72900014 covers (0x1f6000,0xffbdc800) to (0x208000,0xffbf5800)
Area 72900015 covers (0x1f6000,0xffbf5800) to (0x1ff000,0xffc0b800)
Area 72900016 covers (0x1ff000,0xffbf5800) to (0x208000,0xffc0b800)
Area 72900017 covers (0x208000,0xffbdc800) to (0x213000,0xffbfd800)
Area 72900018 covers (0x208000,0xffbfd800) to (0x213000,0xffc0b800)
Area 72900019 covers (0x213000,0xffbdc800) to (0x239000,0xffc0b800)
Writing out split osm files Thu Dec 24 12:14:04 CST 2009
Processing 19 areas in a single pass
Starting pass 1 of 1, processing 19 areas (72900001 to 72900019)
Processing iowa+minnesota-091223.osm
A <bounds/> tag was found. Area covered is
(39.99999761581421,-97.99999952316284) to
(49.99998092651367,-88.99998664855957)
2,500,000 nodes processed...
Elapsed time: 2m 0s   Memory: Current 355MB (245MB used, 110MB free) Max 1294MB
5,000,000 nodes processed...
7,500,000 nodes processed...
10,000,000 nodes processed...
Elapsed time: 4m 0s   Memory: Current 294MB (143MB used, 151MB free) Max 1294MB
12,500,000 nodes processed...
15,000,000 nodes processed...
17,500,000 nodes processed...
Elapsed time: 6m 0s   Memory: Current 504MB (313MB used, 191MB free) Max 1294MB
Writing ways Thu Dec 24 12:19:30 CST 2009
500,000 ways processed...
1,000,000 ways processed...
Elapsed time: 8m 0s   Memory: Current 382MB (297MB used, 85MB free) Max 1294MB
Writing relations Thu Dec 24 12:21:44 CST 2009
Wrote 19,756,777 nodes, 1,257,878 ways, 5,498 relations
Time finished: Thu Dec 24 12:21:45 CST 2009
Total time taken: 538s

$ time mkgmap -c template.args
SEVERE (RoadNetwork): Road Larman Dr (OSM id 18098330) contains zero length arc
SEVERE (RoadNetwork):
http://www.openstreetmap.org/?lat=43.82189&lon=-91.62808&zoom=17

real	7m52.784s
user	13m15.316s
sys	0m23.700s

Here's what I'm using for the template.args:

style-file: /home/jcollie/iowa
style: mystyle
max-jobs
net
route
gmapsupp
remove-short-arcs
add-pois-to-named-areas
tdbfile
overview-mapname: iowa_overview
overview-mapnumber: 72900000
series-name: Series Name
family-id: 70000000
family-name: Family Name
country-name: United States of America
country-abbr: USA
region-name: Iowa
region-abbr: IA
product-id: 29

mapname: 72900001
description: Description 72900001
input-file: 72900001.osm.gz

mapname: 72900002
description: Description 72900002
input-file: 72900002.osm.gz

mapname: 72900003
description: Description 72900003
input-file: 72900003.osm.gz

mapname: 72900004
description: Description 72900004
input-file: 72900004.osm.gz

mapname: 72900005
description: Description 72900005
input-file: 72900005.osm.gz

mapname: 72900006
description: Description 72900006
input-file: 72900006.osm.gz

mapname: 72900007
description: Description 72900007
input-file: 72900007.osm.gz

mapname: 72900008
description: Description 72900008
input-file: 72900008.osm.gz

mapname: 72900009
description: Description 72900009
input-file: 72900009.osm.gz

mapname: 72900010
description: Description 72900010
input-file: 72900010.osm.gz

mapname: 72900011
description: Description 72900011
input-file: 72900011.osm.gz

mapname: 72900012
description: Description 72900012
input-file: 72900012.osm.gz

mapname: 72900013
description: Description 72900013
input-file: 72900013.osm.gz

mapname: 72900014
description: Description 72900014
input-file: 72900014.osm.gz

mapname: 72900015
description: Description 72900015
input-file: 72900015.osm.gz

mapname: 72900016
description: Description 72900016
input-file: 72900016.osm.gz

mapname: 72900017
description: Description 72900017
input-file: 72900017.osm.gz

mapname: 72900018
description: Description 72900018
input-file: 72900018.osm.gz

mapname: 72900019
description: Description 72900019
input-file: 72900019.osm.gz

My style file is identical to the default except that it add highway
shields to interstates and US highways.

-- 
Jeff Ollie



More information about the mkgmap-dev mailing list