WCS startup problems
Bart van den Eijnden
bartvde at XS4ALL.NL
Sat Sep 17 08:36:15 PDT 2005
Okay, our e-mails just crossed, so my last e-mail can be ignored.
Anyway, seems like I am trying out a for now invalid use case.
Thanks for the quick and useful replies Frank.
Best regards,
Bart
Bart van den Eijnden wrote:
> Hi Frank,
>
> that's a good one, I did not think of that.
>
> Now I get a tiff file which gdalinfo can read, but if I open it up in
> OpenEV I don't see anything (black screen).
>
> Can the WCS be used to rasterize vector data or not?
>
> C:\Program Files\FWTools0.9.9>gdalinfo "c:\Documents and
> Settings\bart\Desktop\mapserv.tif"
> Driver: GTiff/GeoTIFF
> Size is 1333, 1333
> Coordinate System is:
> PROJCS["Amersfoort / RD New",
> GEOGCS["Amersfoort",
> DATUM["Amersfoort",
> SPHEROID["Bessel 1841",6377397.155,299.1528128000009,
> AUTHORITY["EPSG","7004"]],
> AUTHORITY["EPSG","6289"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4289"]],
> PROJECTION["Oblique_Stereographic"],
> PARAMETER["latitude_of_origin",52.15616055555555],
> PARAMETER["central_meridian",5.387638888888889],
> PARAMETER["scale_factor",0.9999079],
> PARAMETER["false_easting",155000],
> PARAMETER["false_northing",463000],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
> AUTHORITY["EPSG","28992"]]
> Origin = (100000.000000,400000.000000)
> Pixel Size = (75.01875469,-75.01875469)
> Metadata:
> AREA_OR_POINT=Area
> Corner Coordinates:
> Upper Left ( 100000.000, 400000.000) ( 4d35'38.02"E, 51d35'13.69"N)
> Lower Left ( 100000.000, 300000.000) ( 4d36'33.22"E, 50d41'17.42"N)
> Upper Right ( 200000.000, 400000.000) ( 6d 2'13.48"E, 51d35'16.89"N)
> Lower Right ( 200000.000, 300000.000) ( 6d 1'28.30"E, 50d41'20.54"N)
> Center ( 150000.000, 350000.000) ( 5d18'58.26"E, 51d 8'25.06"N)
> Band 1 Block=1333x6 Type=Byte, ColorInterp=Red
> Band 2 Block=1333x6 Type=Byte, ColorInterp=Green
> Band 3 Block=1333x6 Type=Byte, ColorInterp=Blue
>
> Best regards,
> Bart
>
> Frank Warmerdam wrote:
>
>> 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,
>>
>>
>>
>
>
More information about the MapServer-users
mailing list