Hello,
if I call TranslateByDegree() method on a lineshape I get strange results when the angle Parameter has values like 0.054 or 359.066.
I have attached a small sample where you can see my Problem. We use version 7.0.0.87.
Thomas
GISWpfSample_Translate.zip (14.4 KB)
TranslateByDegree() method issue
Hi Tomas,
Thanks for your post, Yes, the 0.054 feature is weird, it shouldn’t be that long, we have fixed it already. You can get the latest build(7.0.101.0 or 7.0.0.101 still in build will be available in hours) and try it again.
Thanks
Summer
Hi Summer,
I made some tests with 7.0.0.126 Version. Translation for lineshapes works now, but if you translate the vertex of the lineshape then the bug is still there when using an angle of 0.054.
You can see the bug in my attached sample.
Thanks Thomas
GISWpfSample_Translate2.zip (14.6 KB)
Hi Tomas,
Thanks for your further information, this bug is fixed, would you please get the latest dll package 7.0.129.0 or 7.0.0.129(still in build will be available in hours) and try it again?
Hope it helps
Summer
Hello,
I tried 7.0.0.133. The result is different but not correct.
Result with 7.0.0.126:
Result with 7.0.0.133:
Please Fix it!
Thomas
Hi Thomas,
Thanks for your report! We have fixed this.
Sorry we introduced the new issue.
Please get the latest 7.0.135.0 or 7.0.0.135 for this fix.
Regards,
Don
Actually, we have decided to take a different approach. We are going to take the source vertex and then when given the distance and angle use that to generate the new lat/lon and then create a vertex there, and delete the source. This should be sufficient.
Thanks for your help.
Hi Scott,
We are glad you found solution to calculate.
Please let us know if you have any question.
Regards,
Don