<p>It sounds like your problem was with the osm2pgsql style, as someone else has said.   <br>
One other thing to watch is that there are a couple of tags excluded by osm2pgsql even if they are in the style file.   From memory I think they are source= and note=.<br>
That caught me out a couple of weeks ago when I was rendering based on the source tag - had to modify the osm2pgsql code to get it to work.</p>
<p>Graham</p>
<p><blockquote type="cite">On Aug 18, 2010 4:52 PM, "Peter Körner" <<a href="mailto:osm-lists@mazdermind.de">osm-lists@mazdermind.de</a>> wrote:<br><br>Am 18.08.2010 15:48, schrieb Ákos Maróy:<p><font color="#500050">
>
> thus, it seems my custom tag of aviation_area=danger is omitted in the
> import.
</font></p>
First, there's in normal use cases no need to query planet_osm_ways, planet_osm_nodes and planet_osm_rels -- they're for internal use by osm2pgsql's slim mode.<br>
<br>
Use planet_osm_line, planet_osm_polygon and planet_osm_point, these are the tables that the mapnik style uses.<br>
<br>
Next, osm2pgsql will throw any tags away that aren't listed in the style file. The default style file looks like [1]. For your case it would be the easiest way to add the columns needed for your style to this file and specify it on the osm2pgsql command line.<p>
<font color="#500050">

>> To add your own rendering rules, look at the osm.xml after running
>> generate_xml.py. It inclu...</font></p>
See above.<p><font color="#500050">

> is there something special I have to do for the process to take my
> custom tag into account?
</font></p>
Yes, see above.<br>
<br>
Peter<br>
<br>
[1] <<a href="http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style" target="_blank">http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style</a>><p><font color="#500050">

_______________________________________________
dev mailing list
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a href="http://list.">http://list.</a>..</font></p></blockquote></p>