Credit consumption with own geocoder

527
3
02-24-2021 08:12 PM
KerryKang
Occasional Contributor II

Hello, 

I am using reverse geocoding function with the geocoder outside of Esri. However, I realized that my credits got really low (spent over 40)  for the last couple of days while I was testing reverse geocoding. I thought reverse geocoding won't charge any credits unless I am using Esri geocoder.  Can someone explain me where all charges come from? I did test less than 30 times, and the status says I used it for over 1,000 locations. I also set up this using Integromat so that I can be used during offline too.

This is my current reverse geocoding syntax that I am using. I created it based on Survey123 for ArcGIS: Advanced Topics. https://www.esri.com/content/dam/esrisites/en-us/about/events/media/UC-2019/technical-workshops/tw-6...

pulldata("@geopoint", ${geometry}, "reversegeocode.properties.fullAddress", "https://....?",${pointLongLat})

I need to put "point=x,y" at the end as a parameter so I calculated it as 'pointLongLat'.Do I still include anything that uses Esri geocoder?  

 

3 Replies
JamesTedrick
Esri Esteemed Contributor

Hi @KerryKang ,

Without seeing your form design fully, it is hard to understand if there are any unintentional uses of the ArcGIS Online World Geocoder.  Is your testing using the Survey123 Connect, the field app or the web app?

0 Kudos
KerryKang
Occasional Contributor II

Hi @JamesTedrick 

I was testing it from both Connect and also mobile apps after publishing the survey. In the background, I set up http request for reverse geocoding as well so that I could test in the offline mode, too. 

I will be happy to share my form if you can take a look. 

 

Thank you.

 

Kerry

0 Kudos
KerryKang
Occasional Contributor II

@JamesTedrick 

 

As work around, I used pulldata @javascript function to send a request to the geocoder server and could extract the address (I referenced open weather api sample code);  I assume this does not charge any credits? however I am not sure if it can be used during offline. This app will be used in offline areas most.

 

Kerry

0 Kudos