Survey123: Split the address number from street name?

125
3
05-23-2019 09:20 AM
Highlighted
Occasional Contributor III

How do I split the address numbers from street names and move that data to another field? 

Reply
0 Kudos
3 Replies
Highlighted
Esri Esteemed Contributor

Hi Jordan,

How are you receiving the street address?  If it's coming from a reverse geocode, you should be able to request the specific subcomponent (see the 'AddNum' value in the sample at Geopoints—Survey123 for ArcGIS | ArcGIS ).  If you are trying to parse text entered in a form question, that could be more difficult.

Reply
0 Kudos
Highlighted
Occasional Contributor III

Hi James,

I see there is a something for getting the address numbers but there isn't anything for the street. I figured I would need to somehow remove the everything before the first space which would remove the house number. 

Reply
0 Kudos
Highlighted
Esri Esteemed Contributor

Hi Jordan,

It may help to see the response first - street name may be in the response.  The World Geocoding Service documentation (geocodeAddresses—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers ) shows it in the response.

Reply
0 Kudos