What units is maxDeviation in Esri.ArcGISRuntime.Geometry.GeometryEngine.Generalize ?

1483
1
Jump to solution
03-17-2016 06:49 AM
MarcHillman
New Contributor III

Trying to generalize some geometry to a 10 meter maxDeviation. When I use 10 as my maxDeviation, no generalization occurs. When I divide 10 by ~315 I get a little too much generalization. It's clear to me that the units of maxDeviation are not meters, but what are they? Polygons are lat/lon and datum is WGS84.

0 Kudos
1 Solution

Accepted Solutions
VinceAngelo
Esri Esteemed Contributor

Generalization is usually done using what is now known as the Ramer-Douglas-Peucker algorithm.  The units of the deflection parameter (epsilon) is in Cartesian mapping units (for WGS84, Cartesian degrees).  Ten meters would be on the order of 0.0001 degrees (near the equator).

- V

View solution in original post

1 Reply
VinceAngelo
Esri Esteemed Contributor

Generalization is usually done using what is now known as the Ramer-Douglas-Peucker algorithm.  The units of the deflection parameter (epsilon) is in Cartesian mapping units (for WGS84, Cartesian degrees).  Ten meters would be on the order of 0.0001 degrees (near the equator).

- V