I must attach the CQL filter into the getFeatureInfo request to the
geosever, If you used OpenLayer you will use the
layer.mergeNewParams({CQLfilter}) or, if you used Leaflet you will use
layer.setParams({CQLfilter})
2017-10-09 1:53 GMT-06:00 Ian Turton <ijtur...@gmail.com>:
> It's hard to tell without seeing how you are requesting the map and the
> get featureinfo but the most likely reason is that you have not attached
> the CQL filter to your getFeatureInfo request. As each request to GeoServer
> is independent there is no way for the server to know which items it should
> return info on if you don't tell it.
>
> Ian
>
> On 9 October 2017 at 08:09, annalisa <a.cipo...@soluxioni.it> wrote:
>
>> Hi guy!
>> I'm working with geoserver and i have understood how to filter markers on
>> a
>> map using CQL FILER.
>> After a search, geoserver filters rightly my markers, but if i clicked on
>> the map in a point where there are not markers (before filters there are
>> markers, after no correctly) a infowindow appears, describing the marker
>> that not exists visually.
>> Anyone can help me? why clicking on the map where there is not a marker
>> appear me a description?
>> Thanks...
>>
>>
>>
>> -----
>> annalisa
>> --
>> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.
>> html
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> Ian Turton
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Harold Herrera Sánchez
Teléfono: 2259-4242
Celular: 8831-3082
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users