SE_spatialref_delete |
Deletes a spatial reference
LONG SE_spatialref_delete (SE_CONNECTION connection, LONG srid);
connection | A connection |
srid | A spatial reference ID |
SE_spatialref_delete deletes a spatial reference entry from the spatial_references table. If the entry is referenced by any layers, SE_SPATIALREF_IN_USE is returned and the entry is not deleted.
SE_SUCCESS
SE_FAILURE
SE_DB_IO_ERROR
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_INVALID_SPATIALREFINFO_OBJECT
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_OUT_OF_SVMEM
SE_SPATIALREF_NOEXIST