Re: [mapserver-users] Getting started with WCS on mapserver...

2021-10-18 Thread Carl Godkin
Hi Jukka,

Thank you for the explanation.  I will see about using DescribeCoverage
instead.  I just tried it with my server and the gml:Envelope is indeed
filled in properly and I should be able to use it.

carl

On Mon, Oct 18, 2021 at 11:49 AM Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> The wgs84-BoundingBox is an optional element in the CoverageSummary by the
> WCS 2.0.1 standard. There may be no way to configure Mapserver to add that
> information into GetCapabilities. You must read extents coverage by
> coverage with DescribeCoverage requests. But the boundedBy in that place is
> using the native CRS of the coverage like here:
>
>
>
> 
>
> http://www.opengis.net/def/crs/EPSG/0/3067;
> axisLabels="x y" uomLabels="m m" srsDimension="2">
>
> 212000 6762000
>
> 218000 6768000
>
> 
>
> 
>
>
>
> The extent that appears in DescribeCoverage can be configured with the
> “wcs_extent” metadata if it does not get generated automatically right.
> Having wgs84-BoundingBox in CoverageSummary could be useful for WCS clients
> but even the GetCapabilities example in the WCS Core 2.0.1 standard does
> not contain it.
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* MapServer-users  
> *Puolesta
> *Carl Godkin
> *Lähetetty:* maanantai 18. lokakuuta 2021 21.24
> *Vastaanottaja:* mapserver-users@lists.osgeo.org
> *Aihe:* [mapserver-users] Getting started with WCS on mapserver...
>
>
>
> Hi,
>
>
>
> A week and a half ago I asked about using Mapserver +WMS to serve
> elevation data since I was following a tutorial that discussed WMS.
>
>
>
> In one of the replies I received, Jeff suggested that I actually wanted
> WCS for my use case which was a forehead slap + d'oh! moment for me.  Of
> course I do!
>
>
>
> Anyway, I have followed the Mapserver WCS docs and everything seems to
> work well.
>
>
>
> However, I have one question that may be kind of niche or will perhaps
> betray my overall ignorance.
>
>
>
> A while ago I wrote a WCS client for another project and it expects WCS
> version 2.0 requests.
>
>
>
> The map file that I made up (based closely on the one in the docs:
> https://mapserver.org/ogc/wcs_server.html#example-wcs-server-mapfile )
> seems to work fine for WCS 1.0, 1.1, and 2.0.  However, I don't seem to get
> a bounding box from GetCapabilities in the CoverageSummary from my 2.0
> requests whereas I certainly do from the 1.1 request:
>
>
>
> I get this from VERSION=1.1.0:
>
>
>
> 
>
> 
>
> bathymetry
>
> 
>
> 
>
> -180 -90
>
> 180 90
>
> 
>
> urn:ogc:def:crs:EPSG::4326
>
> image/tiff
>
> bathymetry
>
> 
>
> 
>
>
>
> whereas I get just this from VERSION=2.0.1:
>
>
>
> 
>
> 
>
> bathymetry
>
> RectifiedGridCoverage
>
> 
>
> 
>
>
>
> Is there something I can add to my WCS map file to get the 
> "ows:WGS84BoundingBox"
> element returned in my GetVersion?  I believe I was working with Geoserver
> sources when I wrote that client but I would really like to get the
> geographic extents.
>
>
>
> Thank you very much for the great documentation!
>
>
>
> carl
>
>
>
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getting started with WCS on mapserver...

2021-10-18 Thread Rahkonen Jukka (MML)
Hi,

The wgs84-BoundingBox is an optional element in the CoverageSummary by the WCS 
2.0.1 standard. There may be no way to configure Mapserver to add that 
information into GetCapabilities. You must read extents coverage by coverage 
with DescribeCoverage requests. But the boundedBy in that place is using the 
native CRS of the coverage like here:


http://www.opengis.net/def/crs/EPSG/0/3067; 
axisLabels="x y" uomLabels="m m" srsDimension="2">
212000 6762000
218000 6768000



The extent that appears in DescribeCoverage can be configured with the 
“wcs_extent” metadata if it does not get generated automatically right. Having 
wgs84-BoundingBox in CoverageSummary could be useful for WCS clients but even 
the GetCapabilities example in the WCS Core 2.0.1 standard does not contain it.

-Jukka Rahkonen-

Lähettäjä: MapServer-users  Puolesta 
Carl Godkin
Lähetetty: maanantai 18. lokakuuta 2021 21.24
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Getting started with WCS on mapserver...

Hi,

A week and a half ago I asked about using Mapserver +WMS to serve elevation 
data since I was following a tutorial that discussed WMS.

In one of the replies I received, Jeff suggested that I actually wanted WCS for 
my use case which was a forehead slap + d'oh! moment for me.  Of course I do!

Anyway, I have followed the Mapserver WCS docs and everything seems to work 
well.

However, I have one question that may be kind of niche or will perhaps betray 
my overall ignorance.

A while ago I wrote a WCS client for another project and it expects WCS version 
2.0 requests.

The map file that I made up (based closely on the one in the docs: 
https://mapserver.org/ogc/wcs_server.html#example-wcs-server-mapfile ) seems to 
work fine for WCS 1.0, 1.1, and 2.0.  However, I don't seem to get a bounding 
box from GetCapabilities in the CoverageSummary from my 2.0 requests whereas I 
certainly do from the 1.1 request:

I get this from VERSION=1.1.0:



bathymetry


-180 -90
180 90

urn:ogc:def:crs:EPSG::4326
image/tiff
bathymetry



whereas I get just this from VERSION=2.0.1:



bathymetry
RectifiedGridCoverage



Is there something I can add to my WCS map file to get the 
"ows:WGS84BoundingBox" element returned in my GetVersion?  I believe I was 
working with Geoserver sources when I wrote that client but I would really like 
to get the geographic extents.

Thank you very much for the great documentation!

carl

___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Getting started with WCS on mapserver...

2021-10-18 Thread Carl Godkin
Hi,

A week and a half ago I asked about using Mapserver +WMS to serve elevation
data since I was following a tutorial that discussed WMS.

In one of the replies I received, Jeff suggested that I actually wanted WCS
for my use case which was a forehead slap + d'oh! moment for me.  Of course
I do!

Anyway, I have followed the Mapserver WCS docs and everything seems to work
well.

However, I have one question that may be kind of niche or will perhaps
betray my overall ignorance.

A while ago I wrote a WCS client for another project and it expects WCS
version 2.0 requests.

The map file that I made up (based closely on the one in the docs:
https://mapserver.org/ogc/wcs_server.html#example-wcs-server-mapfile )
seems to work fine for WCS 1.0, 1.1, and 2.0.  However, I don't seem to get
a bounding box from GetCapabilities in the CoverageSummary from my 2.0
requests whereas I certainly do from the 1.1 request:

I get this from VERSION=1.1.0:



bathymetry


-180 -90
180 90

urn:ogc:def:crs:EPSG::4326
image/tiff
bathymetry



whereas I get just this from VERSION=2.0.1:



bathymetry
RectifiedGridCoverage



Is there something I can add to my WCS map file to get the
"ows:WGS84BoundingBox"
element returned in my GetVersion?  I believe I was working with Geoserver
sources when I wrote that client but I would really like to get the
geographic extents.

Thank you very much for the great documentation!

carl
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users