octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9997] [octave forge](mapping) areaquad


From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #9997] [octave forge](mapping) areaquad
Date: Sat, 21 Nov 2020 10:25:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, patch #9997 (project octave):

Thanks, looking into it.

I noted a few issues, a.o.:
* the usual Matlab bug of accepting latitudes outside the [-90..90] degrees
interval (or [-pi/2 .. pi/2] radians);
* areaquad accepts 'lat1, lon1, lat2, lon2, "wgs84", "km"' and returns a
nonsense answer as "km" is recognized as "radians";

... and maybe I find more.
All little stuff and nitty-gritty :-)

As to the last issue, I wonder if a 6th or 7th arg could be accepted as
'lengthunit'. Maybe simply feeding it to validateLengthUnit in a try-catch or
so, I'll look into it. No taboo on doing more than Matlab.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9997>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]