<p dir="ltr">Diría que estás confundiendo las funciones</p>
<p dir="ltr">ST_Intersects(geom, geom) retorna true/false</p>
<p dir="ltr">con</p>
<p dir="ltr">ST_Intersection(geom,geom) que devuelve una geometría</p>
<p dir="ltr">--<br>
Jorge Sanz</p>
<p dir="ltr">Sent from my phone, excuse my brevity. </p>
<div class="gmail_quote">El 7/2/2016 1:11, "martinmaximilianoflores" <<a href="mailto:martinmaximilianoflores@yahoo.com.ar">martinmaximilianoflores@yahoo.com.ar</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Forma 1:<br>
El problema esta en que la function st_multi espera un tipo de dato geometry<br>
y le estas pasando el resultado de una funcion que retorna un booleano<br>
st_intersects(s.geom,u.geom),no se cual de las dos geometrias queres pasarle<br>
a st_multi para hacer el insert, pero st_intersects solo retorna true o<br>
false.<br>
<br>
Forma 2:<br>
Problema similar, el insert espera que en la tercer columna (geom) un dato<br>
del tipo geometry pero le estas pasando un booleano<br>
t_intersects(s.geom,u.geom).<br>
<br>
Saludos.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Error-al-realizar-interseccion-Postgis-tp5249267p5249278.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Error-al-realizar-interseccion-Postgis-tp5249267p5249278.html</a><br>
Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Spanish mailing list<br>
<a href="http://lists.osgeo.org/mailman/listinfo/spanish" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/spanish</a><br>
<a href="http://es.osgeo.org" rel="noreferrer" target="_blank">http://es.osgeo.org</a><br>
<a href="http://twitter.com/osgeoes" rel="noreferrer" target="_blank">http://twitter.com/osgeoes</a></blockquote></div>