×

To be able to write in the forum you need to authenticate. Meanwhile it's read-only.

Change History

Discuss your script development with others (bugs, optimizations, methods ...)

Message: Re: My trail / Cache chain

Changed By: magma1447
Change Date: January 29, 2018 08:12AM

Re: My trail / Cache chain
arisoft Wrote:
-------------------------------------------------------
> I have updated the scipt. Now it can calculate the
> area and perimeter of each green polygon. Area is
> calculated using Vincenty's and Heron's formulas.
Wow, you are awesome, to say the least.

> The result is good enough for comparison of
> reasonable size areas but gives noticeably wrong
> results when used with huge areas like 10% from
> surface of the earth.
Understandable, and in my opinion a good compromise. I don't need it, but in case you haven't tested, you should know if it works between longitude -180 and +180. My guess is that it will be an issue. On the other hand, the case is probably so rare, and hard to solve, that it should be considered a compromise.

> There is a better formula
> available but the length of the formula is longer
> than the script itself >:D<
LOL! :)

PS! My biggest area was surprisingly small with your test-tag.

Original Message

Author: magma1447
Date: January 29, 2018 08:11AM

Re: My trail / Cache chain
arisoft Wrote:
-------------------------------------------------------
> I have updated the scipt. Now it can calculate the
> area and perimeter of each green polygon. Area is
> calculated using Vincenty's and Heron's formulas.
Wow, you are awesome, to say the least.

> The result is good enough for comparison of
> reasonable size areas but gives noticeably wrong
> results when used with huge areas like 10% from
> surface of the earth.
Understandable, and in my opinion a good compromise. I don't need it, but in case you haven't tested, you should know if it works between longitude -180 and +180. My guess is that it will be an issue. On the other hand, the case is probably so rare, and hard to solve, that it should be considered a compromise.

> There is a better formula
> available but the length of the formula is longer
> than the script itself >:D<
LOL! :)