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!
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to