patchGNU Octave - Patches: patch #9634, mapping package:...

 
 

patch #9634: mapping package: referenceEllipsoid and wgs84Ellipsoid

Submitter:  None
Submitted:  Tue 08 May 2018 03:25:09 PM UTC
   
 
Category:  Forge : new function Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  philipnienhuis Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 08 Sep 2018 06:50:17 PM UTC, comment #5: 

You can add them as separate cases in the switch statement in referenceEllipsoid.m.
If you upload the results as a "diff -u" I'll apply them.
Thanks.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 13 Jul 2018 08:34:35 PM UTC, comment #4: 

That is how I knew to handle the data.
I see now there is a cleaner approach.

Note I only added a small amount of reference ellipsoids. Just to make sure the code did work.

Below are some common ones
http://wiki.gis.com/wiki/index.php/Reference_ellipsoid#Common_reference_ellipsoids_for_the_Earth

How would you like to add new ones if they arise?

Anonymous
Mon 09 Jul 2018 06:52:22 PM UTC, comment #3: 

OK, pushed them here after considerable editing:
http://hg.code.sf.net/p/octave/mapping/rev/3a5b514eb6c1

Thanks Anonymous for these contributions!

Closing.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 09 Jul 2018 06:29:46 PM UTC, comment #2: 

I'm just wondering why:

  • A separate subfucton is required to compute the ellipsoid properties;


  • That subfunction returns (a lot of) separate struct fields rather than a complete struct.


Philip Nienhuis <philipnienhuis>
Group Member
Tue 15 May 2018 06:58:50 PM UTC, comment #1: 

I'm busy with it, thanks.

Philip Nienhuis <philipnienhuis>
Group Member
Tue 08 May 2018 03:25:09 PM UTC, original submission:  

Same person from https://savannah.gnu.org/patch/?func=detailitem&item_id=9492#options

Note: flat2ecc and minaxis are required (Patches 9566 and 9492 )

wgs84Ellipsoid is just a wrapper of the referenceEllipsoid, so BIST would be redundant. Is this what you would like?


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44121:  referenceEllipsoid.m added by None (5KiB - text/x-objcsrc)
file #44122:  wgs84Ellipsoid.m added by None (2KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2018-07-09 philipnienhuis StatusNone Done
    Open/ClosedOpen Closed
2018-05-15 philipnienhuis Assigned toNone philipnienhuis
2018-05-08 None Attached File- Added referenceEllipsoid.m, #44121
    Attached File- Added wgs84Ellipsoid.m, #44122

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code