[OpenLayers-Users] right way for Spatial filtering
Vito Tafuni
vito at vitotafuni.com
Fri Jun 25 03:36:30 EDT 2010
the answer to my question!
;-p
seriously... if you want to filter markers based on a shape (drawn by
hand... why not?) you cannot use the filter parameter of the layer as it
works only when a strategy is used.
so the only solution in to dynamically add filters to a style rule...
RULE with symbolizer display:'none'
FILTER NOT (just to say hide all point not covered... )
FILTER AND (... by all the shapes)
FILTER SHAPE1
FILTER SHAPE2
...
--
-----------
Tafuni Vito
vito at vitotafuni.com
---------------------------------------------
"Verba volant, scripta manent... data corrupted"
2010/6/25 Sarah Schuessler <sarah_flip at yahoo.de>
> Hi,
>
> and what did you found? ;-)
>
> best regards
> Sarah
>
> ------------------------------
> **
>
> found!
> ;-D
>
> --
> -----------
> Tafuni Vito
> vito at vitotafuni.com
> ---------------------------------------------
> "Verba volant, scripta manent... data corrupted"
>
>
> 2010/6/24 Vito Tafuni <vito at vitotafuni.com>
>
>> I would like to draw a shape on the map
>> and to display only that marks which are under the shape.
>>
>> i think i have to use Filter.Spatial + Rule + Style
>> but i can't find the right way to do it!
>>
>> any tips?
>>
>> thanks
>>
>> -Vito-
>>
>> --
>> -----------
>> Tafuni Vito
>> vito at vitotafuni.com
>> ---------------------------------------------
>> "Verba volant, scripta manent... data corrupted"
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100625/54752de1/attachment.html
More information about the Users
mailing list