Opened 17 years ago
Closed 17 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: |
Description
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)
Change History (3)
by , 17 years ago
Attachment: | postgis_trunk_339.patch added |
---|
comment:1 by , 17 years ago
Keywords: | srid srs epsg added |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in trunk (r3950). Bruno, thank you very much for the fix!
Note:
See TracTickets
for help on using tickets.
Patch from Bruno Scott