WCS startup problems

Frank Warmerdam warmerdam at POBOX.COM
Sat Sep 17 11:14:03 EDT 2005


On 9/17/05, Bart van den Eijnden <bartvde at xs4all.nl> 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

Bart,

You are not removing the "Content-type: image/tiff\n\n" from the 
beginning of he return result.  Whenever I test at the commandlie this
way I manually edit this out of the result with emacs.  Any editor that
won't weird-out or "fix" binary files should do.   It is a hassle. 

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list