Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. curl -u admin:geoserver -XPUT -H 'Content-type: text/plain'
  2. -d '/opt/geoserver_data_dir/2.0.2/data/test_pyramid.pyr'
  3. "http://localhost:8080/geoserver/rest/workspaces/testWS/datastores/test_pyramid.pyr/external.imagepyramid?configure=all"
  4.  
  5. curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
  6. -d '<workspace><name>wsgeotiff</name></workspace>'
  7. http://localhost:8080/geoserver/rest/workspaces
  8.  
  9. curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
  10. -d '<coverageStore>
  11. <name>wsgeotiff_imageGeoTiffWGS84_1298678792699</name>
  12. <workspace>wsgeotiff</workspace>
  13. <enabled>true</enabled>
  14. <type>GeoTIFF</type>
  15. <url>/home/gis/image_wgs84.tif</url>
  16. </coverageStore>'
  17. "http://localhost:8080/geoserver/rest/workspaces/wsgeotiff/coveragestores?configure=all"
  18.  
  19. curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml'
  20. -d '<coverage>
  21. <name>imageGeoTiffWGS84</name>
  22. <title>imageGeoTiffWGS84</title>
  23. <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>
  24. <srs>EPSG:4326</srs>
  25. <latLonBoundingBox><minx>-179.958</minx><maxx>-105.002</maxx><miny>-65.007</miny><maxy>65.007</maxy><crs>EPSG:4326</crs></latLonBoundingBox>
  26. </coverage>'
  27. "http://localhost:8080/geoserver/rest/workspaces/wsgeotiff/coveragestores/wsgeotiff_imageGeoTiffWGS84_1298678792699/coverages"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement