Ticket #192 (new task)
Opened 11 months ago
WMS should support vendor specifc parameters
| Reported by: | domlowe | Owned by: | domlowe |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | OWSLib | Version: | |
| Keywords: | Cc: |
Description
See patch submitted by Servais Nabil
I would like to suggest 2 patchs. The first is for supporting custom parameters of WMS, I don't know if it's normalize by OGC, but it's supported by Mapserver.
For exemple I have this request in openlayers:
url_wms = ' http://wmshost/cgi-bin/xyea' layers = [ 'oursindep', 'etablissement', 'responsables_legaux', 'regions']
bbox = (-10.900634765625, 36.857250976562, 15.400634765625, 55.742749023437)
styles = custom = {'WHERECLAUSE':'WHERE secteur_code = 1',
'GROUPBYCLAUSE':'GROUP BY uai_dger',
'IDOURSIN':'uai_dger
insee_resplegal filiere_code secteur_pro_code option_code'} img = wms.getmap(layers=layers,
styles=styles, bbox=bbox,
size=(1197, 859),
format='image/jpeg', srs='EPSG:4326', custom = custom )
Alternatively, could use the same implementation as WCS. To decide.
Attachments
Change History
Note: See TracTickets for help on using tickets.Download in other formats:
