I used the following command to publish an ImagePyramid layer:
curl -u $user:$password -XPUT -H "Content-type: text/plain" -d \
'file:'$pyramidDir'' \
http://$host:$port/geoserver/rest/workspaces/$workspace/coveragestores/$datasetName/external.imagepyramid`
where:
$pyramidDir - /archive/maps/imagery/NAIP/Virginia-Beach/pyramid - This is
where the image pyramid was created using gdal_retile.py
$datasetName - Virginia-Beach
The layer was created successfully. However, the name and the title are
"pyramid". I would like it to be "Virginia-Beach" but don't know how to get
it to work. Not sure if I can specify the name and title when the layer is
created or update them afterward. Either way is ok with me. Any help on
this is greatly appreciated.
Regards,
Tam
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Use-Geoserver-REST-to-update-layer-name-and-title-tp5147983.html
Sent from the GeoServer - User mailing list archive at Nabble.com.