Closed jomue closed 8 years ago
Whenever I tried adding an attribute of the type double to my FeatureType and created an GML schema for it using createGML3SchemaForFeatureType it would show up as integer instead.
Digging around the code I found https://github.com/52North/WPS/blob/dev/52n-wps-io-geotools/src/main/java/org/n52/wps/io/GTHelper.java#L354 Changing xs:integer to xs:double fixed the problem for me.
The same applies for https://github.com/52North/WPS/blob/dev/52n-wps-io-geotools/src/main/java/org/n52/wps/io/GTHelper.java#L425 as well I think...
(I'm using version 3.3.0 of the WPS and the QGIS WPS client in version 2.0.9)
Whenever I tried adding an attribute of the type double to my FeatureType and created an GML schema for it using createGML3SchemaForFeatureType it would show up as integer instead.
Digging around the code I found https://github.com/52North/WPS/blob/dev/52n-wps-io-geotools/src/main/java/org/n52/wps/io/GTHelper.java#L354 Changing xs:integer to xs:double fixed the problem for me.
The same applies for https://github.com/52North/WPS/blob/dev/52n-wps-io-geotools/src/main/java/org/n52/wps/io/GTHelper.java#L425 as well I think...
(I'm using version 3.3.0 of the WPS and the QGIS WPS client in version 2.0.9)