[Tile-serving] [osm2pgsql] Delete undesired tags with Lua transform (#268)
Sarah Hoffmann
notifications at github.com
Tue Jan 27 21:39:21 UTC 2015
Indeed, I overlooked those wildcards. I always wonder if we shouldn't compile a huge reqex for such a case. Anyways, as you have only two cases, fullmatch and startswith, I'd probably split that in two steps, first deleting the full matches as done in the current style and then check for a match as the beginning with the double loop (although with an early `break` as soon as a match is found). But that might all be overoptimising, it might not really matter because the lua execution is insignificant compared to everything else that happens.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/268#issuecomment-71733302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150127/690fc2c0/attachment.html>
More information about the Tile-serving
mailing list