[Chameleon] Re: Extract all the feature that comes with in the
buffer shape file
William Bronsema
wbronsema at dmsolutions.ca
Fri Oct 5 08:19:25 EDT 2007
Vinod,
When you run a queryByShape() in PHPMapscript it will only return results
for layers that have a value set in for the "template" property of the
layer. Set the "template" property for all layers you want results for
(i.e. setting it to "ttt" would be sufficient, it does not need to mean
anything).
Once you have the template property set on all the layers the results
returned from a queryByShape() call will be restricted to the shape
specified in the call (in this case it should be the buffered feature).
Cheers,
Bill
William Bronsema
Senior Applications Specialist
DM Solutions Group Inc.
___________________________________
http://www.dmsolutions.ca
From: vinod kumar [mailto:vinodkumar_gis at yahoo.com]
Sent: Friday, October 05, 2007 12:17 AM
To: William Bronsema
Subject: Re: [Chameleon] Re: Extract all the feature that comes with in the
buffer shape file
Hi Bill,
I have used queryByShape(). Plz help me out how to customize to show all the
attribute of feature that intersect with the buffer shape object. Only the
current layer features are extract. How to extract all the layer. Do u have
any sample coding to do this job. If so plz let me. Thanks in advance. Do
you have any help material on chameleon work flow.
cheers,
vinod
----- Original Message ----
From: William Bronsema <wbronsema at dmsolutions.ca>
To: vinod kumar <vinodkumar_gis at yahoo.com>
Cc: Chameleon maillist <chameleon at lists.maptools.org>
Sent: Thursday, October 4, 2007 10:43:09 PM
Subject: RE: [Chameleon] Re: Extract all the feature that comes with in the
buffer shape file
Hi Vinod,
It is possible, but requires you to built a custom widget to handle this.
The basic approach inside the widget would be:
- read the $_SESSION['ROIRENDERER'] array for the buffered feature
you have selected
- convert it to a shape object
- execute a PHPMapscript "queryByShape()" call and then parse the
results.
HTH
Cheers,
Bill
William Bronsema
Senior Applications Specialist
DM Solutions Group Inc.
___________________________________
http://www.dmsolutions.ca
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of vinod kumar
Sent: Thursday, October 04, 2007 12:22 PM
To: Robert.Buchholz at LUA.Brandenburg.de
Cc: Chameleon maillist
Subject: [Chameleon] Re: Extract all the feature that comes with in the
buffer shape file
HI
Have any body know how to extrat all the attribute that comes with the
buffer shape. Is it possible or not. Plz let me know it.
Cheers,
Vinod
_____
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
<http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo_pan
el_invite.asp?a=7%20> and lay it on us.
_____
Yahoo! oneSearch: Finally, mobile
<http://us.rd.yahoo.com/evt=48252/*http:/mobile.yahoo.com/mobileweb/onesearc
h?refer=1ONXIC> search that gives answers, not web links.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20071005/9de16862/attachment-0001.html
More information about the Chameleon
mailing list