-
Notifications
You must be signed in to change notification settings - Fork 1
Add How to guide for GADM data sets #22
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
Conversation
Related to GenericMappingTools/dcw-gmt#30 (comment) |
Could you give me a quick intro on the gmt-examples repo;
|
KMZ may be slightly smaller but it will be slower to process as it will make two copies in ascii. One from kmz to kml and another from kml to .gmt. And the second conversion implies that ogr2ogr will have to parse a big xml ascii file to convert it to .gmt |
The idea is to add examples in another repository (this one) and not in the main one (where the code is).
https://www.generic-mapping-tools.org/gmt-examples/
We should add one. |
Ok, I will try to update the script to use geopackage instead. |
I checked and I don't think that it is a good idea to download the I think it is better to use KMZ (or JSON aslo) where the data is split in levels, so you directly will download the level that you want to use. |
OK, good to know that. |
Is this ready for approval? Or are there any comments? |
@@ -79,6 +78,15 @@ Seismology and geodesy | |||
Basemaps | |||
~~~~~~~~ | |||
|
|||
.. cssclass:: gmtgallery |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the gallery after #28
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am bit confused about how to do it. I will cancel this PR and make a new one.
.. cssclass:: gmtgallery | ||
|
||
- .. image:: _images/7dd36e07258e1015a0673dea4e472db1.png | ||
:target: gallery/maps/gadm.html | ||
:width: 80% | ||
:align: center | ||
|
||
:doc:`gallery/maps/gadm` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to open a separate PR #29, just need to update the following lines:
.. cssclass:: gmtgallery | |
- .. image:: _images/7dd36e07258e1015a0673dea4e472db1.png | |
:target: gallery/maps/gadm.html | |
:width: 80% | |
:align: center | |
:doc:`gallery/maps/gadm` | |
.. grid:: 2 3 3 4 | |
.. grid-item-card:: :doc:`gallery/maps/gadm` | |
:padding: 1 | |
:link-type: doc | |
:link: gallery/maps/gadm | |
.. image:: _images/7dd36e07258e1015a0673dea4e472db1.png |
I made this how to guide to download and use GADM data.
I choose to download KMZ files (not geopackage as Joaquim did with Julia) because they were slightly smaller.
Maybe it would good to modify the script to store the data in a directory where all the GMT programs can found it (not in the current directory).