What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Latitude and longitude in Geolocation Widget are rounded to 5 decimal places inside of the submissions

    Asked by BTemp on April 24, 2015 at 06:53 PM

    Hello.

    Demo Form: http://form.jotform.us/form/51137549020145

    I have also posted the following question to the widget iteslf: http://developers.jotform.com/forum/geolocation

     

    The Geolocation Widget is awesome. But there's just one (big) problem. After the location is determined and the form submitted, the level of precision reported in the email data is rounded (gasp!) to only 5 decimal places

    In the case of latitude and longitude, the difference between -85.57149149999998 and -85.57149 is absolutely huge!

    This is an awesome widget! Please set the reported data to report the same value, with the same level of precision, as what is reported by the widget. Please update this widget to not round off the decimals as it makes this nearly useless.

    Is there a way to correct this? Can I force a reporting of the proper decimal places?

    How soon can this be updated? I planned to deploy this soon, but it's not working properly.

     

    Thanks. This tool is amazing.

    -Btemp.

    Page URL:
    http://form.jotform.us/form/51137549020145

    Screenshot
    decimal geolocation widget stop JotForm problem reporting developers
  • Profile Image
    JotForm Support

    Answered by BJoanna on April 25, 2015 at 03:32 AM

    I have tested your form and I noticed like you mentioned that latitude and longitude are rounder to 5 decimal places when user submit the form.  I could not find any settings where this can be changed. I will escalate this to our developers so they can look into it. We can not give you exact time frame when or if this will be changed. But once it is we will inform you via this thread. 

  • Profile Image

    Answered by btemp on April 26, 2015 at 12:23 PM

    Thank you BJoanna.

    To get more specific, I should have said how many decimal places I would like to have.

    I would recommend recording at least 7 decimal places.

    References:

    - When using Google Maps and right-clicking on a map and saying "What's Here" you'll notice that they offer 6 decimal places in the text output, but use 7 decimal places in the URL. That's a reasonable standard. Source

    - Wikipedia says that "5 decimal places is precise to 1.1132 meter at the equator." That means that 5 decimal places is not as bad as I thought. But it increasing to 7, would bring it to the"practical limit of commercial surveying". Source

     

  • Profile Image
    JotForm Support

    Answered by BJoanna on April 26, 2015 at 01:07 PM

    Thanks for additional info. I will inform our developers about recommendation. 

  • Profile Image
    JotForm Support

    Answered by TitusN on June 23, 2015 at 05:01 AM

    Hello, 

    You can now specify whichever precision you desire as the submission value.

    Please try that out - and share your experience. 

    Thanks!!