<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
With route_name or not in default.style, in slim or non-slim mode,
with or without hstore, still no relations in planet_osm_line !<br>
<br>
I just added the following entry in default.style:<br>
<blockquote>way piste:type text linear<br>
way route_name text linear<br>
</blockquote>
If I take the hstore option (-k), I have the relation in
planet_osm_rels:<br>
<blockquote>select * from planet_osm_rels where id = 1401913;<br>
id | way_off | rel_off | parts |
members |
tags | pending <br>
---------+---------+---------+---------------------+-----------------------------+------------------------------------------------------------------------+---------<br>
1401913 | 0 | 2 | {48769799,97599611} |
{w97599611,"",w48769799,""} |
{type,route,route,ski,piste:type,nordic,name,"Haute
Joux",color,green} | f<br>
</blockquote>
However, it is not in_planet_osm_line.<br>
<blockquote>select * from planet_osm_line where osm_id = -1401913;
-> null<br>
</blockquote>
To make this test, I directly get a small extract from the export
page to be sure my osm file is ok, if somebody is cool enough to
test, it's available here (1.6MB) <a class="moz-txt-link-freetext"
href="http://www.pistes-nordiques.org/download/map.osm">http://www.pistes-nordiques.org/download/map.osm</a>.<br>
<br>
I use ubuntu 10.04, postgresql 8.4.10, postgis 2.0, libgeos 3.2.2.<br>
<br>
Find here the complete osm2pgsql install and output:
<a class="moz-txt-link-freetext" href="http://www.pistes-nordiques.org/download/osm2pgsql.out">http://www.pistes-nordiques.org/download/osm2pgsql.out</a><br>
<br>
Yves<br>
</body>
</html>