If I pass in a value of 0.3048 for the distance parameter in TranslateByDegree, I will get the below error. Is this a bug, or by design?
(System.ArgumentOutOfRangeException: The input double value is out of range.
Parameter name: distance
at rhQ=.5D0=.Rj4=(Double Rz4=, String SD4=, Double ST4=, ZiI= Sj4=, Double Sz4=, ZiI= TD4=)
at rhQ=.5D0=.UT4=(Double Uj4=, String Uz4=, Double VD4=, ZiI= VT4=)
at ThinkGeo.MapSuite.Core.Vertex.9l0=(Double 910=, Double /F0=, GeographyUnit /V0=, DistanceUnit /l0=)
at ThinkGeo.MapSuite.Core.RingShape.TranslateByDegreeCore(Double distance, Double angleInDegrees, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
at ThinkGeo.MapSuite.Core.BaseShape.TranslateByDegree(Double distance, Double angleInDegrees, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
at ThinkGeo.MapSuite.Core.PolygonShape.TranslateByDegreeCore(Double distance, Double angleInDegrees, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
at ThinkGeo.MapSuite.Core.BaseShape.TranslateByDegree(Double distance, Double angleInDegrees, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
Error using TranslateByDegrees
Hi Scott,
Thanks for the report, It is a bug and now we have fixed it in latest version(7.0.162.0 or 7.0.0.162).
PS: the latest version is building, please waiting for several hours till the packages is available.
Thanks,
Johnny
Thank you.
Scott,
You are welcome.
Regards,
Johnny