kathrinwuensch

SpatialReference null after moving polygon using the EditGeometry class

Discussion created by kathrinwuensch on Feb 18, 2014
Latest reply on Oct 15, 2014 by JNery-esristaff
Hi,

I followed the "Edit Tools - Geometry" to implement editing of my shapes on the map. Everything is working nicely, until I realised that after the GeometryMoved action of a polygon the GeometryEditEventArgs property Geometry.SpatialReference is null. As I need to calculate the area of the moved and previously reshaped polygon, the missing Spatial Reference is a problem (I am using the AreasAndLengths operation).

I am using ArcGIS Runtime for WPF 10.2.

Currently I reset the spatial reference in the code, but was wondering is this is wanted behaviour or if I implement something wrong?

Thanks,
Kathrin

Outcomes