3

ArcGIS Collector (Android)

ArcGIS Online


Scenario:

Users create and update features in a point FC via Collector.

Upon creation/update, I want Collector to:

  1. Automatically get the ASSET_ID value from the closest feature in a line FC.
  2. Insert the value from the line FC into an ASSET_ID field in the points FC.

What would it take to configure ArcGIS Collector to automatically perform a spatial operation like this?

0
2

Since you can't extend or customize Collector itself:

  1. Maybe using a SOI (Server Object Interceptor) to intercept the point feature add/update event, then execute some custom code such as the Near() geoprocessing method to return the closest line feature.
  2. Have some sort of SQL trigger, to calculate the nearest line using the built-in spatial functions of the database.
5
  • Is it possible to do this in ArcGIS Online (hosted)? Pardon my ignorance, but isn't the ArcGIS Online DB inaccessible -- since it's some sort of Azure or AWS PostgreSQL db? Or have I misunderstood? – User1973 Jul 27 '20 at 18:47
  • ArcGIS Online does not provide access to create/update any intercepter or DB access for SQL triggers. – Muhammad Imran Siddique Jul 28 '20 at 6:12
  • but ESRI Rest services dose. – Muhammad Imran Siddique Aug 3 '20 at 15:48
  • @MuhammadImranSiddique Do we need a GeoAnalytics Server license to use it? – User1973 Aug 8 '20 at 2:14
  • I dont know, I can check for you. – Muhammad Imran Siddique Aug 8 '20 at 7:47
1

Use Smart Edit Widget in ArcGIS Online Web Application builder

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.