This project has moved and is read-only. For the latest updates, please go here.

PostGis2 bug

Feb 11, 2007 at 5:14 PM
Hi There,

I found a bug on the PostGis2 data provider. The bug is in the building of the bb part of the Sql statement, it appears if your layer has a SRID value > 0. The code was simply appending "setSRID(" to the bbox builder, where it should have been inserting it at the beginning of the string. The fix is to change line 209 from:
SbBbox.Insert(0, "setSRID(");


Feb 20, 2007 at 11:53 PM
This discussion has been copied to Work Item 8385. You may wish to continue further discussion there.