kartoza / miniSASS

miniSASS website for GroundTruth
http://kartoza.github.io/miniSASS/
GNU General Public License v3.0
2 stars 8 forks source link

Constraint on DMS #630

Open LunaAsefaw opened 5 months ago

LunaAsefaw commented 5 months ago

If I am not mistaken, the range for DMS Latitude is 0 to 90 and DMS Longitude is 0 to 180, right @NyakudyaA ?

Currently, the form accepts any values image

sokolic commented 5 months ago

Correct, the DMS latitude range is 0-90, the longitude range is 0-180. Minutes and Seconds have a range of 0-60.

LunaAsefaw commented 5 months ago

Thanks for the clarification @sokolic

sokolic commented 5 months ago

Currently the decimal degrees allows inputs to four decimal places while the DMS input allows input of seconds to 2 decimal places. In order to make them equivalent you would need the Decimal Degrees to allow inputs to 6 decimal places. Also, given that 1 second represents about 30 metres distance on the ground, I would suggest the following: For Decimal Degrees allows inputs to 6 decimal places; For DMS allow only whole numbers for the Degrees, four decimal places for the Minutes and two decimal places for the Seconds. Configuring the inputs like this would allow users to input either (1) Decimal Degrees, or (2) Degrees and Decimal Minutes, or (3) Degrees, Minutes and Decimal Seconds, while allowing for GPSs that capture points with a positional accuracy of about 30 cm.