Opened 13 years ago

Closed 13 years ago

#339 closed defect (fixed)

PostGIS defect : Srid is not set properly when creating a FeatureClass

Reported by: bscott Owned by: mloskot
Priority: critical Milestone: 3.4.0
Component: PostGIS Provider Version: 3.3.0
Severity: 2 Keywords: srid srs epsg
Cc: 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

Attachments (1)

postgis_trunk_339.patch (944 bytes) - added by mloskot 13 years ago.
Patch from Bruno Scott

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by mloskot

Attachment: postgis_trunk_339.patch added

Patch from Bruno Scott

comment:1 Changed 13 years ago by mloskot

Keywords: srid srs epsg added
Status: newassigned

comment:2 Changed 13 years ago by mloskot

Resolution: fixed
Status: assignedclosed

Fixed in trunk (r3950). Bruno, thank you very much for the fix!

Note: See TracTickets for help on using tickets.