Bug report #16177

Updated by Even Rouault almost 7 years ago

When creating a new spatial table inside a GeoPackage with DB-Manager, the srs_id is incorrect in the gpkg_contents table...



1. In DB-Manager, create a connection to an existing GeoPackage

2. Table -> Create table

3. Give a name, add some fields and check "Create geometry column", use a valid EPSG value as SRID, click "Create"

4. SQL command "SELECT * from gpkg_contents"

5. The field srs_id has a value of 0 (undefined) instead of the SRID I specified

Back