[pgrouting-users] osm2pgrouting configuration partially working
Nicolas Najdovski
nicolas.najdovski at student.uclouvain.be
Mon Jan 14 07:44:52 PST 2013
Dear all,
First of all, happy new year!
Ok, here is my problem. I'm using pgrouting and I would like to import
some special tags to my database.
So I modified the mapconfig file like this :
|<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<type name="highway" id="1">
<class name="motorway" id="101" />
<class name="motorway_link" id="102" />
<class name="motorway_junction" id="103" />
<class name="trunk" id="104" />
<class name="trunk_link" id="105" />
<class name="primary" id="106" />
<class name="primary_link" id="107" />
<class name="secondary" id="108" />
<class name="tertiary" id="109" />
<class name="residential" id="110" />
<class name="living_street" id="111" />
<class name="service" id="112" />
<class name="track" id="113" />
<class name="pedestrian" id="114" />
<class name="services" id="115" />
<class name="bus_guideway" id="116" />
<class name="path" id="117" />
<class name="cicleway" id="118" />
<class name="footway" id="119" />
<class name="bridleway" id="120" />
<class name="byway" id="121" />
<class name="steps" id="122" />
<class name="unclassified" id="100" />
<class name="road" id="100" />
</type>
<type name="cycleway" id="2">
<class name="lane" id="201" />
<class name="track" id="202" />
<class name="opposite_lane" id="203" />
<class name="opposite" id="204" />
</type>
<type name="tracktype" id="3">
<class name="grade1" id="301" />
<class name="grade2" id="302" />
<class name="grade3" id="303" />
<class name="grade4" id="304" />
<class name="grade5" id="305" />
</type>
<type name="junction" id="4">
<class name="roundabout" id="401" />
</type>*
<type name="amenity" id="5">
<class name="parking" id="501"/>
</type>
<type name="designation" id="6">
<class name="Malins" id="601"/>
<class name="Disk" id="602"/>
<class name="Vignette A" id="603"/>
<class name="Vignette B" id="604"/>
</type>
<type name="entrance" id="7">
<class name="yes" id="701"/>
</type>*
</configuration>|
|
|
So I'm confused because it's only partially working... I'm getting the
parking in my DB but not the tag designation (used for the owner
classification) nor the entrances!
How can I get them?
Here is an other question : Is that possible to import points keeping
some of their tags using osm2pgrouting?
Thank!
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20130114/b645dba9/attachment.html>
More information about the Pgrouting-users
mailing list