[Tile-serving] [openstreetmap/osm2pgsql] Adding User Defined Columns (#622)
Paul Norman
notifications at github.com
Wed Sep 7 23:10:58 UTC 2016
You can add a column to the tables and it will only be filled in if the tag transform returns a value for that column. If using hstore any tags from the transform without a column in the style file will go into hstore.
You don't want to do this because on update any information you have added will be lost. Instead, create a new table storing OSM ID and your properties and `LEFT JOIN` them together at query time, or something more sophisticated.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/622#issuecomment-245447397
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160907/6cb63c68/attachment.html>
More information about the Tile-serving
mailing list