[Tile-serving] [openstreetmap/osm2pgsql] Option "--prefix" ignored for gazetteer output (#600)

Víctor Ramírez notifications at github.com
Sun Jun 26 18:24:04 UTC 2016


When using the gazetteer output option, the table name is hardcoded as "place". It would be useful to prepend the value of the "--prefix" option, just like the regular "pgsql" output,  for the following reasons:

- The "place" table name conflicts with a table name that is hardcoded in the postgis_tiger_geocode extension
-  With the prefix option, it would be simpler to load multiple gazetteer tables, one per country. The current functionality requires an extra step to rename the table and indices once the data has been loaded
- Not ignoring the prefix option for gazetteer output would make the interface more consistent, with less surprises for the user



---
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/600
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160626/67571191/attachment.html>


More information about the Tile-serving mailing list