ThinkGeo.com    |     Documentation    |     Premium Support

GetShortestLineTo – a small suggestion











Hi Guys,


GetShortestLineTo does its job nicely, sorting out which way to go, producing a neat Great Circle and handling the 180 meridian, good stuff.  


In the Marine world people have this thing about not hitting the land, it can often spoil your entire day, tends to annoy the indigenous population of whatever you hit and results in outrageously large amounts of paperwork.  Thus there are occasions where the ShortestLine, which, in ThinkGeo terms, always seems to be a Great Circle should be a Rhumb Line or a straight line when projected on a Mercator map, this helps avoid the land and the associated paperwork.


Would it be possible to add a parameter to the GetShortestLineTo to have it work as it does at the moment but give the choice of the output being a Great Circle or a straight/Rhumb line?


Regards


John




John, 
  
 I have heard of the Rhumb line but I never know what that is for, thanks for your insight.:) 
  
 I think maybe we will not add an overload to GetShortestLineTo(), instead we will add another method to PointShape, similar to GetGreatCircle, like PointShape.GetPhumbLine(PointShape), as this function is only available for 2 points right? 
  
 Anyway, I don’t have the final idea about this and will ask our geography expert for it. Thanks for pointing it out. 
  
 Ben. 


Hi Ben,


Thanks for that.  I'd be happy with the PointShape.GetRhumbLine(PointShape) method but even more happy if it handled the 180 meridian as the GetShortestLineTo does. 


John


 



John,  
  
 Thanks for your reminding. we will handle that.  
  
 Ben

We added Rhumb Line to our Issue Tracker and we will look at implementing this at a later time. If this is a showstopper that keeps you from purchasing the product. Let us know and we will make it a high priority. Thank you.

Hi Val,


Not a showstopper, we already have the code to do this, just need to port it to your projection system.


Regards


John


 


 



More good suggestions are appreciated, John :)