Hi, does anyone know if the pulldata function for geopoint in Survey123 can pull lat and long in dms rather than just decimal degrees?
Solved! Go to Solution.
Hello @NatalieSlayden,
You can use pulldata("@geopoint", ${location}, "DMS") to return the geopoint as degrees, minutes, and seconds. This function returns a JSON object so that can be parsed in two ways:
You can extract specific attributes using the following syntax ex. pulldata("@geopoint", ${location}, "DMS.latitudeText") returns "39°57'36.3\"N" for example.
You can also use pulldata("@json") if you want to separate the calculations.
Please see the Coordinate format section of the Geopoints documentation for more information.
Hello @NatalieSlayden,
You can use pulldata("@geopoint", ${location}, "DMS") to return the geopoint as degrees, minutes, and seconds. This function returns a JSON object so that can be parsed in two ways:
You can extract specific attributes using the following syntax ex. pulldata("@geopoint", ${location}, "DMS.latitudeText") returns "39°57'36.3\"N" for example.
You can also use pulldata("@json") if you want to separate the calculations.
Please see the Coordinate format section of the Geopoints documentation for more information.
Thank you Zach!! Extremely helpful!