Ticket #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
Change History
Note: See
TracTickets for help on using
tickets.

