Did you reproject using st_transform(rast,4326)<div>?</div><div>What's the error you get?<br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 11:21 PM, laurent <span dir="ltr"><<a href="mailto:lcelati@latitude-geosystems.com" target="_blank">lcelati@latitude-geosystems.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I tried to reproject one of my postgis raster layer (called 'bd_ortho') from<br>
SRID 2154 to SRID 4326 . It seems work.<br>
But the metadata are not updated. Indeed when i tape<br>
<br>
 SELECT ST_SRID(rast) As srid FROM bd_ortho WHERE rid=1;<br>
<br>
The result is always 2154.<br>
<br>
So that's why i tape this following query in order to Set the SRID of a<br>
raster defined in the spatial_ref_sys tabl:<br>
<br>
 ST_SetSRID(rast, 4326);<br>
<br>
But this SQL query is not accepted and a error message appears.<br>
<br>
<br>
Could you throw light for me please? Is there a way to reproject & update<br>
metadata in one SQL query?<br>
<br>
Thanks.<br>
<br>
Regards.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://postgis.17.n6.nabble.com/ST-SetSRID-tp5002645.html" target="_blank">http://postgis.17.n6.nabble.com/ST-SetSRID-tp5002645.html</a><br>
Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>