Sean M. Montague
smontague at ATSDenver.com
Mon Oct 17 09:15:36 PDT 2005
This is what I have come up with. It seems to work. I am trying to get the extent of the selected geometries. Not each individual extent. Below is what best achieved it. Thanks for the input, it got me working in the right direction.
WHERE objectid = 1 OR objectid = 2 OR objectid = 3;
From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of René F. Viancos S.
Sent: Saturday, October 15, 2005 7:46 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Extents
Try SELECT BOUNDARY(the_geom) From trails_02a WHERE objectid = 1 OR objectid = 2 OR objectid = 3;
Then AND condition makes always false the Query and never returns any recordset. Does not exists an element that has tree objectid in the same time. Think the AND operator like Intersection of elements and OR operator like the union of elements. Sorry, i dont see this before.
René F. Viáncos S.
Director de Geomática y TIC
Vicerrectoría de Investigación y Desarrollo
Universidad de Chile
Tel (56-2) 632 51 15
Cel (56 9) 933 72 66
rviancos at uchile.cl
rviancos at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users