osayouba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

ODK Aggregate is not forcing en_US locale when rendering Map data #1114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Configure Tomcat with a locale that uses commas for decimal points within 
numeric data.
2. Upload geopoint data.
3. Attempt to Visualize on a Map

What is the expected output? What do you see instead?

Nothing displays. The map coordinates are emitted with commas, but the Map 
routines require periods. This causes the routine to fail while parsing the 
coordinates, and nothing is displayed.

Original issue reported on code.google.com by mitchellsundt@gmail.com on 26 Feb 2015 at 7:14

GoogleCodeExporter commented 9 years ago
I have the same problem, i don´t know how change the configuration of tomcat 
or reginal conf to change this and use the mapping tool...!!

Original comment by harryte...@gmail.com on 7 May 2015 at 3:18

GoogleCodeExporter commented 9 years ago
These questions are best answered by searching the web.

In this case, searching with "apache Tomcat locale setting"

gives:

http://stackoverflow.com/questions/1153521/setting-default-locale-for-tomcat-ser
vice-in-windows-xp

Original comment by mitchellsundt@gmail.com on 7 May 2015 at 5:07

GoogleCodeExporter commented 9 years ago
I followed your suggestions changging java "-Duser.language=en 
-Duser.region=CA" 
but I didnt get the expected result
In the file stay two print screams 
the first is the server with the problem where show data with decimal ","
and the second with "." 
I dont know if you can help me ! 

Original comment by harryte...@gmail.com on 8 May 2015 at 4:35

Attachments:

GoogleCodeExporter commented 9 years ago
If that didn't fix the issue, then try changing the locale of your browser, and 
see if the issue is with the locale of the browser, and not the locale of the 
server.

Otherwise, to get the server to change behavior, you may need to restart your 
computer, and would certainly need to stop and restart the Tomcat server.

I can't provide this level of support. If it doesn't get fixed by changing the 
browser locale, and rebooting doesn't fix it, I recommend checking to see if 
any of the other answers on the web fix the issue. Let me know if you find one 
that works.

Original comment by mitchellsundt@gmail.com on 8 May 2015 at 7:20