Hello,
I am adding a circle to a layer with a radius of 10 miles.
EllipseShape ellipseShape = new EllipseShape(pointShape, 10, 10, GeographyUnit.DecimalDegree, DistanceUnit.Mile);
When I use the following, I get:
features.GetBoundingBox().Width = 0.374189340478466
features.GetBoundingBox().Height = 0.289645418627046
I am storing values in a datatable and need to be able to create the layer again.
My question is what units are the width and height stored in? and how do I convert them back to miles so that I can use the following:
EllipseShape ellipseShape = new EllipseShape(pointShape, radiusWidth, radiusHeight, GeographyUnit.DecimalDegree, DistanceUnit.Mile);
Where radiusWidth, is some multiple of features.GetBoundingBox().Width (0.374189340478466) = 10 miles.
Thanks, Steven