Sorry, I took the subject from an old topic.

Here an extract of my osm file:

   <relation id="1401913" version="1" timestamp="2011-01-31T21:31:42Z"
   changeset="7149413" uid="171657" user="yvecai">
   <member type="way" ref="48769799" role=""/>
   <member type="way" ref="97599611" role=""/>
   <tag k="color" v="green"/>
   <tag k="name" v="Haute Joux"/>
   <tag k="piste:type" v="nordic"/>
   <tag k="route" v="ski"/>
   <tag k="type" v="route"/>
   </relation>

Which contains 49 relations according to osm2pgsql output, but the following requests find nothing:

   select count(*) from planet_osm_line where osm_id = -1401913;
   select count(*) from planet_osm_line where osm_id < 0;

and the column route_name does not exists.

osm2pgsql SVN version 0.80.0
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to