[postgis-users] Query using ST_Union and ST_Intersect

Atul Kumar Atul_Kumar at persistent.co.in
Wed Nov 23 03:06:45 PST 2011


Hi All,

I am using ST_Union and ST_Intersect function to union and intersect geometry data of three table, but its taking huge time to execute.

Please  suggest me to optimal way to achieve those functionality.

My Query is :

select st_union(st_union(t1.geometry, t2.geometry), t3.geometry) geometry from TEMP_OUTPUTTREE_2 t1,TEMP_OUTPUTTREE2_4 t2, TEMP_OUTPUTTREE_5 t3

select st_intersection (st_intersection (t1.geometry, t2.geometry), t3.geometry) geometry from TEMP_OUTPUTTREE_2 t1,TEMP_OUTPUTTREE2_4 t2, TEMP_OUTPUTTREE_5 t3


Thanks
Atul Kumar

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111123/170e85d4/attachment.html>


More information about the postgis-users mailing list