Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have to add raster data in geoserver using Web Coverage Service. I have raster data in geotiff format. The problem is that the geotiff image I have added to the geoserver is using WMS not the WCS facility. Please guide me how to add geotiff image using WCS service.

The 3 services of WCS are working properly but when I check the source code in javascript file, it shows the following code for the source of geotiff image

..../geoserver/webmap/wms?LAYERS=webmap%3Ayam2&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A32643&BBOX=913482.6930837,6340905.95,746408.1930837,6421838.25&WIDTH=542&HEIGHT=330,

And in this code the image is using WMS service. Also, it uses GetMap request of WMS. I can't understand how it supports all 3 services of WCS perfectly even though uploaded geotiff image is using WMS service.

share|improve this question
    
What have you done so far? Usually, when you publish a layer on Geoserver, WCS is enabled by default. You can then access it using the WCS operations. Where have you faced a problem? Did you get any error message? –  Devdatta Tengshe Feb 21 '13 at 7:17
2  
OpenLayers does not support WCS. In-fact very few Clients support WCS. That is why in the Layer Preview, the code is using WMS. If you connect to Geoserver from a WCS compliant Client, it should work. –  Devdatta Tengshe Feb 21 '13 at 8:00
add comment

2 Answers

According to your question

WCS : Web Coverage Service (WCS) provides an open specification for sharing raster datasets on the Web. The raster datasets made available through WCS services are coverages.

A WCS service returns data in a format that can be used as input for analysis and modeling. This is in contrast with OGC WMS services, which only return a picture of the data.

You can do three things with a WCS service:

1.GetCapabilities--Returns service-level metadata and a brief description of the data collection

2.DescribeCoverage--Returns a full description of one or more coverages

3.GetCoverage--Returns a coverage in a well-known coverage format

Details please visit opengeospatial.org

WCS Service in Geoserver :

A GeoTiff can be generated from WMS, or from WCS. WCS offers the ability to have several different parameters

Please click here to check WCS guide in geoserver

share|improve this answer
add comment

Generally, you do not need to do anything specific to get use a WCS Service when you publish a Raster Layer in Geoserver. The WCS Service is already running, and you can run any one of the 3 WCS Operations.

There are a limited number of WCS Clients. ( I have only tested the WCS operations with ArcGIS Desktop), and OpenLayers is not one of them. This is why you cannot preview the WCS operation in the browser.

You should use one of the clients given here, to test whether your WCS service is running properly or not.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.