[fdo-trac] #338: PostGIS defect : insert with srid -1 failed

FDO trac_fdo at osgeo.org
Wed May 7 05:04:55 EDT 2008


#338: PostGIS defect : insert with srid -1 failed
------------------------------+---------------------------------------------
 Reporter:  bscott            |         Owner:  mloskot 
     Type:  defect            |        Status:  reopened
 Priority:  blocker           |     Milestone:  3.4.0   
Component:  PostGIS Provider  |       Version:  3.3.0   
 Severity:  1                 |    Resolution:          
 Keywords:  srid srs epsg     |   External_id:          
------------------------------+---------------------------------------------
Comment (by bscott):

 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++)

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/338#comment:4>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list