Hi,
Is it possible using gsconfig.py to create a raster store within a
*specific* workspace ?
The following creates one in the default workspace and the resultant layer
takes the *default* raster style.
from geoserver.catalog import Catalog
> cat = Catalog("http://localhost:8080/geoserver/rest")
> path = '/home/user/data_dir/
> dirs = os.listdir(path)
> for file in dirs:
> if fnmatch.fnmatch(file, 'Frost*'):
> tif = path + file
> cat.create_coveragestore(file, tif)
Can i specify a different raster style to be taken by the resultant layer ?
The style is already existing in my geoserver.
--
Allan Oware
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users