[GeoNode-users] it is posible to disable scientific notation?

Lautaro Silva jlautarosilva at gmail.com
Tue Oct 27 07:09:43 PDT 2015


It seems like Geoserver is sending the number in scientific notation, for
the field MONT_PESOS for example:
<geonode:MONT_PESOS>3.04795521E8</geonode:MONT_PESOS>

I will wait if anyone from Geoserver see this before duplicate it

------------------------------------------
Here is the entire request:

<geonode:MONT_PESOS>1.952E7</geonode:MONT_PESOS><geonode:FUEN_FINAN>SECTORIAL</geonode:FUEN_FINAN><geonode:NOM_SERVIC>GORE-FFPA</geonode:NOM_SERVIC><geonode:COMUNA>Arauco</geonode:COMUNA><geonode:PROVINCIA>ARAUCO</geonode:PROVINCIA><geonode:TIPOLOGIAS>Proyecto</geonode:TIPOLOGIAS><geonode:RATE/><geonode:X>649454.8847</geonode:X><geonode:Y>5877047.6367</geonode:Y></geonode:proyectos_caletas></gml:featureMember><gml:featureMember><geonode:proyectos_caletas
fid="proyectos_caletas.15"><geonode:the_geom><gml:Point srsName="
http://www.opengis.net/gml/srs/epsg.xml#32718"><gml:coordinates xmlns:gml="
http://www.opengis.net/gml" decimal="." cs="," ts="
">649454.8847,5877047.6367</gml:coordinates></gml:Point></geonode:the_geom><geonode:INFORMACIO>DOP</geonode:INFORMACIO><geonode:ID_CALETA>5.0</geonode:ID_CALETA><geonode:NOMBRE>ARAUCO</geonode:NOMBRE><geonode:ANO_POSTUL>2015.0</geonode:ANO_POSTUL><geonode:ID_BIP_N>30101423-0</geonode:ID_BIP_N><geonode:COD_ESTADO>Ejecucion</geonode:COD_ESTADO><geonode:NOM_PROY>Conservacion
canalizo Caleta
Arauco</geonode:NOM_PROY><geonode:MONT_PESOS>3.04795521E8</geonode:MONT_PESOS><geonode:FUEN_FINAN>MOP</geonode:FUEN_FINAN><geonode:NOM_SERVIC>DOP</geonode:NOM_SERVIC><geonode:COMUNA>Arauco</geonode:COMUNA><geonode:PROVINCIA>ARAUCO</geonode:PROVINCIA><geonode:TIPOLOGIAS>Proyecto</geonode:TIPOLOGIAS><geonode:RATE>N/A</geonode:RATE><geonode:X>649454.8847</geonode:X><geonode:Y>5877047.6367</geonode:Y></geonode:proyectos_caletas></gml:featureMember></wfs:FeatureCollection>

2015-10-27 10:54 GMT-03:00 Jeffrey Johnson <ortelius at gmail.com>:

> I believe Bart is right. Lautaro, can you check with the network tab as
> Bart suggests. If this is the case, perhaps someone on the geoserver side
> (Alessio et al) know how to prevent GS from returning scientific notation.
>
> On Tue, Oct 27, 2015 at 6:51 AM, Bart van den Eijnden <
> bartvde at boundlessgeo.com> wrote:
>
>> What does the raw GML look like (use a browser’s network / XHR tab)? I
>> think it’s likely GeoServer sending this back than GeoExt doing anything
>> with the number?
>>
>> Best regards,
>> Bart
>>
>> Bart van den Eijnden
>> Front End Software Engineer | Boundless <http://boundlessgeo.com/>
>> bartvde at boundlessgeo.com
>> 1-877-673-6436 <917-460-7207>
>> @boundlessgeo <http://twitter.com/boundlessgeo/>
>>
>> <http://boundlessgeo.com>
>>
>> On 27 Oct 2015, at 14:49, Jeffrey Johnson <ortelius at gmail.com> wrote:
>>
>> Yes, this is in the GeoExt part of the interface. Perhaps Bart or
>> someone else more familiar with this part of the code can help us?
>>
>> On Tue, Oct 27, 2015 at 6:45 AM, Lautaro Silva <jlautarosilva at gmail.com>
>> wrote:
>>
>> Here is the screenshot
>> https://img42.com/8jR4S
>>
>> Also, the layer is online here:
>> http://sig.gorebiobio.cl/layers/geonode%3Aproyectos_caletas
>>
>>
>>
>>
>>
>> 2015-10-27 10:39 GMT-03:00 Jeffrey Johnson <ortelius at gmail.com>:
>>
>>
>> Lautaro,
>>
>> Can you provide a screenshot of where you see this. My suspicion is
>> its in the GeoExt part of the interface and may or may not be easy to
>> change.
>>
>> Jeff
>>
>> On Tue, Oct 27, 2015 at 6:33 AM, Lautaro Silva <jlautarosilva at gmail.com>
>> wrote:
>>
>> Hi all
>>
>> If i upload a shapefile with a large number (double) and visualize it in
>> GeoNode show me the scientific notation of that number.
>>
>> For example, if i have the number 11090000 as a value my shapefile
>> table,
>> geonode shows 1.109E7.
>>
>> I checked the database and store the entire number on it (11090000), but
>> in
>> geoserver also show the scientific notation (1.109E7)
>>
>> Any ideas how can i do to show the entire number in geonode? should i
>> change
>> something configuration in geoserver?
>>
>>
>> --
>> Lautaro  Silva
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>>
>>
>>
>> --
>> Lautaro  Silva
>>
>>
>>
>


-- 
*Lautaro  Silva <http://lautarosilva.cl>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151027/773f9c43/attachment.html>


More information about the geonode-users mailing list