sourcepole / qgis-wps-client

GNU General Public License v2.0
13 stars 12 forks source link

Make "allowed values" compatible with PyWPS 4.0 #8

Closed Hadlaskard closed 3 years ago

Hadlaskard commented 5 years ago

Hello Horst,

I changed two lines in the wps lib regarding the allowed values of a wps literal input. Behavior before has ignored any special restrictions of allowed values. For example using following line of my wps:

allowed_values=[AllowedValue(allowed_type='range', minval=-10, maxval=10)]

I'm using this in my project. (https://gitlab.com/hadlaskard/integration-of-wps-in-local-sdi)

Best regards from Freiburg Gunnar