Re: [OpenMap Users] Rhumb line distance calculation

From: Don Dietrick <dietrick@bbn.com>
Date: Sun Dec 21 2003 - 11:39:12 EST

Hi Piotr,

On Dec 20, 2003, at 3:36 PM, pitek wrote:

> Hi,
> I've found that distance calculation for rhumb lines displays an error
> and really calculates great circle distance. What is a problem with
> calculation of rhumb line's distance?

How are you calculating the distance for a Rhumb line? It sounds like
you are calling some API method and expecting to find that answer.

Are you drawing an OMDistance line with LINETYPE_RHUMB?

> Because we know how to draw rhumb line on map, we know all it's point
> so we could divide rhumb line into several segments and calculate
> whole distance
> as a sum of distances of shorter great cricle segments.

That's what I would do.

> Is there something wrong in my idea? I'm not a specialist in that
> domain. I don't think that I'm the fist person which ask about it.
> Have you (users of OpenMap) never needed a rhumb line distance
> calculated in your applications?

I haven't, but that's just me.

- Don

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sun Dec 21 11:43:25 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT