View Ticket
Not logged in
Ticket Hash: 1bb24fe236426dc201fcef18084a16cc838229de
Title: AddFDOGeometryColumn does not support dimension=5 [XYZ]
Status: Closed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: Resolution: Overcome_By_Events
Last Modified: 2020-08-26 07:21:22
Version Found In:
User Comments:
mj10777 added on 2018-03-03 09:59:56:

Since 2010-10-26, dimension=5 [XYM] has been added in Fdo-support:

SQLite: There is no difference between XYZ and XYM in coord_dimension
https://trac.osgeo.org/fdo/ticket/715


fnct_AddFDOGeometryColumn checks for this;
    if (dimension < 2 || dimension > 4)
      {
	  spatialite_e
	      ("AddFDOGeometryColumn() error: argument 5 [dimension] current version only accepts dimension=2,3,4\n");
	  sqlite3_result_int (context, 0);
	  return;
      }
It might be wise, after 7 years, to allow 5 [XYM].

http://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#p16fdo
would also have to be updated.


mj10777 added on 2018-03-03 14:36:30:

Since there is no fdoInsertEpsgSRID(srid) function, maybe AddFDOGeometryColumn should be adapted to INSERT the srid when the fdo-based spatial_ref_sys exists.
In that way FDO support would be complete.


mj10777 added on 2018-03-03 14:38:37:

SELECT InsertEpsgSrid(srid) returns:

    the SPATIAL_REF_SYS table has an unsupported layout


sandro added on 2020-08-26 07:21:22:
too old to be still considered