Geographic Information Systems Asked on October 2, 2021
In a related question, we determined that it’s possible to query an ArcGIS Online FC via an HTTP request.
(I’ll refer to the feature class as FC1.)
In addition to the above, I want to dynamically join from FC1 to a second feature class called FC2.
Left join FC1 to FC2 on FC1.ID = FC2.ID
.Can such a join be performed in ArcGIS Online — in a way that allows the resultset to be served up to an external system? (as a JSON object that is requested via HTTP)
The Join Features tool seems to have worked:
Steps:
Add a feature layer to a web map by using the Join Features tool.
-->
Analysis button in the new Web Map Viewer (Beta).Create an application to authorize HTTP requests to AGOL
And yes, the resulting feature layer is indeed dynamic.
I tested a few edits, and when I query the joined feature layer using the aforementioned HTTP solution, the JSON response does, in fact, show the updated data from the joined columns. So it worked as expected.
From the Join Features tool (ArcGIS Online):
"Create results as a hosted feature layer view allows the data to stay up to date as the source data changes."
https://doc.arcgis.com/en/arcgis-online/analyze/join-features.htm
Correct answer by User1973 on October 2, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP