<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mehmet</b> <span dir="ltr"><<a href="mailto:m.sirin07@googlemail.com">m.sirin07@googlemail.com</a>></span><br>
Date: 2009/4/1<br>Subject: Re: [mapserver-users] WFS Filter with CGI Controls ?<br>To: Yewondwossen Assefa <<a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>><br><br><br>hey, <br><br>that's an good idea! And it worked for example with EXPRESSION ('[type]' eq 'motorway')<br>
thank you<br><br>kind regards<br>m.sirin<br><br><div class="gmail_quote">2009/3/31 Yewondwossen Assefa <span dir="ltr"><<a href="mailto:yassefa@dmsolutions.ca" target="_blank">yassefa@dmsolutions.ca</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Mehmet,<br>
<br>
One possibility would be to use variable substitution I guess: you can define your expression in the class with a value that would be replace from the url (<a href="http://mapserver.org/mapfile/variable_sub.html" target="_blank">http://mapserver.org/mapfile/variable_sub.html</a>):<br>
<br>
something like this (not tested)<br>
EXPRESSION ("[TYPE]" = "%ms_type%"). You would then set my_type=residential in the url.<br>
<br>
Best Regards<br>
<br>
Mehmet wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br><div>
For example I want to use the Openstreetmap data, more precisely streets. And there are attributes like "name", "type", etc. Now I want to display some features of "type" for instance by choosing "residential". The question is: How to do that via URL and not by employing a client?<br>
<br>
kind regards<br>
<br></div>
2009/3/30 Yewondwossen Assefa <<a href="mailto:yassefa@dmsolutions.ca" target="_blank">yassefa@dmsolutions.ca</a> <mailto:<a href="mailto:yassefa@dmsolutions.ca" target="_blank">yassefa@dmsolutions.ca</a>>><div>
<br>
<br>
Hi There,<br>
<br>
I am not sure I understand the question properly? Do you mean<br>
getting the schema (attributes) of a layer? If that is the case<br>
there is a DescribeSchema operation on a wfs server.<br>
<br>
Best Regards<br>
<br>
<br>
<br>
Mehmet wrote:<br>
<br>
<br>
<br>
Hi, using the wfs_filter in a wms/wfs client works without<br>
problems. But I wonder If can use "wfs_filter" via URL (not for<br>
getting a XML File by GetFeature..that is I'm not meaning<br>
&Filter=<Filter><<br>
PropertyIsGreaterThan><PropertyName>AREA</PropertyName><Literal>100</Literal></PropertyIsGreaterThan></Filter><br>
).<br>
<br>
It's for showing a dropdown menu in which users can choose what<br>
type of roads they want to display (the geodata comes from<br>
openstreetmap).<br>
Is it possible?<br>
<br>
<br>
<br>
<br>
By the way: I just have the Mapserver 4.10 running.<br>
<br>
<br>
<br>
Thank you<br>
M.Sirin<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br></div>
<mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><div><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
<br>
-- ----------------------------------------------------------------<br>
Assefa Yewondwossen<br>
Software Analyst<br>
<br></div>
Email: <a href="mailto:assefa@dmsolutions.ca" target="_blank">assefa@dmsolutions.ca</a> <mailto:<a href="mailto:assefa@dmsolutions.ca" target="_blank">assefa@dmsolutions.ca</a>><div><br>
<a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
<br>
Phone: (613) 565-5056 (ext 14)<br>
Fax: (613) 565-0925<br>
----------------------------------------------------------------<br>
<br>
<br>
</div></blockquote><div><div></div><div>
<br>
<br>
-- <br>
----------------------------------------------------------------<br>
Assefa Yewondwossen<br>
Software Analyst<br>
<br>
Email: <a href="mailto:assefa@dmsolutions.ca" target="_blank">assefa@dmsolutions.ca</a><br>
<a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
<br>
Phone: (613) 565-5056 (ext 14)<br>
Fax: (613) 565-0925<br>
----------------------------------------------------------------<br>
<br>
</div></div></blockquote></div></div></div><br>
</div><br>