Hi,
I am facing a smoothing issue for GC line between Two points.
I have flight route between source and destination. I am plotting normal route and GC as well…
Normal route is a collection lines, and it is plotting well with smoothing… But
GC line is not that much smoother. Please check this and give me solution for this. I am using Thinkgeo Web Edition 10. The below pic shows the issue. Green line is GC line .
-
GC line style is
LineStyles.CreateSimpleLineStyle(GeoColor.SimpleColors.Green, 1, LineDashStyle.Dash, true) -
Code for adding GC line is follows.
PointShape pt1 = new PointShape(dGCFromLon, dGCFromLat);
PointShape pt2 = new PointShape(dGCToLon, dGCToLat);
MultilineShape lnGC = pt1.GreatCircle(pt2);
Feature ftGCLine = new Feature(lnGC);
imGCLayer.InternalFeatures.Add(_proj.ConvertToExternalProjection(ftGCLine));
Thanks,
Ashok