[pgrouting-users] PgRouting-Problems with own OSM-data
Kai-Behncke at gmx.de
Sat Apr 11 05:22:42 EDT 2009
I try to use own osm-geodata for routing. I took them as an shapefile-extract and brought
them to PostgreSQL/PostGIS (so I thought they would have a correct topology) but it doesn`t seem so.
The most time I try to get a result I don`t get anything.
You can see in the following picture:
The xml-result then is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
If I get a result it`s mostly wrong, as you can see here:
The route is far too long.
How can this be?
In the victoria-example it works nice:
I changed the code from the tutorial (foss4g2007) a bit to adapt the example to OpenLayers 2.7, so I don`t use
...but I think this shouldn`t create the problem.
I guess it`s more a geodata-problem?
Problem 2 could be occur because the edges of the geometry are too long, right?
But does it mean in the victoria-data e.g. that a road is separated into many,many short edges? I wonder why in sreenshot 3 the route ends at the red point (and not at the end of the road, what would be the case with my data).
I really don`t understand problem 1 because the geodata exist where I put start and finalpoint. Has anybody an explanation for that?
Thank you very much, Kai
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
More information about the Pgrouting-users