[OSM-dev] nodes with tag 'shop' and 'historic' in PostGIS

Jon Burgess jburgess777 at googlemail.com
Fri Jan 2 16:35:23 GMT 2009


On Fri, 2009-01-02 at 14:44 +0100, Helena Ludwig wrote:
> Hi,
> I am using PostGIS with some OSM testdata inside. I used the osm2pgsql
> converter but I noticed that nodes with tag 'shop' and
> 'historic' (osm_points) are not added to SQL. Is there a possibility
> to add these tags to the database? Or what can I do to create a column
> in the osm_point table with these keys?
> Thanks,
> Lenu 

Add the following lines into the default.style file:

node   shop        text         linear
node   historic    text         linear

Then re-run osm2pgsql to import the data it should create these new
columns and fill in the appropriate values.

	Jon






More information about the dev mailing list