Opened 15 years ago
Closed 13 years ago
#38 closed defect (duplicate)
Add attribute filter parameters for a WMS or featureserver served resource
Reported by: | yvesm | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
It is currently impossible to send attribute values as parameters to filter a WMS or featureserver request.
WMS
??
FeatureServer
FS requests are used for vector layers of course but also to fill in dropdown boxes for a shortcut widget.
FS accepts some parameters in the url, like :
http://../featureserver.cgi/parcels?queryable=use_type&use_type__ilike=Forest
for a string parameter or :
http://.../featureserver.cgi/parcels?queryable=land_id&land_id__gte=8
for a numeric parameter.
However, it is not possible to specify a range of numeric values like :
http://.../featureserver.cgi/parcels?queryable=land_id&land_id__gte=2&land_id__lte=8
Can FS be modified to accomodate such requests or maybe a new MapFish service could be used ?
GP
What needs to be added in the GP code ?
Note:
See TracTickets
for help on using tickets.
There are now widgets doing that :
So I'm closing this ticket as a duplicate.