<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I changed all geometry_columns to -1 and the problem persists. This
information is stored in each feature of database dataset as the error
mentioned ?<br>
<br>
Zeca.<br>
<br>
Nicolas Ribot escreveu:
<blockquote
cite="mid28de5e310603220955w3d9adaf6oe4f9e8aa0e608869@mail.gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">Hi list,
I am using PostGIS with my Desktop Client GIS OpenJUMP and receive the
following message:
java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR:
Operation on two geometries with different SRIDs
Could someone tell me what is occurring ?
Sincerely...
</pre>
</blockquote>
<pre wrap=""><!---->
As far as I remember, the Jump postgis driver considers that
geometries' SRID are always -1 (meaning no Spatial Reference System).
If your postgis geometries do have a SRID other than -1, then this error occurs.
To circumvent this problem, you could set geometries SRID to -1 before
working with jump, and restoring them to their actual value after the
work.
setSRID (geometry) will do the trick.
(I may be completely wrong :-)
Nicolas
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ezequias Rodrigues da Rocha
<a class="moz-txt-link-freetext" href="http://ezequiasrocha.blogspot.com">http://ezequiasrocha.blogspot.com</a>
<a class="moz-txt-link-abbreviated" href="mailto:msn:ezequias@hotmail.com">msn:ezequias@hotmail.com</a>
"the worst of democracies is still better than the best of dictatorship"
</pre>
</body>
</html>