osm2pgsql-dev / osm2pgsql

OpenStreetMap data to PostgreSQL converter
https://osm2pgsql.org
GNU General Public License v2.0
1.51k stars 474 forks source link

Option "--prefix" ignored for gazetteer output #600

Closed vramirez122000 closed 7 years ago

vramirez122000 commented 8 years ago

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:

asbjornst commented 8 years ago

@vramirez122000 Do you have a suggestion on how to introduce this in a backward compatible manner?

Afterwards see my suggestion in #619

lonvia commented 7 years ago

Nominatim expects the name as it is. So it has to be made configurable over there. I think I would prefer the schema option in that case.

Closing here, as this is a Nominatim issue.

pnorman commented 7 years ago

We should document that this option is for the pgsql backend only, since it also doesn't change the multi-backend