laptop and a wrench

Bug

Arcade expression in ArcGIS Velocity produces the following error message when attempting to calculate line geometry for Waze feed, "Test execution error. execution error. Cannot work with geometry in this spatial reference. It is different to the execution spatial reference. verify test data".

ArcGIS Velocity
Bug ID Number BUG-000167154
SubmittedMay 1, 2024
Last ModifiedOctober 13, 2024
Applies toArcGIS Velocity
Version found5.1
Operating SystemN/A
Operating System VersionN/A
Version Fixed5.2 June 2024
StatusFixed

Workaround

  1. Open Calculate Fields tool.
  2. Add field calculation > Geometry.
  3. Click 'Configure an Arcade expression'.
  4. Replace the line field value with a sample like [{"x":-76.994331,"y":38.997245},{"x":-76.993972,"y":38.997253},{"x":-76.993751,"y":38.997286}].
  5. Paste the expression from the blog:
    1. https://community.esri.com/t5/arcgis-velocity-questions/create-line-geom-from-coords/m-p/1227561/highlight/true#M106
  6. Click Run. You will get the error the user is encountering.
  7. Click Ok to close the 'Arcade expression' window.
  8. Click GCS WGS 1984 and choose another projection like the first "Anguila.... 2000".
  9. Click this dropdown again and switch back to GCS WGS 1984 found easily by searching 4326.
  10. Click 'Configure an Arcade expression' again to reopen that interface.
  11. Click Run in the top left, it will now evaluate successfully, Click Ok.
  12. Click 'Add field calculation'.

Steps to Reproduce

Bug ID: BUG-000167154

Software:

  • ArcGIS Velocity

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options