[Tile-serving] [openstreetmap/osm2pgsql] filtering? (#603)

SomeoneElseOSM notifications at github.com
Thu Jul 7 22:27:08 UTC 2016


It's actually easier than that - just remove the tags you're not interested in.  Here, for example, is part of a lua script that removes all administrative boundaries:

https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L359

You'll want to take the example lua script that comes with osm2pgsql, add in new code to remove what you don't want and use that script when loading the rendering database.

An example of using that script is here:

http://wiki.openstreetmap.org/wiki/User:SomeoneElse/Ubuntu_1404_tileserver_load#Reload_the_data_and_clear_previously_cached_tiles

but of course you'll want to use your own values for most of the parameters.

---
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/603#issuecomment-231226588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160707/e79f18f6/attachment.html>


More information about the Tile-serving mailing list