[bug #68076] [mapping] geodetic2aer() with fails to support scalar local to vector target

GnuPooh <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68076>

                 Summary: [mapping] geodetic2aer() with fails to support
scalar local to vector target
                   Group: GNU Octave
               Submitter: gnupooh
               Submitted: Fri 20 Feb 2026 06:56:34 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Rick Niles
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 10.3.0
        Operating System: Mac OS
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 20 Feb 2026 06:56:34 PM UTC By: GnuPooh <gnupooh>
In matlab:

>> geodetic2aer(1,2,3,[4 5],[6 7],[8 9], wgs84Ellipsoid, "degrees")

ans =

  233.3900  231.6437


In Octave mapping toolbox:

octave:1> geodetic2aer(1,2,3,[4 5],[6 7],[8 9], wgs84Ellipsoid, "degrees")
error: geodetic2aer: non-matching dimensions of geodetic locations and AER
target points
error: called from
    geodetic2aer at line 132 column 7



Probably a quick fix to allow either the local or target to be a scalar and
then ones() multiple it to the dimension of the other if it's a vector.  I
don't what matlab will do with higher dimensions.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68076>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZiuZgAKCRCqLAuaBUf3
TnuzAQCVRi7OQKEBF4Z/5VDXAbkYqphCJGvtiFdWZK+t1WrhaAEAtsySGgue3NIx
wRNz/bRZNirxLxfBer/uLCL44yUXdgw=
=k/lq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.