New answers tagged

0

For those interested I've managed to get this working, I'm converting from MGA meters to a local map grid projection, also in meters. private Esri.ArcGISRuntime.Geometry.MapPoint ConvertToLocalMapGridCoords(Esri.ArcGISRuntime.Geometry.MapPoint sourceMapPoint, string projectionFile) { var wkTextDest = System.IO.File.ReadAllText(projectionFile); var ...


1

The best way to deal with this seems to be by following the advice Microsoft gives about how to compare two doubles: https://msdn.microsoft.com/en-us/library/ya2zha7s(v=vs.110).aspx Here's how I ended up implementing it in my code for ArcMap: If I want to select a line based on its SHAPE.len value I would set the "where clause" of the query to be: "ABS(...


1

I found a post with essentially at Row.Value returns rounded SHAPE.area and SHAPE.len values? No answer is given but the comment section provides good insight and possible workrounds. This problem is related to "False Precision" and "failure to bracket floating-point comparisons". I decided to use the rounding of value pairs workaround. I also posted a ...



Top 50 recent answers are included