Mapping package: Difference between revisions

Jump to navigation Jump to search
4,409 bytes removed ,  7 June 2022
 
(11 intermediate revisions by 3 users not shown)
Line 6: Line 6:
Targets for next mapping package releases:
Targets for next mapping package releases:
* Add rasterwrite.m (complementary to rasterread). Please contact package maintainer, there's already a C++ skeleton.
* Add rasterwrite.m (complementary to rasterread). Please contact package maintainer, there's already a C++ skeleton.
* Maybe add wrapper functions around rasterread and rasterwrite (for e.g., geotiff, ASCII grid, etc.).
* Maybe add wrapper functions around rasterread and rasterwrite (for e.g., geotiff, ASCII grid, etc.). Matlab has arcgridread
* Add more options to mapshow.
* Add more options to mapshow.
* Implement support for projections. I (current mapping pkg maintainer) have little need nor much experience with this subject => help welcome! BTW there's an OF proj package that offers some of the functionality.
* Implement support for projections and coordinate transformations. I (current mapping pkg maintainer) have little need nor much experience with this subject => help welcome! BTW there's an OF proj package that offers some of the functionality.
* Add geodesy functions. Patches have been submitted and integrated. The current roadmap is to further integrate Felipe Nievinsky's geodesy toolbox, updated by M. Hirsch.
* Add geodesy functions. Patches have been submitted and integrated. The current roadmap is to further integrate Felipe Nievinsky's geodesy toolbox, updated by M. Hirsch.


Several functions in the current mapping package release (1.4.0) and upcoming (1.4.1) haven't had much testing. Please try them out and report issues in the bug tracker with "[octave forge](mapping)" tag in the title.
Several functions in the current mapping package release (1.4.2) and upcoming (1.4.3?) haven't had much testing. Please try them out and report issues in the bug tracker with "[octave forge](mapping)" tag in the title.


=== Missing functions ===
=== Missing functions ===
Follows an incomplete list of stuff missing in the mapping package to be matlab compatible. Bugs are not listed here, [https://savannah.gnu.org/bugs/?func=search&group=octave search] and [https://savannah.gnu.org/bugs/?func=additem&group=octave report] them on the bug tracker instead.
Follows an incomplete list of stuff missing in the mapping package to be matlab compatible. Bugs are not listed here, [https://savannah.gnu.org/bugs/?func=search&group=octave search] and [https://savannah.gnu.org/bugs/?func=additem&group=octave report] them on the bug tracker instead.


As a number of polygon functions in the mapping package relate to geometry stuff, chances are that some of that lacking functionality is already present in the [http://wiki.octave.org/Geometry_package geometry package]. In fact there is a discussion about which functions belong where. Matlab compatibility suggests the mapping package, but based on similar functionality the geometry package might also be a good home.
As a number of polygon functions in the mapping package relate to geometry stuff, chances are that some of that lacking functionality is already present in the [http://wiki.octave.org/Geometry_package geometry package]. In fact there was a discussion about which functions belong where. Matlab compatibility suggests the mapping package, but based on similar functionality the geometry package is probably a better home.
Anyway the mapping package has the geometry package as a required dependency.


Recent mapping toolbox versions are classdef-based. It is unclear yet if we need to follow this route as classdef support in Octave is still experimental and has no file I/O.
Recent matlab mapping toolbox versions are classdef-based. It is unclear yet if we need to follow this route as classdef support in Octave is still experimental and has no file I/O.


{{Note|this entire section is about upcoming version (expected May 2020) 1.4.1. If a Matlab function is missing from the list and does not appear on the current release of the package, confirm that is also missing in the [http://hg.code.sf.net/p/octave/mapping/file sources], see esp. the INDEX file, before adding it.}}
{{Note|this entire section is about version 1.4.2 (released early 2022). If a Matlab function is missing from the list and does not appear on the current release of the package, confirm that is also missing in the [http://hg.code.sf.net/p/octave/mapping/file sources], see esp. the INDEX file, before adding it.}}


==== Alphabetical list ====
==== Alphabetical list ====
<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4">
<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4">
* angl2str
* arcgridread '''[1]'''
* arcgridread '''[1]'''
* areaint
* areaint
* areamat
* areamat
* areaquad
* areaquad '''*'''
* avhrrgoode
* avhrrgoode
* avhrrlambert
* avhrrlambert
Line 51: Line 51:
* demcmap
* demcmap
* demdataui
* demdataui
* departure
* distortcalc
* distortcalc
* dted
* dted
* dteds
* dteds
* ecef2lv
* ecef2lv
* ecef2ned
* ecef2nedv
* ellipse1
* ellipse1
* etopo
* etopo
Line 63: Line 60:
* flatearthpoly
* flatearthpoly
* framem
* framem
* gc2sc
* gcm
* gcm
* gcpmap
* gcpmap
* gcxgc
* gcxsc
* geodetic2ned
* geoloc2grid
* geoloc2grid
* geopoint
* geopoint
Line 115: Line 108:
* makedbfspec
* makedbfspec
* makerefmat
* makerefmat
* map.geodesy.AuthalicLatitudeConverter
* map.geodesy.AuthalicLatitudeConverter [6]
* map.geodesy.ConformalLatitudeConverter
* map.geodesy.ConformalLatitudeConverter [6]
* map.geodesy.IsometricLatitudeConverter
* map.geodesy.IsometricLatitudeConverter [6]
* map.geodesy.RectifyingLatitudeConverter
* map.geodesy.RectifyingLatitudeConverter [6]
* map.geodesy.isdegree
* map.geodesy.isdegree
* map.rasterref.GeographicRasterReference
* map.rasterref.GeographicRasterReference
Line 144: Line 137:
* mlabel
* mlabel
* mlabelzero22pi
* mlabelzero22pi
* ned2ecef
* ned2ecefv
* ned2geodetic
* newpole
* newpole
* northarrow
* northarrow
Line 175: Line 165:
* quiverm
* quiverm
* reducem
* reducem
* referenceSphere
* refmatToGeoRasterReference
* refmatToGeoRasterReference
* refmatToMapRasterReference
* refmatToMapRasterReference
Line 192: Line 181:
* scircleg
* scircleg
* scirclui
* scirclui
* scxsc
* sdtsdemread '''[1]'''
* sdtsdemread '''[1]'''
* sdtsinfo '''[2]'''
* sdtsinfo '''[2]'''
Line 200: Line 188:
* showaxes
* showaxes
* stem3m
* stem3m
* str2angle
* surfacem
* surfacem
* surflm
* surflm
Line 257: Line 244:
* [4] ''Implemented in OF geometry-4.0.0''
* [4] ''Implemented in OF geometry-4.0.0''
* [5] ''See OF image package''
* [5] ''See OF image package''
* [6] ''Replacement function implemented''
*  *  ''Implemented in dev version''
*  *  ''Implemented in dev version''


Line 282: Line 270:
|-
|-
| getworldfilename||File Import and Export||Standard File Formats
| getworldfilename||File Import and Export||Standard File Formats
|-
| gpxread||File Import and Export||Standard File Formats
|-
|-
| kmlwrite||File Import and Export||Standard File Formats
| kmlwrite||File Import and Export||Standard File Formats
Line 330: Line 316:
|-
|-
| avhrrlambert||File Import and Export||Specific Vector and Gridded Data Products
| avhrrlambert||File Import and Export||Specific Vector and Gridded Data Products
|-
| egm96geoid||File Import and Export||Specific Vector and Gridded Data Products
|-
|-
| gshhs||File Import and Export||Specific Vector and Gridded Data Products
| gshhs||File Import and Export||Specific Vector and Gridded Data Products
Line 606: Line 590:
|-
|-
| viewshed||Data Analysis||Terrain Data Analysis
| viewshed||Data Analysis||Terrain Data Analysis
|-
| wgs84Ellipsoid||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
|-
| earthRadius||Coordinates, Geodesy, and Projections||Modeling the Earth
| earthRadius||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| rcurve||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
|-
| rsphere||Coordinates, Geodesy, and Projections||Modeling the Earth
| rsphere||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| geocentricLatitude||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| parametricLatitude||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| geodeticLatitudeFromGeocentric||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| geodeticLatitudeFromParametric||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| axes2ecc||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| majaxis||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| minaxis||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| ecc2flat||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| flat2ecc||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| ecc2n||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| n2ecc||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
|-
| oblateSpheroid||Coordinates, Geodesy, and Projections||Modeling the Earth
| oblateSpheroid||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
|-
| referenceEllipsoid||Coordinates, Geodesy, and Projections||Modeling the Earth
| map.geodesy.AuthalicLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth [6]
|-
| referenceSphere||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
| map.geodesy.AuthalicLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth
|-
|-
| map.geodesy.ConformalLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth
| map.geodesy.ConformalLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth [6]
|-
|-
| map.geodesy.IsometricLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth
| map.geodesy.IsometricLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth [6]
|-
|-
| map.geodesy.RectifyingLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth
| map.geodesy.RectifyingLatitudeConverter||Coordinates, Geodesy, and Projections||Modeling the Earth [6]
|-
| str2angle||Coordinates, Geodesy, and Projections||Lengths and Angles
|-
|-
| unwrapMultipart||Coordinates, Geodesy, and Projections||Lengths and Angles
| unwrapMultipart||Coordinates, Geodesy, and Projections||Lengths and Angles
Line 658: Line 610:
|-
|-
| azimuth||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
| azimuth||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| departure||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
|-
| distance||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
| distance||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| gc2sc||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| gcxgc||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| gcxsc||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| meridianarc||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
|-
| meridianfwd||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
| meridianfwd||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
| reckon||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
|-
|-
| rhxrh||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
| rhxrh||Coordinates, Geodesy, and Projections||Great Circles, Geodesics, and Rhumb Lines
Line 686: Line 626:
|-
|-
| ellipse1||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
| ellipse1||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| deg2km||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| deg2nm||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| deg2sm||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| gcxsc||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| rad2nm||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| rad2sm||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
|-
| scircle1||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
| scircle1||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
Line 706: Line 634:
|-
|-
| scirclui||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
| scirclui||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
| scxsc||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
|-
|-
| sectorg||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
| sectorg||Coordinates, Geodesy, and Projections||Small Circles, Ellipses, and Spherical Distance
Line 714: Line 640:
|-
|-
| areamat||Coordinates, Geodesy, and Projections||Zones, Lunes, Quadrangles, and Other Areas
| areamat||Coordinates, Geodesy, and Projections||Zones, Lunes, Quadrangles, and Other Areas
|-
| areaquad||Coordinates, Geodesy, and Projections||Zones, Lunes, Quadrangles, and Other Areas
|-
|-
| bufgeoquad||Coordinates, Geodesy, and Projections||Zones, Lunes, Quadrangles, and Other Areas
| bufgeoquad||Coordinates, Geodesy, and Projections||Zones, Lunes, Quadrangles, and Other Areas
Line 784: Line 708:
|-
|-
| utmgeoid||Coordinates, Geodesy, and Projections||Coordinate Systems
| utmgeoid||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| utmzone||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
|-
| utmzoneui||Coordinates, Geodesy, and Projections||Coordinate Systems
| utmzoneui||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2geodetic||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| geodetic2ecef||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| geodetic2enu||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| geodetic2ned||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| geodetic2aer||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| enu2geodetic||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ned2geodetic||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| aer2geodetic||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2enu||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2ned||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2aer||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| enu2ecef||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ned2ecef||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| aer2ecef||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| aer2enu||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| aer2ned||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| enu2aer||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ned2aer||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2enuv||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ecef2nedv||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| enu2ecefv||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
| ned2ecefv||Coordinates, Geodesy, and Projections||Coordinate Systems
|-
|-
|}
|}
99

edits

Navigation menu