CAVaccineInventory / vial

The Django application powering calltheshots.us

Home Page:https://vial.calltheshots.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-truncate (or don't enforce user truncating) lat/long coordinates

kimberlyd17 opened this issue · comments

Proposal: Auto-truncate the latitude and longitude boxes on the locations page in VIAL, rather than requiring the user to do it.

Background:

  • When we enter locations in VIAL, we paste in the latitude and longitude. Usually when users copy & paste from another page (such as google maps) the data they import has many decimal places. However, because there was a decision made to limit VIAL to 5 decimal places for LAT/LONG, locations error out unless the user deletes these extra digits.
  • In training, this comes up as a "gotcha" and a repetitive task that one has to do -- paste in the latitude and longitude, then click into the fields and press delete the right number of times to get to 5 remaining decimal places.
  • I don't think the current status quo was designed to do this per se, but was an unintended side effect of optimizing elsewhere. It would save time on our (now frequent) action of creating new locations, if we could take this work off the web bankers, and automate.