Coder Social home page Coder Social logo

genericmappingtools / gshhg-gmt Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 1.0 170.91 MB

Scripts and raw data that combine to produce the GSHHG data sets for GMT

License: GNU Lesser General Public License v3.0

Shell 6.39% Makefile 3.13% Inno Setup 0.20% Batchfile 0.27% HTML 2.59% C 86.13% MATLAB 1.30%

gshhg-gmt's People

Contributors

joa-quim avatar maxrjones avatar paulwessel avatar seisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

l5d1l5

gshhg-gmt's Issues

Source value 'c'

I was extracting information from gshhg v2.3.7 and ran across 4 distinct values for source:

source code with count

W: 179825
C: 8058
A: 673
c: 56

Commands I used to obtain those numbers:

gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep W  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep C  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep A  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep c  | wc

I found docs on this page: https://docs.generic-mapping-tools.org/latest/supplements/gshhg/gshhg.html

It says, "Source is either W (World Vector Shoreline) or C (CIA World Data Bank II)"

I found this page: https://www.soest.hawaii.edu/pwessel/gshhg/

It lists the sources as:

World Vector Shorelines (WVS).
CIA World Data Bank II (WDBII).
Atlas of the Cryosphere (AC).

So, I'm guessing that A means "Atlas of the Cryosphere". Anyone know what lowercase 'c' means? Is it the same as uppercase 'C'?

Longitude values beyond a 360-degree range

There are longitude values in the range of [-180,360]. While not necessarily illegal, it's strange.

When I tried to run a query in MySQL 8 against the field that is of type POLYGON, I get an error:

A parameter of function st_contains contains a geometry with longitude 180.004972, which is out of range. It must be within (-180.000000, 180.000000].

I know this MySQL problem isn't a concern of this library, but I wanted to at least give others a heads up of the range of values and the problem they might encounter if they load the data.

Tocantins border

Description of the desired feature
The Brazilian state of Tocantins was created on 1988, but its border is not included on GMT database. Is it possible to include it by default on pscoast command?

Thank you

Are you willing to help implement and maintain this feature? No

Document the distribution of GSHHS via auto-download on the server

Some time ago (2 years) we implemented a scheme wherein GMT would try to download the GSHG data set from the GMT server if the data were not installed on the user's system. The files are current (2.3.7) and stored in a version-less directory /export/gmtserver/gmt/data/geography/gshhg. The process works fine but there is on problem:

  1. We have no reminders or guidelines to update these files.

The same setup applies to DCW and here we are behind on the version. We need to document this process here so that the next GSHHG is also placed on the server in the same directory.

Gap in Portugal-Spain border.

There is a gap in the border in northern sector of Portugal and Galicia. ca. 42 N along the coast. It can be seen in example 44.

image

Northern Greenland coastlines are inaccurate

Hello,

I am compiling data to document deglacial sea level changes in Greenland, and I noticed there is an error in the coastlines in GSHHG. I have illustrated this error by comparing the shorelines to the GEBCO 2021 topography dataset (the black lines are the GSHHG shorelines):

north_greenland

The red dots are locations where radiocarbon dated fossil shells and driftwood have been found in glacial isostatically uplifted marine and shoreline deposits. Many of these data were reported in a paper by Funder et al., 2011 (https://doi.org/10.1126/science.1202760). I asked Dr. Funder about this, and he said that the locations of data they collected were measured using GPS, so they are undoubtedly accurate. The map in the paper shows the correct shoreline positions.

At its worse, the coastline in GSHHG dataset is about 35 km from the (apparent) true location. This error also affects Google Earth. The georeferencing of the satellite imagery in Google Earth appears to have used GSHHG as a base. It appears that the coastline west of about 53W and south of about 78N is accurate

I have attached the script I used to create the above image (though you will have to download GEBCO separately).

test_greenland.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.