<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br>
<blockquote cite="mid:20110120125001.M17309@lqt.it" type="cite">
  <pre wrap="">questa sicuramente fallisce, perchè SQL non ha la bacchetta <br>magica, e non ha nessuna idea che tu intendi applicare <br>una riproiezione.<br><br>------------------------ <br>SELECT * <br>FROM tbl1, tbl2, <br>WHERE ST_Intersects(tbl1.geom, ST_Transform(tbl2.geom, 32632));<br><br>oppure<br><br>SELECT * <br> FROM tbl1, tbl2, <br> WHERE ST_Intersects(ST_Transform(tbl1.geom, 4326), tbl2.geom);<br><br>invece queste funzioneranno sicuramente,<br>perchè ora *entrambe* le geometrie appartengono<br>al medesimo SRID<br>ma glielo devi spiegare tu a SQL che occorre<br>applicare una riproiezione :-)<br><br>ciao Sandro<br></pre>
</blockquote>
Si. Esattamente come ho fatto anch'io. <br>
<pre class="bz_comment_text" id="comment_text_6">select count(*) from flora3,bioitaly where st_contains(st_transform(bioitaly.the_geom,4326),flora3.the_geom) and bioitaly."DESCZPS" like '%Apuane%';<br></pre>
Solo che speravo che postgis avesse la bacchetta magica appunto e facesse una 
riproiezione al volo in funzione degli srid. Ho preteso un po' troppo. <span class="moz-smiley-s1"><span> :-) </span></span><br>
Grazie e ciao!<br>
<br>
Francesco<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><br></div></div>
</div><br>



      </body></html>