{"id":22282116,"url":"https://github.com/genericmappingtools/dcw-gmt","last_synced_at":"2025-07-28T20:31:54.830Z","repository":{"id":38234932,"uuid":"231482796","full_name":"GenericMappingTools/dcw-gmt","owner":"GenericMappingTools","description":"Data and scripts that maintain and build the DCW data used in GMT","archived":false,"fork":false,"pushed_at":"2024-06-25T12:31:41.000Z","size":232103,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-06-25T13:31:42.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GenericMappingTools.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-03T00:36:45.000Z","updated_at":"2024-06-25T12:31:44.000Z","dependencies_parsed_at":"2024-06-25T13:30:38.995Z","dependency_job_id":"ec9158d8-f7a9-4a8f-8f4d-e12606b88da0","html_url":"https://github.com/GenericMappingTools/dcw-gmt","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fdcw-gmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fdcw-gmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fdcw-gmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fdcw-gmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenericMappingTools","download_url":"https://codeload.github.com/GenericMappingTools/dcw-gmt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227954781,"owners_count":17846766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T16:25:38.688Z","updated_at":"2025-07-28T20:31:54.821Z","avatar_url":"https://github.com/GenericMappingTools.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DCW-GMT: The Digital Chart of the World for GMT\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/GenericMappingTools/dcw-gmt)\n![GitHub](https://img.shields.io/github/license/GenericMappingTools/dcw-gmt)\n\nThis repository contains the data and scripts that maintain and build\nthe dcw-gmt package used by **GMT 5 or later**.  **Note**: DCW 2.0.1\nrequires GMT 6.1.1 or later. Building the DCW netCDF database requires\nthe netCDF executables *ncgen* and *nccopy*, usually available in a port\ncalled *netcdf-bin* or similar (i.e, separate from the netCDF library).\n\nThis README contains the documentation for DCW. For information about building\nand modifying DCW, please refer to the [contributing guide](CONTRIBUTING.md).\n\n![Global map of the DCW-GMT polygons](https://docs.generic-mapping-tools.org/6.2/_images/dcw-figure.png)\n\n## About\n\nThe Digital Chart of the World is a comprehensive 1:1,000,000 scale\nvector basemap of the world. The charts were designed to meet the needs\nof pilots and air crews in medium- and low-altitude en route navigation\nand to support military operational planning, intelligence briefings,\nand other needs. For basic background information about DCW, see the\n[Wikipedia entry](http://en.wikipedia.org/wiki/Digital_Chart_of_the_World).\n\nDCW-GMT is an enhancement to DCW in a few ways:\n\n1. It contains more state boundaries (the largest 8 countries, Great Britain and Norway are now represented).\n2. The data have been reformatted to save space and are distributed as a single deflated netCDF-4 file.\n\n## Download\n\nYou can download the latest dcw-gmt package from\n[GitHub releases](https://github.com/GenericMappingTools/dcw-gmt/releases)\nor from the [GMT main site](https://www.generic-mapping-tools.org/download/).\n\n## Usage\n\nDCW-GMT is an optional install for GMT and its wrappers.  If you did install it\nthen you can access the DCW data for plotting or analysis via GMT's\n[coast](https://docs.generic-mapping-tools.org/latest/coast.html) module. You\ncan also use the [ISO 2-character codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\nfor countries as a way to specify map domains via the **-R** option.  For\ninstance, to make a map showing France with a region rounded to the nearest 2\ndegrees in longitude and latitude, you can run:\n\n\tgmt coast -RFR+r2 -Glightgray -B -pdf france\n\nIf in addition you want to paint the landmass of France blue, you can run:\n\n\tgmt coast -RFR+r2 -Glightgray -B -EFR+gblue -pdf france\n\nTo access states without countries you must use the *country.state* syntax. See\nthe [coast](https://docs.generic-mapping-tools.org/latest/coast.html)\ndocumentation for details.  For instance, to make a map of the US and show Texas\nand Mississippi as red states, try:\n\n\tgmt coast -RUS+r2 -Glightgray -B -EUS.TX,US.MS+gred -pdf us\n\t\n### DCW Collections\t\n\nFrom versions 2.1.0 and GMT 6.4.0 onwards you can also use named regions (continents, seas, etc) using their names.\nWe offer 37 geographic regions based on [Natural Earth](https://www.naturalearthdata.com) at scale 1:110, 104 seas \nnamed (102 based on [IHO1953](https://epic.awi.de/id/eprint/29772/1/IHO1953a.pdf), most of them taken from \n[Fourcy and Lorvelec (2013)](https://www6.rennes.inrae.fr/ese_eng/HRMLOS)) and 57 lakes, islands and archipelagoes.\nYou can also use 46 collections of countries; 30 are from [UN49](https://unstats.un.org/unsd/methodology/m49/) \nand the rest were obtained from from [Wikipedia](https://en.wikipedia.org/wiki/Subregion). \nYou can see the full list at [dcw-collections.txt](dcw-collections.txt). \nThese allow you to make maps matching those regions, such as\n\n\tgmt coast -RScandinavia -Glightgray -B -pdf Scandinavia\n\tgmt coast -RIHO28 -Glightgray -B -pdf MediterraneanSea\n\tgmt coast -RSAM -Glightgray -B -pdf SouthAmerica\n\tgmt coast -RHMLY -Glightgray -B -pdf Himalayas\n\n## Notes\n\nIf you are building GMT from source then you should set the parameter\n**DCW_ROOT** in the *cmake/ConfigUser.cmake* to point to the directory where\n*dcw-gmt.nc* has been placed.  If you add this file after GMT installation\nwas completed then you can always have GMT find it by placing it in your\nuser *~/.gmt* directory or by setting the **DIR_DCW** parameter in the\n*gmt.conf* settings.\n\n## Changelog\n\nThe detailed changelog is available [here](ChangeLog).\n\n## License\n\nThe project is distributed under the\n[GNU Lesser General Public License](http://www.gnu.org/licenses/lgpl-3.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericmappingtools%2Fdcw-gmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenericmappingtools%2Fdcw-gmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericmappingtools%2Fdcw-gmt/lists"}