[fdo-trac] #339: PostGIS defect : Srid is not set properly when creating a FeatureClass

FDO trac_fdo at osgeo.org
Wed Apr 30 05:42:43 EDT 2008


#339: PostGIS defect : Srid is not set properly when creating a FeatureClass
--------------------------------+-------------------------------------------
   Reporter:  bscott            |       Owner:  mloskot
       Type:  defect            |      Status:  new    
   Priority:  critical          |   Milestone:  3.4.0  
  Component:  PostGIS Provider  |     Version:  3.3.0  
   Severity:  2                 |    Keywords:         
External_id:                    |  
--------------------------------+-------------------------------------------
 PostGIS provider does not support ContextCreation but does support
 ContextAssociation
 Even if we use
 FdoGeometricPropertyDefinition::SetSpatialContextAssociation the table in
 PostGIS is always created with srid = -1

 When a table is created with a postgis tool like shp2pg.exe using a srid
 The postGIS provider return "PostGIS_srid" as context name.
 So by calling SetSpatialContextAssociation("PostGIS_srid")
 it should create the table with the proper srid

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/339>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list