Opened 17 years ago
Closed 16 years ago
#338 closed defect (fixed)
PostGIS defect : insert with srid -1 failed
Reported by: | bscott | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 3.4.0 |
Component: | PostGIS Provider | Version: | 3.3.0 |
Severity: | 1 | Keywords: | srid srs epsg |
Cc: | External ID: |
Description
While i have fixed the insert with srid != -1 i discover that the default srid in the GetSRID() function was 0. So it need to be changed to -1
Attachments (2)
Change History (10)
by , 17 years ago
Attachment: | postgis_trunk_338.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 (r3949). Thanks Bruno!
comment:3 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 17 years ago
The fix has broken something, it does not find srid if it's not -1 As currentSrid was defaulted to 0 this line was ok
for (FdoInt32 i = 0; !currentSrid && i < propsDef->GetCount()); i++)
Now that the default srid is -1 we need to update the for loop as this :
for (FdoInt32 i = 0; ((currentSrid == -1) && i < propsDef->GetCount()); i++)
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:6 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 16 years ago
Owner: | removed |
---|---|
Status: | reopened → new |
comment:8 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch from Bruno Scott