Thanks steve. i think the better and easiest way to get this is to use postgis with geos.. i am going to install postgis in the next day.
This solution seems to be more powerfull to enable spatial queries.. so i would like to pursue... of course :-) fx Le Mercredi 14 Décembre 2005 03:30, Steve Lime a écrit : > This is not possible with the given code. PostGIS gives you this > functionality. It is pretty easy to add though- if using MapScript. All > we'd need to do would be to expose a couple of additional GEOS operators > (like contains) and you could do something like: > > Step 1: query by rect (using the query shape extent) > Step 2: for each result feature actually test using the contains operator > > Let me know if you'd like to pursue... > > Steve > > >>> Fx Gamoy <[EMAIL PROTECTED]> 12/13/05 11:20 AM >>> > > Hello everybody > i would like to query a layer with a shape in order to get all the objs > contained in the shape > > When i use querybyshape, i get all the objs intersected by the shape. > So some objs are not selected. > > Is it a way to get a spatial contain query instead of an intersect one? > > thanks for your help > fx > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program.
