[Git][debian-gis-team/gmt-dcw][upstream] New upstream version 2.0.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Fri Nov 19 06:33:23 GMT 2021
Bas Couwenberg pushed to branch upstream at Debian GIS Project / gmt-dcw
Commits:
f02e8f49 by Bas Couwenberg at 2021-11-19T07:26:00+01:00
New upstream version 2.0.1
- - - - -
5 changed files:
- ChangeLog
- README.md
- dcw-countries.txt
- dcw-gmt.nc
- dcw-states.txt
Changes:
=====================================
ChangeLog
=====================================
@@ -2,6 +2,17 @@
Contains changes made to the data files under dcw-gmt/orig etc
-----------------------------------------------------------------------------------------
+2021-09-12 esteban82
+ New 2.0.1. Fix some names (North Macedonia, Eswatini, Cabo Verde,
+ Brunei Darussalam, Northern Mariana Islands, Wallis and Futuna,
+ Antigua and Barbuda, Falkland (Malvinas), Suriname, Trinidad and Tobago).
+ Fix poligons of NO and SJ (Svalbard and Jan Mayen).
+ Add polygon holes for New South Wales (Australia), Krasnodar Krai (Russia)
+ and Moscow Krai. Upadete data of Argentina and its provinces with dara from
+ the Instituto Geografico Nacional (IGN). Fix bug in Paraíba state (Brazil).
+
+
+
2021-04-07 pwessel
New 2.0.0 tar/zip files placed on server.
=====================================
README.md
=====================================
@@ -7,6 +7,11 @@ This repository contains the data and scripts that maintain and build
the dcw-gmt package used by **GMT 5 or later**. **Note**: DCW 2.0.0
requires GMT 6.1.1 or later.
+This README contains the documentation for DCW. For information about building
+and modifying DCW, please refer to the [contributing guide](CONTRIBUTING.md).
+
+![Global map of the DCW-GMT polygons](https://docs.generic-mapping-tools.org/6.2/_images/dcw-figure.png)
+
## About
The Digital Chart of the World is a comprehensive 1:1,000,000 scale
@@ -15,18 +20,11 @@ of pilots and air crews in medium- and low-altitude en route navigation
and to support military operational planning, intelligence briefings,
and other needs. For basic background information about DCW, see the
[Wikipedia entry](http://en.wikipedia.org/wiki/Digital_Chart_of_the_World).
-The raw files used to build `dcw-gmt.nc` came from the Princeton University
-Digital Map and Geospatial Information Center, accessible via website
-http://www.princeton.edu/~geolib/gis/dcw.html; however, the DCW access
-seems to have disappeared. Other sites with DCW data include the GeoCommunity
-at http://data.geocomm.com/readme/dcw/dcw.html.
-
-The dcw-gmt version has converted the (at present) 523 individual
-polygon files to a single netCDF-4 file and compressed the data by
-using rescaled short integer positioning. Note that many of these,
-especially state boundaries for China, Russia, India, Argentina were
-not in the original DCW but have been added later from other sources,
-such as from http://www.gadm.org.
+
+DCW-GMT is an enhancement to DCW in a few ways:
+
+1. It contains more state boundaries (the largest 8 countries are now represented).
+2. The data have been reformatted to save space and are distributed as a single deflated netCDF-4 file.
## Download
@@ -36,53 +34,39 @@ or from the [GMT main site](https://www.generic-mapping-tools.org/download/).
## Usage
-If you are building GMT from source then you should set the parameter
-**DCW_ROOT** in the *cmake/ConfigUser.cmake* to point to the directory where
-dcw-gmt.nc has been placed. If you add this file later you can always
-place it in your user **~/.gmt** directory or set the **DIR_DCW** parameter
-in your *gmt.conf* settings.
-
-Refer to the [GMT documentation](https://docs.generic-mapping-tools.org/latest/datasets/dcw.html) for more details about how to use the data in GMT.
-
-## Changelog
-
-The detailed changelog is available [here](ChangeLog).
-
-## Building DCW-GMT
-
-The original data in ASCII format are stored in the `orig` directory.
-
-To build the `dcw-gmt.nc` file from the DCW data, you need to first edit the
-configuration file [config.mk](config.mk), then run:
+DCW-GMT is an optional install for GMT and its wrappers. If you did install it
+then you can access the DCW data for plotting or analysis via GMT's
+[coast](https://docs.generic-mapping-tools.org/latest/coast.html) module. You
+can also use the [ISO 2-character codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
+for countries as a way to specify map domains via the **-R** option. For
+instance, to make a map showing France with a region rounded to the nearest 2
+degrees in longitude and latitude, you can run:
- make build-dcw # Make the dcw-gmt.nc netCDF file
- make archive # Create tarball and zipfile of DCW for GMT distribution
- make checksum # Compute MD5 checksum for the tarball
+ gmt coast -RFR+r2 -Glightgray -B -pdf france
-When done, clean out the directory with `make spotless`.
+If in addition you want to paint the landmass of France blue, you can run:
-## Adding new country or state boundaries
+ gmt coast -RFR+r2 -Glightgray -B -EFR+gblue -pdf france
-To add new countries:
+To access states without countries you must use the *country.state* syntax. See
+the [coast](https://docs.generic-mapping-tools.org/latest/coast.html)
+documentation for details. For instance, to make a map of the US and show Texas
+and Mississippi as red states, try:
-1. obtain ascii data
-2. determine [ISO 2-char country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) *XX*
- and name file *XX.txt*
-3. determine which continent *ZZ* it belongs to and place in *ZZ* directory
-4. add new entry in `dcw-countries.txt` in alphabetical position on *XX*
+ gmt coast -RUS+r2 -Glightgray -B -EUS.TX,US.MS+gred -pdf us
-To add new state boundaries
+## Notes
-1. obtain ascii data
-2. determine [ISO 2-char country code]((https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)) *XX*
- and [state code](https://en.wikipedia.org/wiki/ISO_3166-2) *YY* and name file *YY.txt*
-3. determine which continent *ZZ* it belongs to and place in *ZZ/YY* directory
-4. add new entry in `dcw-states.txt` in alphabetical position on *XX*, then *YY*
+If you are building GMT from source then you should set the parameter
+**DCW_ROOT** in the *cmake/ConfigUser.cmake* to point to the directory where
+*dcw-gmt.nc* has been placed. If you add this file after GMT installation
+was completed then you can always have GMT find it by placing it in your
+user *~/.gmt* directory or by setting the **DIR_DCW** parameter in the
+*gmt.conf* settings.
-To remove countries or states:
+## Changelog
-1. remove the data file
-2. remove the corresponding entry in `dcw-countries.txt` or `dcw-states.txt`
+The detailed changelog is available [here](ChangeLog).
## License
=====================================
dcw-countries.txt
=====================================
@@ -13,7 +13,7 @@ AF CF Central African Republic
AF CG Congo
AF CI Côte d'Ivoire
AF CM Cameroon
-AF CV Cape Verde
+AF CV Cabo Verde
AF DJ Djibouti
AF DZ Algeria
AF EG Egypt
@@ -51,7 +51,7 @@ AF SN Senegal
AF SO Somalia
AF SS South Sudan
AF ST Sao Tome and Principe
-AF SZ Swaziland
+AF SZ Eswatini
AF TD Chad
AF TF French Southern Territories
AF TG Togo
@@ -69,7 +69,7 @@ AS AM Armenia
AS AZ Azerbaijan
AS BD Bangladesh
AS BH Bahrain
-AS BN Brunei
+AS BN Brunei Darussalam
AS BT Bhutan
AS CN China
AS CX Christmas Island
@@ -114,7 +114,6 @@ AS TL Timor-Leste
AS TM Turkmenistan
AS TR Turkey
AS TW Taiwan
-AS UA Ukraine
AS UZ Uzbekistan
AS VN Viet Nam
AS YE Yemen
@@ -155,7 +154,7 @@ EU LV Latvia
EU MC Monaco
EU MD Moldova
EU ME Montenegro
-EU MK Macedonia
+EU MK North Macedonia
EU MT Malta
EU NL Netherlands
EU NO Norway
@@ -168,11 +167,49 @@ EU SI Slovenia
EU SJ Svalbard and Jan Mayen
EU SK Slovakia
EU SM San Marino
+EU UA Ukraine
EU VA Holy See (Vatican City State)
EU XK Kosovo
+NA AG Antigua and Barbuda
+NA AI Anguilla
+NA AW Aruba
+NA BB Barbados
+NA BL Saint Barthélemy
+NA BM Bermuda
+NA BQ Bonaire, Sint Eustatius and Saba
+NA BS Bahamas
+NA BZ Belize
NA CA Canada
+NA CR Costa Rica
+NA CU Cuba
+NA CW Curaçao
+NA DM Dominica
+NA DO Dominican Republic
+NA GD Grenada
+NA GP Guadeloupe
+NA GT Guatemala
+NA HN Honduras
+NA HT Haiti
+NA JM Jamaica
+NA KN Saint Kitts and Nevis
+NA KY Cayman Islands
+NA LC Saint Lucia
+NA MF Saint Martin (French part)
+NA MQ Martinique
+NA MS Montserrat
NA MX Mexico
+NA NI Nicaragua
+NA PA Panama
+NA PM Saint Pierre and Miquelon
+NA PR Puerto Rico
+NA SV El Salvador
+NA SX Sint Maarten
+NA TC Turks and Caicos
+NA TT Trinidad and Tobago
NA US United States
+NA VC Saint Vincent and the Grenadines
+NA VG British Virgin Islands
+NA VI Virgin Islands
OC AS American Samoa
OC AU Australia
OC CC Cocos (Keeling) Islands
@@ -182,7 +219,7 @@ OC FM Micronesia
OC GU Guam
OC KI Kiribati
OC MH Marshall Islands
-OC MP Mariana
+OC MP Northern Mariana Islands
OC NC New Caledonia
OC NF Norfolk Island
OC NR Nauru
@@ -198,57 +235,20 @@ OC TO Tonga
OC TV Tuvalu
OC UM United States Minor Outlying Islands
OC VU Vanuatu
-OC WF Wallis
+OC WF Wallis and Futuna
OC WS Samoa
-SA AG Antigua
-SA AI Anguilla
SA AR Argentina
-SA AW Aruba
-SA BB Barbados
-SA BL Saint Barthélemy
-SA BM Bermuda
SA BO Bolivia
-SA BQ Bonaire, Sint Eustatius and Saba
SA BR Brazil
-SA BS Bahamas
-SA BZ Belize
SA CL Chile
SA CO Colombia
-SA CR Costa Rica
-SA CU Cuba
-SA CW Curaçao
-SA DM Dominica
-SA DO Dominican Republic
SA EC Ecuador
-SA FK Falkland Islands
-SA GD Grenada
+SA FK Falkland Islands (Malvinas)
SA GF French Guiana
-SA GP Guadeloupe
SA GS South Georgia and the South Sandwich Islands
-SA GT Guatemala
SA GY Guyana
-SA HN Honduras
-SA HT Haiti
-SA JM Jamaica
-SA KN Saint Kitts and Nevis
-SA KY Cayman Islands
-SA LC Saint Lucia
-SA MF Saint Martin (French part)
-SA MQ Martinique
-SA MS Montserrat
-SA NI Nicaragua
-SA PA Panama
SA PE Peru
-SA PM Saint Pierre and Miquelon
-SA PR Puerto Rico
SA PY Paraguay
-SA SR Surinam
-SA SV El Salvador
-SA SX Sint Maarten
-SA TC Turks and Caicos
-SA TT Trinidad
+SA SR Suriname
SA UY Uruguay
-SA VC Saint Vincent and the Grenadines
SA VE Venezuela
-SA VG British Virgin Islands
-SA VI Virgin Islands
=====================================
dcw-gmt.nc
=====================================
Binary files a/dcw-gmt.nc and b/dcw-gmt.nc differ
=====================================
dcw-states.txt
=====================================
@@ -229,7 +229,6 @@ RU ZAB Zabaylkasky Krai (Zabaykal'skiy Kray)
US AK Alaska
US AL Alabama
US AR Arkansas
-US AS American Samoa
US AZ Arizona
US CA California
US CO Colorado
@@ -238,7 +237,6 @@ US DC District of Columbia
US DE Delaware
US FL Florida
US GA Georgia
-US GU Guam
US HI Hawaii
US IA Iowa
US ID Idaho
@@ -253,7 +251,6 @@ US ME Maine
US MI Michigan
US MN Minnesota
US MO Missouri
-US MP Northern Mariana Islands
US MS Mississippi
US MT Montana
US NC North Carolina
@@ -268,16 +265,13 @@ US OH Ohio
US OK Oklahoma
US OR Oregon
US PA Pennsylvania
-US PR Puerto Rico
US RI Rhode Island
US SC South Carolina
US SD South Dakota
US TN Tennessee
US TX Texas
-US UM United States Minor Outlying Islands
US UT Utah
US VA Virginia
-US VI Virgin Islands, U.S.
US VT Vermont
US WA Washington
US WI Wisconsin
View it on GitLab: https://salsa.debian.org/debian-gis-team/gmt-dcw/-/commit/f02e8f498b6cabcc8744b4e003d67a3920e2995c
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/gmt-dcw/-/commit/f02e8f498b6cabcc8744b4e003d67a3920e2995c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20211119/95f2dad1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list