jdeolive/geodb — Issue #12: Order of geometry_columns is wrong in AddGeometryColumn
Author: mjonathan
Created: 2012-01-13 12:43:46+00:00
State: open

In InitGeoDB, the geometry_columns table is created with the following column order:
f_table_name, f_geometry_column, coord_dimension, srid, type

However, in AddGeometryColumn, new entries are inserted with the srid and coord_dimension columns switched, so that the SRID ends up in the dimension column, and vice-versa.