patchGNU Octave - Patches: patch #9965, [octave forge] (mapping) More...

 
 

patch #9965: [octave forge] (mapping) More reference ellipsoids

Submitted by:  None
Submitted on:  Mon 10 Aug 2020 09:26:49 AM UTC  
 
Category:  Forge : other Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Philip Nienhuis <philipnienhuis> Originator Email:  -email is unavailable-
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 23 Aug 2020 07:13:07 PM UTC, comment #4: 

I've added some legacy ellipsoids from Wikipedia, pushed here:
http://hg.code.sf.net/p/octave/mapping/rev/186ac35eccbc

Closing report.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Fri 14 Aug 2020 01:53:05 PM UTC, comment #3: 

Attached code

./code_clean.pl referenceEllipsoid.m

Creates two files
header.txt
clean.txt

These were added to the new version

I just did a quick look at the toolbox and thought it was helpful. Maybe the author can provide more tests.

I coded gc2sc and it passes the first matlab test, but not the second.

(file #49673)

Anonymous
Fri 14 Aug 2020 11:22:07 AM UTC, comment #2: 

Pushed here:
http://hg.code.sf.net/p/octave/mapping/rev/1ca06c746dbe

I'm busy adding additional, legacy reference ellipsoids from Wikipedia.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Thu 13 Aug 2020 06:58:35 PM UTC, comment #1: 

Thanks, I'll implement the patch soon.
You could upload the script here so that it isn't lost. But not needed for the mapping package per sé.

As to octave-map, it's one of several other mapping packages and toolboxes out there on the web.
I didn't know about this one, but it could be usable: several still missing functions, GPL 3 and requiring not-too-much code style editing. OTOH I don't see much input validation.
I'll contact the author.

On wikipedia there's a fairly complete list of legacy reference ellipsoids. You might also look into the sources of the proj library and the GDAL and related websites. There's so much there that I didn't even dare to look.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Mon 10 Aug 2020 09:26:49 AM UTC, original submission:  

Found this

https://github.com/alfoltranteam/octave-map

Wrote a script to parse the ellipsoids (Do you want?).
Added these to the referenceEllipsoid function.
The remaining code numbers are place keepers?
Did not see anything with https://epsg.io/

Attached is the changeset.

hg diff -r2ecda9 inst/ >change.txt

They modified some functions like Azimuth to include the option for ellipsoids and created functions that did not exist in 2014. Wish found this before.

Will look at gc2sc

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49673:  code_clean.pl added by None (897B - application/x-perl)
file #49649:  change.txt added by None (16KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-28 siko1056 Summary[octave forge](mapping) More reference ellipsoids => [octave forge] (mapping) More reference ellipsoids
    2020-08-23 philipnienhuis StatusIn Progress => Done
        Open/ClosedOpen => Closed
    2020-08-14 None Attached File- => Added code_clean.pl, #49673
    2020-08-14 philipnienhuis CategoryNone => Forge : other
    2020-08-14 philipnienhuis StatusNone => In Progress
        Assigned toNone => philipnienhuis
    2020-08-10 None Attached File- => Added change.txt, #49649

    Back to the top


    Powered by Savane 3.6