Skip to content

Commit

Permalink
add marpol to geoserver
Browse files Browse the repository at this point in the history
  • Loading branch information
thoomasbro committed Jul 5, 2024
1 parent 150d8bf commit 211f306
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions infra/init/geoserver_init_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,18 @@ curl -v -u ${GEOSERVER_ADMIN_USER}:${GEOSERVER_ADMIN_PASSWORD} -X POST http://${
"enabled": true,
}
}
EOF


curl -v -u ${GEOSERVER_ADMIN_USER}:${GEOSERVER_ADMIN_PASSWORD} -X POST http://${GEOSERVER_HOST}:${GEOSERVER_PORT}/geoserver/rest/workspaces/monitorenv/datastores/monitorenv_postgis/featuretypes -H "accept: text/html" -H "content-type: application/json" -d @- << EOF
{
"featureType": {
"name": "marpol",
"nativeName": "marpol",
"title": "marpol",
"nativeCRS": "EPSG:4326",
"srs": "EPSG:4326",
"enabled": true,
}
}
EOF

0 comments on commit 211f306

Please sign in to comment.