[Geoserver-devel] [jira] Created: (GEOS-2613) outputFormat = json doesn't obey number of decimals options

outputFormat = json doesn't obey number of decimals options
-----------------------------------------------------------

                 Key: GEOS-2613
                 URL: http://jira.codehaus.org/browse/GEOS-2613
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.7.2
         Environment: Windows/Linux, Java1 .6u11
            Reporter: Ivan Grcic
            Assignee: Andrea Aime
            Priority: Minor

Setting number of decimals options in wfs getFeature request works fine when output format is GML, but if we change it to json it gives back whole number, without rounding it to desired numbers of decimals.

http://server:8080/geoserver172/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&BBOX=-75.102613,40.212597,-72.361859,41.512517&outputFormat=gml2

http://server:8080/geoserver172/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&BBOX=-75.102613,40.212597,-72.361859,41.512517&outputFormat=json

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira