Hello,

I'm not sure to understand what is your problem exactly. Maybe st_geometrytype could help. It will return multiline type if it is the case. 

If all types have been coerced to multi using st_multi, you may want to dump the geom first (st_dump()).geom and then union elements regarding their id. 

Regards,
Hug

Le 29 avr. 2017 2:12 PM, Luis Fernando Duque Quintero <[email protected]> a écrit :


Hello guys, I need to check if two lines are spatially separated but in the same geometry, for example when I open qgis and select one line two lines are selected not one (this lines are separated and even not touch each other), I try using st_numgeometries(my_line_geometry) on the db manager but always return 1, any suggest? Thanks before hands my friends.


_______________________________________________
postgis-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to