52North / WPS

**DEPRECATED** The 52°North Web Processing Service enables the deployment of geo-processes on the web in a standardized way.
GNU General Public License v2.0
63 stars 55 forks source link

Bug in GML schema creation #143

Closed jomue closed 8 years ago

jomue commented 10 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)