Select to view content in your preferred language

Automating Accurate 3D lengths from pro to hosted layer in AGOL

128
0
04-07-2025 02:42 PM
Labels (3)
MattTarkington1
Regular Contributor

Hello all,

I've got a bit of a tricky work flow that I'm trying to figure out. My end users use AGOL to draw lines, points, and polygons. I believe that I am stuck using WGS84 Web Mercator for this end of the work flow. However I need to get accurate 3D spatial statistics into specific fields in the hosted layer.

My workflow thus far has been:

Export Layer> Project Layer into local state plane> Add Surface Information> Add Join based on unique value> calculate field in original (hosted) layer to match new spatial statistics in state plane joined layer>Remove Join> Start process over if adjustments have been made. 

This works and has proven accurate. However it's getting tedious to do this over and over again as my users make adjustments. I've attempted to use model builder to automate, but it always fails at the join. I believe this is due to the joined field names not staying consistent for each new join.

So my next thought was to use arcade in calculate field to input the correct spatial data from the local layer into the hosted layer. I've had success with similar scripts within the AGOL map viewer. Though ArcPro seems to dislike the $map variable, and $datastore won't work due to the layers being stored in different locations.

I'm kind of stumped here, and am hoping that someone out there in the geosphere might have some ideas on how to accomplish this. 

 

Thanks!

 

0 Kudos
0 Replies