Select to view content in your preferred language

Create new field to calculate lat/lon in decimal degrees

719
1
11-01-2023 12:16 PM
swhitcombMCC
Occasional Contributor

I am trying to automate the update of an Airtable database using data collected with Field Maps. The data are collected by a webhook in Make.com and passed to Airtable. Field Maps returns geometry in meters, but I need it converted to decimal degrees because that's how we have the locations listed in the database.

Is there a way to create a new field in AGOL that calculates lat/lon in decimal degrees? Or is there a different way to achieve this goal?

0 Kudos
1 Reply
EmilyGeo
Esri Contributor

Hi @swhitcombMCC , 

Yes, you should be able to convert to decimal degrees using an arcade expression and write that to new fields. You would need to add the new field(s), then set up the arcade expressions for each when configuring the form for data collection. Using calculated expressions in the form will automatically generate those values when creating or updating features.

Here are a few helpful links to get you started:

See the Coordinates section in Alix's Blog article on Using Smart Forms 

Lat/Long unit conversion discussion on Community

 

0 Kudos