WCS startup problems

Bart van den Eijnden bartvde at XS4ALL.NL
Sat Sep 17 11:06:46 EDT 2005


I think I see the problem, is it correct to say that (Mapserver) WCS 
cannot be used to rasterize vector data? It can only be used when the 
source layer is raster?

I was assuming it could also be used for rasterizing vector layers using 
the symbology defined in Mapserver.

Best regards,
Bart

Bart van den Eijnden wrote:

> Hi list,
>
> I am trying to get a basic WCS request running using the Mapserver WCS 
> use cases HOWTO but am only getting corrupt tiff or corrupt ECW files 
> out of Mapserver. Does anybody see what I am doing wrong? I am using 
> the latest fwtools binaries.
>
> The request I am trying is:
>
> C:\Program Files\FWTools0.9.9>mapserv 
> "QUERY_STRING=map=/ms4w/bart/provincies.map&request=GetCoverage&version=1.0.0&service=WCS&coverage=provincies& 
>
> bbox=100000,300000,200000,400000&crs=EPSG:28992&resx=75&resy=75&format=GEOTIFF" 
> > out.tif
>
> Gdalinfo says on the output files:
>
> ECW file:
> C:\Program Files\FWTools0.9.9>gdalinfo out.ecw
> ERROR 1: File is invalid or corrupt
> GDALOpen failed - 1
> File is invalid or corrupt
>
> Tiff file:
> C:\Program Files\FWTools0.9.9>gdalinfo out.tif
> ERROR 4: `out.tif' not recognised as a supported file format.
>
> GDALOpen failed - 4
> `out.tif' not recognised as a supported file format.
>
> Open GDAL Datasets:
>  1 N DriverIsNULL 512x512x0
>  1 N DriverIsNULL 512x512x0
>
> This is my layer definition:
>
>  LAYER
>        METADATA
>          "wcs_description" "my fake provinces"
>          "wcs_name" "provincies"
>          "wcs_label" "provinces"
>          "ows_srs" "EPSG:28992"
>          "ows_extent" "10000 305000 280000 619000"
>          "wcs_resolution" "75 75"
>          "wcs_bandcount" "3"
>          "wcs_formats" "ECW,GEOTIFF"
>        END
>      NAME "Provincies"
>      STATUS ON
>      PROJECTION
>        "init=epsg:28992"
>      END
>      TYPE POLYGON
>      DUMP TRUE
>      TEMPLATE "blank.html"
>      CLASS
>        NAME "class1"
>        STYLE
>          MAXSIZE 100
>          MINSIZE 1
>            OUTLINECOLOR 0 0 0
>          SIZE 1
>          SYMBOL 0
>        END
>      END
>    END
>
> Thanks in advance.
>
> Best regards,
> Bart
>
>



More information about the mapserver-users mailing list