[Spanish] Error al realizar intersección, Postgis

Jorge Sanz jsanz at osgeo.org
Sat Feb 6 17:43:48 PST 2016


Diría que estás confundiendo las funciones

ST_Intersects(geom, geom) retorna true/false

con

ST_Intersection(geom,geom) que devuelve una geometría

--
Jorge Sanz

Sent from my phone, excuse my brevity.
El 7/2/2016 1:11, "martinmaximilianoflores" <
martinmaximilianoflores en yahoo.com.ar> escribió:

> Forma 1:
> El problema esta en que la function st_multi espera un tipo de dato
> geometry
> y le estas pasando el resultado de una funcion que retorna un booleano
> st_intersects(s.geom,u.geom),no se cual de las dos geometrias queres
> pasarle
> a st_multi para hacer el insert, pero st_intersects solo retorna true o
> false.
>
> Forma 2:
> Problema similar, el insert espera que en la tercer columna (geom) un dato
> del tipo geometry pero le estas pasando un booleano
> t_intersects(s.geom,u.geom).
>
> Saludos.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Error-al-realizar-interseccion-Postgis-tp5249267p5249278.html
> Sent from the OSGeo Spanish Local Chapter mailing list archive at
> Nabble.com.
> _______________________________________________
> Spanish mailing list
> http://lists.osgeo.org/mailman/listinfo/spanish
> http://es.osgeo.org
> http://twitter.com/osgeoes
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/spanish/attachments/20160207/515a9c10/attachment.html>


More information about the Spanish mailing list