Skip to content

Commit

Permalink
add example for postgis upload from gsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Mar 21, 2024
1 parent 8f351b6 commit cfeab18
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"profile": {
"id": "my-workflow",
"name": "My workflow",
"project": "Test geoflow project",
"organization": "My organization",
"logos": [
"https://via.placeholder.com/300x150.png/09f/fff?text=geoflow"
],
"mode": "entity"
},
"metadata": {
"entities": [
{
"handler": "gsheet",
"source": "https://docs.google.com/spreadsheets/d/1BJEMagysqwekNKSn11228eIEN7wDUNFMyT0ssmNHmgc/edit?usp=sharing"
}
],
"contacts" : [
{
"handler": "gsheet",
"source": "https://docs.google.com/spreadsheets/d/1BqlXwA2fKiRuozNAQhBb_PbQVSPTCfl8_Q9rfM8E2ws/edit?usp=sharing"
}
]
},
"software": [
{
"type": "input",
"software_type": "dbi",
"parameters": {
"drv": "Postgres",
"host": "host",
"port": "5432",
"user": "user",
"password": "pwd",
"dbname": "dbname"
}
}
],
"actions": [
{
"id": "sf-write-dbi",
"run": true,
"options":{
"createIndexes": true,
"overwrite": true
}
}
]
}
1 change: 1 addition & 0 deletions inst/extdata/workflows/workflows.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config_metadata_gsheets_iso19115_inspire_geonetwork_with_uuid.json,Load metadata
config_metadata_gsheets_zenodo.json,Load metadata entities/contacts from Google Spreadsheets and deposit records on Zenodo
config_metadata_gsheets_zenodo_clean_options.json,Load metadata entities/contacts from Google Spreadsheets and deposit records on Zenodo, with deposit cleaning options
config_metadata_gsheets_zenodo_full.json,Load metadata entities/contacts from Google Spreadsheets, deposit records on Zenodo and publish them
config_metadata_gsheets_sdi_postgis_dbi.json,Load metadata entities/contacts from Google spreadsheets and upload a shapefile into a Postgis database
config_metadata_gsheets_sdi_geoserver_shp.json,Load metadata entities/contacts from Google Spreadsheets and publish ESRI shapefile based layer on GeoServer
config_metadata_gsheets_sdi_geoserver_geotiff.json,Load metadata entities/contacts from Google Spreadsheets and publish GeoTIFF based layer on GeoServer
config_metadata_gsheets_sdi_geoserver_geotiff_view.json,Load metadata entities/contacts from Google Spreadsheets and publish GeoTIFF based view layer on GeoServer
Expand Down

0 comments on commit cfeab18

Please sign in to comment.