[Tile-serving] [openstreetmap/osm2pgsql] New "flex" backend (#1036)
Jochen Topf
notifications at github.com
Wed Jan 22 15:15:17 UTC 2020
@mboeringa You simply name the columns whatever you want and later fill them:
```
buildings = osm2pgsql.define_way_table('buildings', {
....
{ column = 'addr_street', type = 'text' },
....
})
...
function osm2pgsql.process_way(object)
...
buildings:add_row({ addr_street = object.tags['addr:street'] })
)
...
end
```
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1036#issuecomment-577233909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200122/ddbb0972/attachment.htm>
More information about the Tile-serving
mailing list