Reverse Geocode is giving business name instead of address

438
2
05-30-2023 10:57 AM
slach
by
New Contributor II

I'm using the information located here: https://community.esri.com/t5/arcgis-survey123-blog/understanding-reverse-geocoding-in-survey123-3-0... to build a survey123 form where a user can select an address on a map and it will populate the address of that location in a hidden field. However, for some locations on my map the populated address will be the name of the business located at that address instead of the actual address. Any clue how to get around this?

 

I am using the default geocoder I believe because I never selected a particular geocoder. See the photo for an example of what's going on.s123reversegeocode.PNG

0 Kudos
2 Replies
IsmaelChivite
Esri Notable Contributor

You can control this in a couple of different ways:

 

pulldata("@geopoint",${map_location},"reversegeocode.address.Match_addr","https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer","featureTypes=PointAddress")  Will return ONLY point addresses.

 

The list of featureTypes includes:

  • StreetInt
  • DistanceMarker
  • StreetAddress
  • StreetName
  • POI
  • Subaddress
  • PointAddress
  • Postal
  • Locality

You can use one or multiple featureTyper (separated by commas). More info here: https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm 

slach
by
New Contributor II

Thanks for your help! The pull data calculation you provided worked perfectly

0 Kudos