[OSM-dev] osm2pgsql => default.style => add a new line to get a new column in the database postgis

Michael musset mickamusset at gmail.com
Fri Jan 15 15:29:26 GMT 2010


Hi,

I want to add a new column in the postgis database,
so i added a new line in the default.style file.
like that :

node       mac   text     linear


in my osm file, i have something like that :

 <node id="606965295" version="2" timestamp="2010-01-13T15:17:46Z"
uid="215490" user="pfe" changeset="3556207" lat="48.8516805"
lon="2.2870064">
    <tag k="mac" v="3530"/>
  </node>


and when i tape the command      osm2pgsql -l -d gis -H localhost -U gisuser
planet.osm

it works fine, no errors, but when i'm searching a field in the row mac, i
found nothing ..... is that normal ?


thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100115/eeca95b3/attachment.html>


More information about the dev mailing list