GetCoastline
(class) - Load coastlines from GSHHS database to GeoDataFrame..to_dataframe()
(method) - Convert GeoDataFrame to standard DataFrame.
-
Clone this repository to your local machine and install the conda environment defined in environment.yml. You can use pip or directly conda usinge the next command:
conda create --file environment.yml
-
Download GSHHS database (shapefile) from GSHHC web-site or directly using this link.
-
Extract content of the compressed file downloaded.
-
Set path to folder "gshhg-gmt-2.3.7" folder in
.env
file.
# Add variable GSHHG_SHP_DATABASE_PATH to ".env" file using terminal or directly modify file ".env"
dotenv set GSHHG_SHP_DATABASE_PATH /your/path/
For more information about this database, resolutions and layers... please check GSHHC web-site.
Developed by 👨💻 German Aragon @ 🏢 IHCantabria.