But if you try an operation with a box2d, it will raise the fact that the srid's are different. Even if the box doesn't have an srid and that it shouldn't care.<br>So, for my own edification, once you setsrid it transforms from a box to a geom as well as when you make an operation (e.g. st_dwithin) ?<br>
<br>Etienne<br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 9:57 AM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Box2d doesn't have an Srid, so you can set it all you want, there's<br>
nothing there to hold it.<br>
P.<br>
<div><div></div><div class="h5"><br>
On Wed, Jun 8, 2011 at 9:41 AM, Etienne Bellemare <<a href="mailto:etiennebr@gmail.com">etiennebr@gmail.com</a>> wrote:<br>
> Well, if you run box2d, you change spatial ref system. (I don't see any<br>
> reason not to keep it, but correct me if I'm wrong.)<br>
><br>
> SELECT st_srid(box2d(st_setsrid(rast, 1111))) AS the_geom<br>
> FROM da_raster LIMIT 1<br>
><br>
> Always yield -1 (2.0 and previous)<br>
><br>
> Etienne<br>
><br>
</div></div>> _______________________________________________<br>
> postgis-devel mailing list<br>
> <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
><br>
><br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
</blockquote></div><br>