-
Notifications
You must be signed in to change notification settings - Fork 228
DOC: Add gallery example for using EPSG codes #3973
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
base: main
Are you sure you want to change the base?
Conversation
Recently building the Docs for windows started failing with: embedding documentation hyperlinks for projections... [ 97%] polar.html
embedding documentation hyperlinks for projections... [100%] sg_execution_times.html
build succeeded.
The HTML pages are in _build\html.
make: *** [Makefile:35: html] Error 2816
make: Leaving directory 'D:/a/pygmt/pygmt/doc'
Error: Process completed with exit code 2. |
Yes, looking at the CI build history at https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_docs.yml?query=branch%3Amain, it started to fail since #3932 |
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
What about mentioning EPSG codes on the following two pages: https://pygmt-dev--3973.org.readthedocs.build/en/3973/projections/index.html and https://pygmt-dev--3973.org.readthedocs.build/en/3973/techref/projections.html |
/format |
/format |
Now I moved the EPSG example to the end of the projection gallery, and mention using EPSG codes a the beginning of both projection files. |
The current documentation gives me the impression that all EPSG codes are supported, but I'm not sure if GMT supports all EPSG codes... |
Co-authored-by: Dongdong Tian <[email protected]>
Hm. I am also unsure here. Actually, I was hoping to find a table that gives an overview of these EPSG codes...
|
It seems only a few EPSG codes are supported. For example, the following command gives nothing:
|
I prefer to keep this PR unmerged until we figure out which EPSG codes GMT supports. |
Agree, this should be clear to the users. No worries, we can move this PR to a later release. Probably we also have to update the upstream GMt docs first. |
Description of proposed changes
This PR aims to add a gallery example showing the usage of EPSG codes with the
projection
parameter.At the moment the example is listed in the gallery under "Maps and map elements"; Edit "Projections".
Fixes #2004
Preview:
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash command is:
/format
: automatically format and lint the code