[Tile-serving] [osm2pgsql] Add an option to specify the target schema for import (#279)
Sarah Hoffmann
notifications at github.com
Tue Mar 3 21:07:23 UTC 2015
Copying from #279.
Running `osm2pgsql -as -S default 500.osc` on a database with one installation in the public schema and one in a custom one, the update fails with:
~~~
Setting up table: planet_osm_point
Osm2pgsql failed due to ERROR: Problem reading geometry information for table planet_osm_point - does it exist?
~~~
Problem is that the lookup for geometry information [here](https://github.com/openstreetmap/osm2pgsql/blob/master/table.cpp#L109) expects exactly one result back while now I have two tables planet_osm_point. The schema needs to be added to the query there. There might be other meta queries that experience the same problem.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/279#issuecomment-77034639
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150303/ddd95e3f/attachment.html>
More information about the Tile-serving
mailing list