[mapserver-users] Baffled by a MapServer WCS

Ari Jolma ari.jolma at gmail.com
Wed Nov 15 01:24:44 PST 2017


Berger, Cora kirjoitti 15.11.2017 klo 08:44:
> Dear Ari,
>
> this request works fine:
> http://nsidc.org/cgi-bin/atlas_north?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GeoTIFF&COVERAGE=sea_ice_concentration_01&BBOX=-3961770,-3961769,3961769,4362961&CRS=EPSG:32661&RESPONSE_CRS=EPSG:32661&WIDTH=317&HEIGHT=333

Thanks Cora,

Yes, but that's using version 1.0.0. I'm testing version 1.1.

Ari

>
> Cheers
> Cora
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im
>> Auftrag von mapserver-users-request at lists.osgeo.org
>> Gesendet: Dienstag, 14. November 2017 21:00
>> An: mapserver-users at lists.osgeo.org
>> Betreff: mapserver-users Digest, Vol 118, Issue 11
>>
>> Send mapserver-users mailing list submissions to
>> 	mapserver-users at lists.osgeo.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://lists.osgeo.org/mailman/listinfo/mapserver-users
>> or, via email, send a message with subject or body 'help' to
>> 	mapserver-users-request at lists.osgeo.org
>>
>> You can reach the person managing the list at
>> 	mapserver-users-owner at lists.osgeo.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of mapserver-users digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Baffled by a MapServer WCS (Ari Jolma)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 14 Nov 2017 11:18:16 +0200
>> From: Ari Jolma <ari.jolma at gmail.com>
>> To: mapserver-users at lists.osgeo.org
>> Subject: [mapserver-users] Baffled by a MapServer WCS
>> Message-ID: <b8c3d8bf-13ae-0f56-a163-06d57487679d at gmail.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> Hi,
>>
>> I'm trying to get the GDAL WCS client working and in the process trying
>> different WCS servers.
>>
>> I just found this http://nsidc.org/cgi-bin/atlas_north and I'm trying to
>> use its WCS
>>
>> I'm making WCS 1.0 and 1.1 GetCoverage calls on a dataset that seems to
>> be natively served in EPSG:32661:
>>
>> http://nsidc.org/cgi-
>> bin/atlas_north?SERVICE=WCS&REQUEST=GetCoverage&VERSION=1.0.0&CO
>> VERAGE=sea_ice_concentration_01&FORMAT=GeoTIFF&BBOX=-
>> 3961770.085,4312961.971,-
>> 3911770.085,4362961.971&WIDTH=2&HEIGHT=2&CRS=EPSG:32661
>>
>> Error: Requested BBOX
>> (-5336721.37969822,2086027.77164232,-5316625.78536214,2109378.29356774)
>> is outside requested coverage BBOX
>> (-3961770.085,-3961769.906,3961769.894,4362961.971)
>>
>> http://nsidc.org/cgi-
>> bin/atlas_north?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&IDE
>> NTIFIER=sea_ice_concentration_01&FORMAT=image%2Ftiff&BOUNDINGBOX=-
>> 3924270.085,4350461.971,-
>> 3949270.085,4325461.971,urn:ogc:def:crs:EPSG::32661&RangeSubset=pixels&WI
>> DTH=2&HEIGHT=2&GridBaseCRS=urn:ogc:def:crs:EPSG::32661&GridCS=urn:ogc
>> :def:cs:OGC:0.0:Grid2dSquareCS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn
>> 2dCrs&GridOrigin=-3949270.085,4350461.971&GridOffsets=25000,25000
>>
>> Requested BBOX
>> (-5335202.686558,2107853.71031472,-5335202.686558,2107853.71031472) is
>> outside requested coverage BBOX
>> (-3961770.085,-3961769.906,3961769.894,4362961.971)
>>
>> For the first one I'm making a fix on the GDAL side for the grid origin
>> not being at the center of a pixel and for the second one I'm setting
>> the offsets to positive values and leaving out the 0,0 in the middle.
>> For the 2nd one I'm also making axis order inversion since EPSG::32661
>> is N,E. That's why the GridOrigin in like it is. I'm not sure whether
>> MapServer applies axis inversion in the 1.1 in this case.
>>
>> Anyway, the baffling thing is that MapServer reports in both cases the
>> requested BBOX (the one I'm sending, I guess) to be outside coverage
>> BBOX and changed from what I sent -- there is obviously a reprojection
>> done. The values are strange and I can't find/think in what CRS they are.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Ari
>>
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>> ------------------------------
>>
>> End of mapserver-users Digest, Vol 118, Issue 11
>> ************************************************
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list