yonghah / geodata-pipeline

geodata pipeline recipes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geodata Pipeline Recipes

Recipes for geodata pipelines for workflow frameworks such as Nextflow. These workflows are heavily dependent on CLI tools such as ogr/gdal, osmium, GMT and so on.

Utilizing Nextflow gives

  • better reproducibility with CLI tools
  • better code readability with declarative syntax
  • easier Docker use
  • partial run (resume after failure)
  • concurrent execution

Examples

Display all restaurants in New Caledonia, Fiji, Vanuatu

https://github.com/yonghah/geodata-pipeline/blob/main/nextflow/osm/download-filter-merge.nf

Download PBF from OpenStreetMap (download-osm); extract POI from the PBFs (osmium); create GeoJSON (ogr2ogr) and CSV (jq)

Create shaded relief

https://github.com/yonghah/geodata-pipeline/blob/main/nextflow/shaded_relief/shaded_relief.nf

Use downloaded SRTM from USGS; merge tiff (gdal_translate); rescale and reproject (gdalwarp); and generate hillshade (gdaldem)

Use with GMT

GMT Hello World

https://github.com/yonghah/geodata-pipeline/blob/main/nextflow/gmt/helloworld/helloworld.nf

Display Point Data

https://github.com/yonghah/geodata-pipeline/blob/main/nextflow/gmt/pointplot/pointplot.nf

Range from a city

https://github.com/yonghah/geodata-pipeline/blob/main/nextflow/gmt/range/range.nf

About

geodata pipeline recipes


Languages

Language:Nextflow 100.0%