Select to view content in your preferred language

How to obtain just UPRN field from OS Places Cascade using @pull data code

681
1
10-17-2023 01:08 AM
AndrewReynoldsDevon
Regular Contributor

I'm using the @pull data code see below to return the address including the UPRN field however I just want the UPRN field. What do I need to change to the code below to do that?

uprn.JPG

pulldata("@geopoint",${SchoolTransport_point},"reversegeocode","LocatorURL","featureTypes=" + "UPRN")
0 Kudos
1 Reply
BarbaraWebster1
Esri Regular Contributor

Hi @AndrewReynoldsDevon,

You should be able to extract individual properties from the JSON object by changing "reversegeocode" to something like "reversegeocode.address.UPRN".

-Barbara


0 Kudos