Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -u admin:geoserver -XPUT -H 'Content-type: text/plain'
- -d '/opt/geoserver_data_dir/2.0.2/data/test_pyramid.pyr'
- "http://localhost:8080/geoserver/rest/workspaces/testWS/datastores/test_pyramid.pyr/external.imagepyramid?configure=all"
- curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
- -d '<workspace><name>wsgeotiff</name></workspace>'
- http://localhost:8080/geoserver/rest/workspaces
- curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
- -d '<coverageStore>
- <name>wsgeotiff_imageGeoTiffWGS84_1298678792699</name>
- <workspace>wsgeotiff</workspace>
- <enabled>true</enabled>
- <type>GeoTIFF</type>
- <url>/home/gis/image_wgs84.tif</url>
- </coverageStore>'
- "http://localhost:8080/geoserver/rest/workspaces/wsgeotiff/coveragestores?configure=all"
- curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
- -d '<coverage>
- <name>imageGeoTiffWGS84</name>
- <title>imageGeoTiffWGS84</title>
- <nativeCRS>GEOGCS["WGS 84",DATUM["World Geodetic System 1984",SPHEROID["WGS 84",6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],UNIT["degree", 0.017453292519943295],AXIS["Geodetic longitude", EAST],AXIS["Geodetic latitude", NORTH],AUTHORITY["EPSG","4326"]]</nativeCRS>
- <srs>EPSG:4326</srs>
- <latLonBoundingBox><minx>-179.958</minx><maxx>-105.002</maxx><miny>-65.007</miny><maxy>65.007</maxy><crs>EPSG:4326</crs></latLonBoundingBox>
- </coverage>'
- "http://localhost:8080/geoserver/rest/workspaces/wsgeotiff/coveragestores/wsgeotiff_imageGeoTiffWGS84_1298678792699/coverages"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement