[pgrouting-dev] OSM processing erases some nodes?
Paulo Figueiras
paf at uninova.pt
Thu Jan 30 06:32:25 PST 2014
Hello Daniel, Manikandra.
osm2pgrouting ignores OSM tags, which are not specified in the
> configuration file:
> https://github.com/pgRouting/osm2pgrouting/blob/master/mapconfig.xml
>
> Not sure this is the problem though, but might be.
>
>
I'm quite sure that's not the problem, because I had to complete your
configuration file (mapconfig.xml) to not only catch all the highway and
road types (for car, walking, bike), but I also added the train and subway
tags, all corresponding to OSM WAYS.
I tried several routing engines, and most of them do some kind of
pre-processing of the OSM nodes and ways, in order to cut off groups of
nodes, for instance, because they form a straight line, and there is no
need to have a way with so many nodes. This node cleansing also aids in
terms of performance.
Do you perform any kind of node cleansing in your algorithms? I think not,
but I wanted to make sure :)
I noticed that, when running osm2pgrouting, the algorithm divides OSM ways
that have more than one OSM node into several arcs, or individual ways,
with only two nodes, so probably it is not cutting the nodes.
Maybe the way I used to check the route was not the greatest ever :) I did
a query to get all y1,x1 coordinates of the edges resulting from a
Dijkstra's route. Then, I copied the coordinates in GPX format into
http://openrouteservice.org/ and checked the result.
When inside cities, the route is always on the road, but when the route
continues to highways and motorways between urban agglomerates, the route
off the road issue starts to be more frequent.
Do you have any ideas on this? Is it my fault :) ?
Thanks in advance. Cheers,
--
Paulo Figueiras <paf at uninova.pt <%3Crddc at uninova.pt>>
[image: cid:image002.jpg at 01C8AEC7.2F6E45A0] <http://www.uninova.pt/>
UNINOVA, Centre of Technology and Systems
Campus da Caparica, Quinta da Torre
2829-516 Monte Caparica, PORTUGAL
Phone: (+351) 212948312 | Fax: (+351) 212957786 | Website:
http://www.uninova.pt/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20140130/5cd53ac7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2416 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20140130/5cd53ac7/attachment.jpg>
More information about the pgrouting-dev
mailing list