Create a geoprocessing tool that allows the generation of geometry based on an expression in Arcade similar to how QGIS has the "Geometry by Expression" tool.
I have a tree dataset with a point feature of the tree stem and a number of integer attributes of crown spread and would like to be able to create a polygon geometry based on creating new points based on these, buffering, convex gull and merge. This is easily done in QGIS using the below but would like ot add the process into a wider tool taking a hosted feature layer collected in S123.
convex_hull(combine(buffer(make_point($x-("Crown_W"/2),$y),"Crown_W"/2),
combine(buffer(make_point($x+("Crown_E"/2),$y),"Crown_E"/2),
combine(buffer(make_point($x,$y+("Crown_N"/2)),"Crown_N"/2),
buffer(make_point($x,$y-("Crown_S"/2)),"Crown_S"/2)))))
This is onbiously only one use case but i can see it being really useful for a number of other applications
For our notes, here is your related question: Generate geometry by expression tool similar to QGIS
Are you looking for a dynamic, ad-hoc querying mechanism? Meaning, you don't want to create multiple, messy static output FCs using assorted geoprocessing tools? And attribute rules, database views, and query layers don't apply because the data is in AGOL? (and those mechanisms would require extensive custom code anyway, which you stated in your related question that you want to avoid; and database views in file geodatabases aren't suitable due to limited SQL support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.