[mapserver-users] WCS 2.0.1 sends multipart response for ascii grid format
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Wed May 8 08:53:19 PDT 2019
Hi,
I have Mapserver 7.2.1 and outputformat defined as
OUTPUTFORMAT
NAME AAIGRID
DRIVER "GDAL/AAIGRID"
MIMETYPE "application/x-ascii-grid"
IMAGEMODE FLOAT32
EXTENSION "grd"
FORMATOPTION "SIGNIFICANT_DIGITS=5"
END
The WCS 2.0.1 GetCoverage request is sending the response as multipart. The first part is the ASCII grid and it is followed by these two parts
--wcs
Content-Type: application/octet-stream
Content-Description: coverage data
Content-Transfer-Encoding: binary
Content-ID: coverage/out.grd.aux.xml
Content-Disposition: INLINE; filename=out.grd.aux.xml
<PAMDataset>
<Metadata>
<MDI key="TIFFTAG_RESOLUTIONUNIT">2</MDI>
<MDI key="TIFFTAG_XRESOLUTION">72.000000</MDI>
<MDI key="TIFFTAG_YRESOLUTION">72.000000</MDI>
</Metadata>
</PAMDataset>
--wcs
Content-Type: application/octet-stream
Content-Description: coverage data
Content-Transfer-Encoding: binary
Content-ID: coverage/out.prj
Content-Disposition: INLINE; filename=out.prj
PROJCS["ETRS89_TM35FIN_E_N",GEOGCS["GCS_ETRS_1989",DATUM["D_ETRS_1989",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
Is there a way to get rid of the last parts of the response?
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190508/06264fb6/attachment.htm>
More information about the MapServer-users
mailing list