-
Notifications
You must be signed in to change notification settings - Fork 868
Add Airocean projection (formerly Dymaxion) #4303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
e6787b0
- Add dymaxion projection
plouvart bd72f6b
- Fix inadequate normals on split polygons.
plouvart ef2f17d
- Fix numerical issue due to improper center position
plouvart dc922de
- Remove dead code and comments
plouvart 44ef3a9
- Add dymaxion projection entry to he documentation
plouvart 2c3beb8
- Add test to the dymaxion projection
plouvart f0d194a
Merge branch 'OSGeo:master' into dymaxion
plouvart f7ab809
- Improve wording on dymaxion doc page. Add a note on dymaxion extent…
plouvart 61a5cdf
- Drop the name dymaxion in favor of airocean. Adjust the doc accordi…
plouvart b757564
- Document constants. Rename variables to remove references to dymaxi…
plouvart 2839e88
- Remove reference to Dymaxion Fuller. Fix typo.
plouvart 7ade90e
Merge branch 'OSGeo:master' into airocean
plouvart b0b4e2f
Update src/projections/airocean.cpp
rouault cfc8cde
- Fix spelling errors. Add legitimate words to spelling wordlist.
plouvart d52587c
Merge branch 'airocean' of https://github.com/plouvart/PROJ into airo…
plouvart 03220f5
Update src/projections/airocean.cpp
rouault 93d8ccc
Update docs/source/operations/projections/airocean.rst
rouault dea2417
- Add a test point that triggers an out of bounds error
plouvart 6f5866c
Merge branch 'airocean' of https://github.com/plouvart/PROJ into airo…
plouvart 55aa072
- Add support for chosing between vertical and horizontal orientation.
plouvart 8d00367
- Set matrix multiplication function to be static
plouvart 4b5e714
- Add missing airocean space face transform when selection +orient=ho…
plouvart 3f2f7c1
- Add tests for +orient=horizontal
plouvart 9516118
Update docs/source/operations/projections/airocean.rst
plouvart d76c738
Update docs/source/references.bib
plouvart 75885d6
- Correct typo in Builtins test. except becomes expect
plouvart f39ee02
Merge branch 'airocean' of https://github.com/plouvart/PROJ into airo…
plouvart 18f9d9e
- Document +orient option
plouvart 195da34
- Remove manual computation with semi-major-axis. Sanitize all matric…
plouvart 8988e5b
- remove overriding lat variable
plouvart 9f739cf
- Fix test values following previous lat change
plouvart 4b0e7e3
- Add notebook script used to compute airocean parameters
plouvart 5842f83
- Add mention of the airocean builder script in airocean projection s…
plouvart 79a4082
- Remove notebook. Add python script for printing airocean parameters…
plouvart d5e106a
- Add credit and link to the original source for the values of the ic…
plouvart fa468c9
- Remove dead code. Add original source double precision. Add 0s and …
plouvart ed7c20d
- Reflect the new parameter builder output
plouvart c3ff24a
- Adjust test to new parameter builder output
plouvart 96006e6
- Adjust airocean plot for doc
plouvart 77f2c2e
- Change float32 to float64 in build parameter script to retain full …
plouvart ac09b44
- Remove default parameter for plot generation
plouvart 2a116e9
- Remove plot parameter for 20 faces plot
plouvart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| .. _airocean: | ||
|
|
||
| ******************************************************************************** | ||
| Airocean | ||
| ******************************************************************************** | ||
|
|
||
| .. versionadded:: 9.6.0 | ||
|
|
||
| The Airocean map projection is a icosahedron polyhedral projection that intends | ||
| to lay down continental landmasses into a contiguous map with minimal scale and angular | ||
| distortion while preserving land surfaces from (most) interruptions. | ||
| In comparison to the Snyder's Icosahedral Equal Area, this projection relies on a specific way | ||
| to orient and cut the icosahedron so that most interruptions lie within the ocean. The projection | ||
| was first invented by Buckminster Fuller in 1943 using a cuboctahedron as basis. | ||
| The idea to use an icosahedron came later in 1954, and it wasn't until 1978 that the projection | ||
| was formally mathematically defined :cite:`Gray1995`. | ||
|
|
||
| +---------------------+----------------------------------------------------------+ | ||
| | **Classification** | Polyhedral, equal area | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Available forms** | Forward and inverse, spherical and ellipsoidal | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Defined area** | Global | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Alias** | airocean | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Domain** | 2D | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Input type** | Geodetic coordinates | | ||
| +---------------------+----------------------------------------------------------+ | ||
| | **Output type** | Projected coordinates | | ||
| +---------------------+----------------------------------------------------------+ | ||
|
|
||
|
|
||
| .. figure:: ./images/airocean.png | ||
| :width: 500 px | ||
| :align: center | ||
| :alt: Airocean | ||
|
|
||
| proj-string: ``+proj=airocean`` | ||
|
|
||
| .. note:: | ||
| The airocean map of the whole globe has an extent of approximately | ||
| :math:`[0, 0, 17404000, 36844000]` in meters. Although the airocean map has no | ||
| true up or down, the choice was made to lay it out vertically, from Antarctica to Australia. | ||
plouvart marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| Parameters | ||
| ################################################################################ | ||
|
|
||
| .. note:: All parameters are optional for the projection. | ||
|
|
||
| .. option:: +orient=<string> | ||
|
|
||
| Can be set to either ``vertical`` or ``horizontal``. | ||
|
|
||
| *Defaults to vertical* | ||
|
|
||
| .. include:: ../options/lon_0.rst | ||
|
|
||
| .. include:: ../options/R.rst | ||
|
|
||
| .. include:: ../options/x_0.rst | ||
|
|
||
| .. include:: ../options/y_0.rst | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.