[Tile-serving] [openstreetmap/osm2pgsql] Question: Changing table names in .style (#958)

merspieler notifications at github.com
Thu Oct 3 01:49:35 UTC 2019


I'm trying to import the data for a progam that expects different table names than the ones created by osm2pgsql. Currently I do the import with osmosis tho I'd like to replace it with osm2pgsql. Mainly to be able to update the db without complete reimporting the entire world.

How the names should look like:
```
gclp=> \d
 Schema |       Name        |   Typ   | Owner
--------+-------------------+---------+------------
 public | geography_columns | Sicht   | postgres
 public | geometry_columns  | Sicht   | postgres
 public | nodes             | Tabelle | myuser
 public | raster_columns    | Sicht   | postgres
 public | raster_overviews  | Sicht   | postgres
 public | relation_members  | Tabelle | myuser
 public | relations         | Tabelle | myuser
 public | schema_info       | Tabelle | myuser
 public | spatial_ref_sys   | Tabelle | postgres
 public | users             | Tabelle | myuser
 public | way_nodes         | Tabelle | myuser
 public | ways              | Tabelle | myuser
```

Is there a way to define the table names in a .styles file?

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


More information about the Tile-serving mailing list