[postgis-users] Problem with "Different SRIDs"

Juliano Zaban julianozaban at gmail.com
Wed Jun 20 07:41:01 PDT 2007


Hello all!

I'm trying to use PostGIS with SharpMap library to develop GIS applications.
However when the PostGIS extension for SharpMap try to run the following
query an error occurs:

SELECT AsBinary(geometry) AS Geom FROM bairros
WHERE geometry && setSRID(box2d('BOX3D(-0.5 -0.302040816326531,0.5
0.302040816326531)'::box3d),29101)

ERROR: Operation on two geometries with different SRIDs
SQL state: XX000

I believe the "bairros" layer is ok because I can edit it with OpenJUMP
without problem...
Anybody can help me with this?

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070620/16915959/attachment.html>


More information about the postgis-users mailing list