ua-snap / rasdaman-ingest

Collection of ingredients/configurations + docs for ingesting data into Rasdaman
MIT License
4 stars 0 forks source link

Create custom ingest script that also add styles where needed. #23

Closed charparr closed 2 years ago

charparr commented 2 years ago

A shell script something like

wcst_import.sh ingest.json
curl "http://localhost:8080/rasdaman/admin/layer/style/add?COVERAGEID=test_wms_4326&STYLEID=firearea&ABSTRACT=This style marks the areas where fires are in progress with the color red&WCPSQUERYFRAGMENT=switch case $c > 1000 return {red: 107; green:17; blue:68} default return {red: 150; green:103; blue:14})&COLORTABLETYPE=SLD...

See https://doc.rasdaman.org/05_geo-services-guide.html?highlight=style#style-creation-examples