Hi everyone,<br><br>i have another problem with filtering layers of mapserver.<br>I did everything as Bart suggested me but something is wrong.<br>The filter doesnt work as i wish.<br>When I add the filter option in the layer initialization, Mapserver (or Openlayers, i dont know) have a strange behavior.
<br>just to make an example... I wait for the following ids:<br>- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10<br>but I receive from mapserver the following response:<br>- 3, 4, 5, 3, 4, 5, 3, 4, 5, 3, 4, 5, 3, 4 5<br>and i dont know why?
<br><br>Cheers.<br><br><br><div><span class="gmail_quote">2007/2/19, Bart van den Eijnden (OSGIS) <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>>:</span><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>you should be able to use a javascript variable and pass that into the<br>constructor, so:<br><br>var wfs_filter =<br>'<Filter><PropertyIsEqualTo><PropertyName>'+user_id+'</PropertyName><Literal>
<br>2</Literal></PropertyIsEqualTo></Filter>';<br><br>and then:<br><br>var edit_mine_wfs = new OpenLayers.Layer.WFS( "My wfs", "<br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&">
http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&</a>",<br>{typename: "editMinePoints", 'filter':wfs_filter}, { featureClass:<br>OpenLayers.Feature.WFS
}, { featureClass: OpenLayers.Feature.WFS});<br><br>Best regards,<br>Bart<br><br>--<br>Bart van den Eijnden<br>OSGIS, Open Source GIS<br><a href="http://www.osgis.nl">http://www.osgis.nl</a><br><br><br>--------- Oorspronkelijk bericht --------
<br>Van: Pedrazzi Gelsomini <<a href="mailto:pedrazzi.gelsomini@gmail.com">pedrazzi.gelsomini@gmail.com</a>><br>Naar: Bart van den Eijnden OSGIS <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>><br>Cc:
<a href="mailto:users@openlayers.org">users@openlayers.org</a><br>Onderwerp: Re: [OpenLayers-Users] Changing map file FILTER parameter via URL<br>- WFS layer with OVF connection<br>Datum: 19/02/07 09:45<br><br>> Hi,just another question about filter problems...I thought that all was
<br>working but I was trying with the code below:var edit_mine_wfs = new<br>OpenLayers.Layer.WFS( &quot;My<br>wfs&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&nbsp;&nbsp;&nbsp; &quot;<br>><br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;&quot">http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;&quot
</a>;,<br>{typename: &quot;editMinePoints&quot;,&nbsp;<br>&#39;ilter:&#39;&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;user_id&lt;/PropertyName&gt;&lt;Literal&gt;
<br>> 2&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;&#39;}, {<br>featureClass: OpenLayers.Feature.WFS}, { featureClass:<br>OpenLayers.Feature.WFS});In the &quot;Literal&quot; of my filter I put
<br>&quot;2&quot; just to test it.. but now I must pass the variable<br>&quot;current_user&quot;.<br>> I would like something like<br>this:&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;user_id&lt;/PropertyName&gt;&lt;Literal&gt;current_user&lt;/Literal&gt;
<br>> &lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;but it doesnt work and I cant see<br>anything.Is it possible?Do I have to change the keyword<br>&quot;Literal&quot;?Probably the problem is that I haven&#39;t the access to
<br>the value variable and the filter check the literal as a string<br>&quot;current_user&quot; and not as its integer value.<br>> Thank you very much for every help.Have a good week.2007/2/16, Bart van<br>den Eijnden (OSGIS) &lt;bartvde@
osgis.nl&gt;:<br>> Hi,yes after the mylayer initialization if you use mergeNewParams.Please<br>note, if you already know the user at initialization, you canpass the<br>parameter &quot;filter&quot; already in the constructor of your layer,
<br>> just like you pass in typename right now.The filter encoding I gave was<br>just an example, for the right name ofthe PropertyName check the<br>DescribeFeatureType response of yourMapserver WFS, something like:<br>
><br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;typename=points&amp;service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType">http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;typename=points&amp;service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType
</a><br>> I would advise you to first get things running by putting a direct URLin<br>the browser, and then code the stuff in OpenLayers javascript, so<br>trysomething like:<br>><br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;typename=points&amp;service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;filter=&lt;testyour">
http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;typename=points&amp;service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;filter=&lt;testyour
</a><br>filter here&gt;<br>> Hope this helps.Best regards,BartPedrazzi Gelsomini schreef:&gt; Thank you<br>very much for your help.&gt; I should ask you more information beacause i<br>can&#39;t understand what i&gt; have to do.
<br>> &gt;&gt; &gt;&nbsp;&nbsp;var filter =&gt;<br>&#39;&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;user_id&lt;/PropertyName&gt;&lt;Literal&gt;3&lt;/Literal&gt;&lt;&gt;&gt;
<br>&gt;&nbsp;&nbsp;/PropertyIsEqualTo&gt;&lt;/Filter&gt;&#39;;<br>> &gt;&gt;<br>&gt;&nbsp;&nbsp;mylayer.mergeNewParams({&quot;filter&quot;:filter});&gt;&gt;
<br>Putting these instruction above i have the following error&gt;&gt;<br>&quot;this.map has no properties&quot;&gt; ( Grid.js<br>> - line 171 - var viewSize = this.map.getSize();&gt;&gt; Do i have to
<br>insert these instructions after mylayer initialization,&gt; that is in<br>the&nbsp;&nbsp;function init() that creates my map?&gt; Is it correct put in<br>the &lt;PropertyName&gt; the name of a field that I get
<br>> &gt; from the SELECT query of the OVF&nbsp;&nbsp;file?&gt;&gt; Is it<br>enough to add this code lines or I have to do something other in&gt; order<br>to make working the Filter Encoding?&gt; Sorry for the trivial questions but
<br>i am quite new in this subject.<br>> &gt;&gt; Thanks a lot for your time!&gt;&gt;&gt;&gt; 2007/2/16, Bart van<br>den Eijnden (OSGIS) &lt;bartvde@osgis.nl&gt; &lt;mailto:<br>>
bartvde@osgis.nl&gt;&gt;:&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>Hi,&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; you need to use the FILTER parameter<br>from the OGC WFS spec to do&gt;&nbsp;&nbsp;&nbsp;&nbsp; this,
<br>check&gt;&nbsp;&nbsp;&nbsp;&nbsp; this for more<br>info:&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>><br><a href="http://mapserver.gis.umn.edu/docs/howto/filterencoding/&gt;&nbsp;&nbsp;&nbsp;&nbsp">
http://mapserver.gis.umn.edu/docs/howto/filterencoding/&gt;&nbsp;&nbsp;&nbsp;&nbsp</a>;<br>&lt;http://mapserver.gis.umn.edu/docs/howto/filterencoding/&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>then you need to call mergeNewParams on your OpenLayers layer:<br>> &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; var filter =&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&#39;&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;USER&lt;/PropertyName&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&lt;Literal&gt;Peter&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;&#39;;<br>> &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>mylayer.mergeNewParams({&quot;filter&quot;:filter});&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>Best regards,&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>Bart&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;&nbsp;&nbsp;&nbsp;&nbsp; Bart van<br>den Eijnden&gt;&nbsp;&nbsp;&nbsp;&nbsp; OSGIS, Open Source
<br>GIS&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>> <a href="http://www.osgis.nl&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp">http://www.osgis.nl&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp
</a>; ---------<br>Oorspronkelijk bericht --------&gt;&nbsp;&nbsp;&nbsp;&nbsp; Van: Pedrazzi<br>Gelsomini &lt;pedrazzi.gelsomini@<a href="http://gmail.com">gmail.com</a><br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&lt;mailto:pedrazzi.gelsomini@gmail.com&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>Naar: <a href="mailto:users@openlayers.org">users@openlayers.org</a> &lt;mailto:<br>> users@openlayers.org
&gt; &lt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br><a href="mailto:users@openlayers.org">users@openlayers.org</a><br>&lt;mailto:users@openlayers.org&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>Onderwerp: [OpenLayers-Users] Changing map file FILTER parameter<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; via URL -&gt;&nbsp;&nbsp;&nbsp;&nbsp; WFS<br>layer with OVF connection&gt;&nbsp;&nbsp;&nbsp;&nbsp; Datum: 16/02/07
<br>13:02&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi everyone,I m using openlayers<br>for my application and I have a&gt;&nbsp;&nbsp;&nbsp;&nbsp; WFS<br>layer&gt;&nbsp;&nbsp;&nbsp;&nbsp; filled by my mysql database using
<br>> mapserver.My layer&gt;&nbsp;&nbsp;&nbsp;&nbsp; inizialitazion<br>is:&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; var user_wfs = new<br>OpenLayers.Layer.WFS( &amp;quot;User<br>
Points&amp;quot;,&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>> &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;http://localhost/cgi-bin/mapserv?map=/var/www/thesilence/webroot/mapserver/config/data_points.map&amp;amp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&gt; &amp;quot;,&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>{typename:&gt;&nbsp;&nbsp;&nbsp;&nbsp; &amp;quot;points&amp;quot;}, {<br>featureClass: OpenLayers.Feature.WFS});&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; In my
file.map i have the following<br>layer:LAYER&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>CONNECTION &amp;quot;my_points.ovf&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>CONNECTIONTYPE&gt;&nbsp;&nbsp;&nbsp;&nbsp; OGR&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>DATA &amp;quot;points&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; METADATA&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;wms_srs&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;EPSG:4326&amp;quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;wms_title&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;points&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;quot;wfs_srs&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;EPSG:4326&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;wfs_title&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;points&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;quot;gml_featureid&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;fid&amp;quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;gml_include_items&amp;quot;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;all&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>END&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;quot;points&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIZEUNITS<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>PIXELS&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; STATUS
<br>ON&amp;nbsp;&amp;nbsp;&amp;nbsp; DUMP<br>TRUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>PROJECTION&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;init=epsg:4326&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>END&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>TOLERANCE 20&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>TOLERANCEUNITS&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>PIXELS&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPE<br>POINT&amp;nbsp;&amp;nbsp;&amp;nbsp; UNITS
<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; METERS&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTERITEM&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;quot;user_id&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; #FILTER
<br>&amp;quot;&amp;quot;where&gt;&nbsp;&nbsp;&nbsp;&nbsp; my_points.ovf<br>is:&amp;lt;OGRVRTDataSource&amp;gt;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>&amp;lt;OGRVRTLayer&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>name=&amp;quot;points&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;lt;SrcDataSource&amp;gt;ODBC:myuser/mypsw@mydns&amp;lt;/SrcDataSource&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;lt;SrcSQL&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; data_points.id AS&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>fid, latitude, longitude, des_walks.com_user_id AS<br>user_id&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM data_points
<br>JOIN&gt;&nbsp;&nbsp;&nbsp;&nbsp; des_walks&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE des_walks.id =<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>data_points.des_walk_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;lt;/SrcSQL&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;lt;GeometryType&amp;gt;wkbPoint&amp;lt;/GeometryType&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&amp;lt;LayerSRS&amp;gt;WGS84&amp;lt;/LayerSRS&amp;gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br>&amp;lt;GeometryField&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>encoding=&amp;quot;PointFromColumns&amp;quot;
<br>x=&amp;quot;longitude&amp;quot;<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>y=&amp;quot;latitude&amp;quot;/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&amp;lt;/OGRVRTLayer&amp;gt;&amp;lt;/OGRVRTDataSource&amp;gt;but I need to<br>change&gt;&nbsp;&nbsp;&nbsp;&nbsp; the value<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; of the FILTER parameter in the map file via
<br>URL.&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; The<br>connection with database works and allows me to put<br>my&gt;&nbsp;&nbsp;&nbsp;&nbsp; points on my&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>map.I would like to filter these data by &amp;quot;user_id&amp;quot; and<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; show only&gt;&nbsp;&nbsp;&nbsp;&nbsp; the<br>data linked to a specific user, but i have to pass
<br>this&gt;&nbsp;&nbsp;&nbsp;&nbsp; parameter via&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>url because it is not always the same.&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Now i m passing just the typename in
<br>the openlayers function,<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; but i dont&gt;&nbsp;&nbsp;&nbsp;&nbsp; know<br>how to change the FILTER parameter in my map&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>file.&amp;nbsp;&amp;nbsp;&amp;nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp; FILTERITEM<br>&amp;quot;user_id&amp;quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&amp;nbsp;&amp;nbsp;&amp;nbsp; #FILTER &amp;quot;&amp;quot;Any
<br>suggestion?Thank you<br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; very much!&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>_______________________________________________&gt;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&gt; Users mailing list&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&lt;mailto:Users@openlayers.org&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;
<br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>> &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --&gt;
<br>Ilaria Gelsomini&gt; Francesca Pedrazzi--Bart van den EijndenOSGIS, Open<br>Source GIS<br>> bartvde@osgis.nlhttp://www.osgis.nl-- Ilaria GelsominiFrancesca Pedrazzi<br>><br><br><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>Ilaria Gelsomini<br>Francesca Pedrazzi