<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Sorry, I took the subject from an old topic.<br>
    <br>
    Here an extract of my osm file:<br>
    <blockquote><relation id="1401913" version="1"
      timestamp="2011-01-31T21:31:42Z" changeset="7149413" uid="171657"
      user="yvecai"><br>
              <member type="way" ref="48769799" role=""/><br>
              <member type="way" ref="97599611" role=""/><br>
              <tag k="color" v="green"/><br>
              <tag k="name" v="Haute Joux"/><br>
              <tag k="piste:type" v="nordic"/><br>
              <tag k="route" v="ski"/><br>
              <tag k="type" v="route"/><br>
          </relation><br>
    </blockquote>
    Which contains 49 relations according to osm2pgsql output, but the
    following requests find nothing:<br>
    <blockquote>select count(*) from planet_osm_line where osm_id =
      -1401913;<br>
      select count(*) from planet_osm_line where osm_id < 0;<br>
    </blockquote>
    and the column route_name does not exists.<br>
    <br>
    osm2pgsql SVN version 0.80.0<br>
  </body>
</html>