Re: [QGIS-Developer] Inconsistency in QgsServerRequest parameter handling ?

2019-04-10 Thread pblottiere
Hi David, > If you try: > > request.setParameter('FOOBAR','foobar') > > then > > request.parameter('FOOBAR') > > then you get an empty string, >> Even if I add an 'allowed' parameter by hand: >> >>> request.setParameter('FI_POINT_TOLERANCE','25') Actually, QgsServerRequest and QgsServerParamete

Re: [QGIS-Developer] QGIS-Server: filter by categories in an OGC compatible way

2019-04-09 Thread pblottiere
Hi Andreas, > Can you point me to an example how to create a valid GetMap request with an SLD submitted? There's a basic example in unit tests: https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsserver_wms_getmap.py#L1309-L1325 Regards, Paul On 4/9/19 4:14 PM, Andreas Neuman