[Tile-serving] [osm2pgsql] Bad multipolygon tags (#80)
apmon
notifications at github.com
Thu Sep 19 16:35:01 UTC 2013
For the lua processing, there isn't much (any) documentation yet.
You activate it with a command line parameter to osm2pgsql of "--tag-transform-script style.lua", where style.lua is the lua script doing the tag transform. The script needs to contain the following functions:
"function filter_tags_node (keyvalues, nokeys)"
"function filter_tags_way (keyvalues, nokeys)"
"function filter_basic_tags_rel (keyvalues, nokeys)"
"function filter_tags_relation_member (keyvalues, keyvaluemembers, roles, membercount)"
For the details, you can best look at the existing sample lua script at:
https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/80#issuecomment-24753470
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130919/aad724f2/attachment.html>
More information about the Tile-serving
mailing list