Select to view content in your preferred language

Set UTM as default Coordinate format in Webform

611
5
10-15-2024 03:37 AM
Cyprus_Forest_Department
Frequent Contributor

Hi, is there a way for the webform to default the coordinates format to UTM?

I want my users to enter UTM coordinates without having to select the UTM format so as to change it from Decimal Degrees.

The coresponding setting in Survey123 connect doesn't affect the webform.

Thanks in advance.

Cyprus_Forest_Department_0-1728988474835.png

 

0 Kudos
5 Replies
abureaux
MVP Frequent Contributor

Here is some info on coordinates. EDIT: here is another good source.

Have you tried the Map Coordinates sample in Survey123 Connect?

(even for a web-based app, I'd recommend using Connect. Web tool is... meh)

0 Kudos
Cyprus_Forest_Department
Frequent Contributor

Thanks but I have the requirement for anonymous users to collecte data, so the Webform is the tool to use.

The other thing is that my editors are not topography literate and they use gps with utm coordinates to collect data.

Thanks for the links, though I will give them a look.

0 Kudos
abureaux
MVP Frequent Contributor

anonymous users to collecte data, so the Webform is the tool to use.

You can still use Connect to make the survey. Anonymous data collection is irrespective of Web Tool vs. Connect. Connect just provides better control IMO. Choice is your though. Just know you may run into limitations.

Regarding data collection:

  1. If they could use S123 to actually collect the data, then that would make things easier. If that isn't a choice and this is just them uploading data after the fact, then...
  2. I believe you will need to transform the UTM into Lat-Lon manually. The geopoint question does not support UTM input (however, as I mentioned above, it can convert to different outputs). Converting from UTM to lat-lon isn't the the most straight forward thing. I believe a JS function is your best bet in that case.
0 Kudos
Cyprus_Forest_Department
Frequent Contributor

Sorry, I did not make my self clear.

I used Survey123 connect to publish the survey. Inside the form I have several pulldata calculations, including UTM transformations.

Unfortunately, the users needed to collect the data are to many so as to use the FieldAp, hence the requirement for editing with the webform.

0 Kudos
abureaux
MVP Frequent Contributor

That makes sense!

As for collecting in UTM, I think you only have 3 (not so good) options:

  1. Have the users collect the point on the geopoint, using either address, lat-lon, or clicking on the map manually. Then you can convert that into UTM.
  2. Use JS to do the conversion.
  3. Have them enter the coordinates as plain text, and post-process the data.
0 Kudos