Hi,
I am drawing latitude longitude lines on south polar stereographic projection as per my requirement. When I am zoomout after some extent is giving me error attached. Please guide what is the problem.
Thanks,
Goral
Error on drawing line
Hi Goral,
It seems you forgot the error image, could you please attach it again?
Thanks
Hi Goral,
It’s a overflow error and is thrown by the system Graphics class, I think we cannot know what happened only from this image, could you please build a simple sample for reproduced that?
I guess one possible reason is there are too many points you calculated or the new line is illegal.
Regards,
Don
Hi,
Thanks for reply. I am not able to find out anything. I have attached one cs file. Hope through that you are able to regenerate it.
Again I am explaining the problem. Using the attached code lines are plotted. When I am trying to zoomout after some extent it throws error discussed.
Thanks,
Goral
frmPlotLatlon.cs (14 KB)
Hi Goral,
We have reproduced that and we will try to fix it, but it looks not easy.
We will update here if we get any progress.
Thanks,
Kevin
Hi,
Ok. Thanks for reply.
Thanks,
Goral
Hi Goral,
Any other questions, please feel free to let us know.
Thanks,
Troy
Hi Goral,
I tried your codes. But recreated the issue very unstable. The exception shows the value is out of the range of Int32 type, then I followed the CallStack and found looks like there are some issues on your feature value. As follow:
Would you please check if this is related with the above reason?
I also want to know if the exception is happened unstable in your end?
Thanks,
Troy
Hi,
Thanks for reply. This exception is stable. As I mentioned earlier that it comes after particular zoomout with south polar stereographic projection.
Another thing I got is if I run second loop till 70 then this error is not coming. So after that if points are going beyond values of Int32 type. Then in any projection it should give error.
Thanks,
Goral
Hi Goral,
Seems this issue is related to projection conversion. But it’s difficult to reproduce this issue on our end. Here is the sample we built for testing, would you please try to modify it and let us know how to reproduce it? It would be great appreciated if there is a test video. This is a small but useful tool for you to create a screen recording, techsmith.com/jing.html.
Thanks,
Troy
Hi,
When application loads it draw features. So no error on loading. After that try to zoomout till maximum level and try to pan. Application will throw error at that time. I hope this will be helpful.
Thanks,
Goral
Hi Goral,
Sorry we still can’t recreate it on our end. Did you recreate it with the attached sample I provide before? It is hard for us to dig into it without creating this exception.
Thanks for your understanding.
Troy
Hi,
Thanks for reply. I have regenerated error with your given code only.
Thanks,
Goral
Hi Goral,
Did you modify the codes? Would you please send it back? We need to make sure we can recreate the same issue.
Thanks,
Troy