<font size=3>Hi, </font>
<br>
<br><font size=3>sorry, there is a half copy of this post in the forum
already, which was not accepted by the maillist. <br>
<br>
I translated a Table (Feature) of a PostGIS Database to a GeoPackage with
GDAL. The Feature has two Linestring Geometries in the PostGIS DB. One
geometry with exact positions of the network and one overwiew geometry
which may have just rough positions. Often the overwiew ist just a copy
of the exact positions, but sometimes it differs. <br>
<br>
After translation of the feature to GeoPackage everything seems fine, but
in the GeoPackage I have only one Linestring geometry. It is listed in
the gpkg_geometry_columns. <br>
<br>
My question is, which of the two geometries was translated to the GeoPackage?
What happens to the other geometries of the feature in the translation
process? <br>
<br>
I've read about the solution of the multiple geometries issue in GeoPackage
in the GP-specification. Does GDAL support this in the translation process
(maybe with a special option?)? </font>
<br>
<br><font size=3>______</font>
<br>
<br><font size=3>A first solution for us was to use a View Schema, where
each feature has only one geometry. Now I have two schemas in the PostGIS
DB and they were both translated. Two questions about it:</font>
<br>
<br><font size=3>- Is there a command to say which schemas to translate
and which not? My command is now as follows:</font>
<br><font size=3>ogr2ogr -f GPKG data.gpkg PG:"host=localhost user=user
dbname=data password=pw" </font>
<br>
<br><font size=3>I found options to select tables, but there are hundreds
of tables in the schema I am interested in. Maybe there is an easy  possibility
to say "take only schema x"? Did not found it in the list </font><a href=http://www.gdal.org/ogr2ogr.html><font size=3>http://www.gdal.org/ogr2ogr.html</font></a>
<br>
<br><font size=3>- How can I supress the building of r-tree tables? There
are virtually thousands of them in the created geopackage. <br>
<br>
Regards, <br>
<br>
Alexander </font>

<p><pre>
_______________________________________________________

Mettenmeier GmbH
Sitz der Gesellschaft: 33100 Paderborn
Geschaeftsfuehrung: Ulrich Mettenmeier, Dirk Weidemann
Handelsregister: Amtsgericht Paderborn B 1114
USt.-ID: DE 811 324 124
Steuer-Nr.: 339/5873/3133
_______________________________________________________
</pre></p>