Thanks Kevin but Chris Hermansen gave us the key and the problem is solved now. Please follow my post (my partner Mario actually answered) with the subjec 'SOLVED!!' and there's all explained.<div>Regards,</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>Oscar</div></blockquote><div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
</blockquote><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 1:28 PM, Kevin Neufeld <span dir="ltr"><<a href="mailto:kneufeld@refractions.net">kneufeld@refractions.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 1/21/2010 12:14 PM, Oscar Zamudio wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I already tried this way:<br>
<br>
UPDATE mypoints SET the_geom = ST_SetSRID(the_geom,4326);<br>
<br>
But I got:<br>
<br>
ERROR:  Operation on two GEOMETRIES with different SRIDs<br>
<br>
</blockquote>
<br></div>
This doesn't make sense to me.  ST_SetSRID simply updates the internal structure of the geometry.  It's not doing any operation on the geometry.  Do you maybe have a TRIGGER and/or RULE on the table that is invoking another function on an UPDATE operation?<br>

<br>
Try this:<br>
CREATE TABLE mypoints2 AS SELECT the_geom FROM mypoints;<br>
UPDATE mypoints2 SET the_geom = ST_SetSRID(the_geom,4326);<br>
<br>
If that doesn't work, can you please isolate an example?  On what geometry exactly is the ERROR thrown?<br><font color="#888888">
<br>
-- Kevin</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div>