On Thu, May 21, 2015 at 10:52 AM, Luís de Sousa <luis.a.de.so...@gmail.com>
wrote:

> Dear all,
>
> I am working on an application that uses coverages from different
> services. I am using WCS 1.1.1, that is kind of supported by both
> MapServer and GeoServer.
>
> For each coverage I must fetch information on the available CRSs, the
> WGS84 bounding box and so forth. MapServer reports all this metadata
> in the DescribeCoverage response, but GeoServer spreads it between the
> GetCapabilities and DescribeCoverage responses. Thus for Geoserver I
> must execute both requests and then merge the metadata.
>
> However, there is a major problem with the responses returned by
> GeoServer: different coverage identifiers are reported in each
> request.
>
> Take for example the response to this GetCapabilities:
>
>
> http://extragisqa.gent.be/geoserver/Gent/ows?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCapabilities
>
> It advertises a coverage with the identifier "dsm2003":
>
> <wcs:CoverageSummary>
> <ows:Title>DSM Gent 2003 2.5m</ows:Title>
> <ows:Abstract>Generated from GeoTIFF</ows:Abstract>
> <ows:Keywords>
> <ows:Keyword>WCS</ows:Keyword>
> <ows:Keyword>GeoTIFF</ows:Keyword>
> <ows:Keyword>DSM_ghent_2.5m_buildings_2003</ows:Keyword>
> </ows:Keywords>
> <ows:WGS84BoundingBox>
> <ows:LowerCorner>3.552395176113043 50.972191859666644</ows:LowerCorner>
> <ows:UpperCorner>3.8693954783075153 51.1896845261209</ows:UpperCorner>
> </ows:WGS84BoundingBox>
> <wcs:Identifier>dsm2003</wcs:Identifier>
> </wcs:CoverageSummary>
>
>
> Then issuing a DescribeCoverage request:
>
>
> http://extragisqa.gent.be/geoserver/Gent/ows?SERVICE=WCS&VERSION=1.1.1&REQUEST=DescribeCoverage&IDENTIFIERS=dsm2003
>
> This coverage is now identified as "Gent:dsm2003":
>
> <wcs:CoverageDescription>
> <ows:Title>DSM Gent 2003 2.5m</ows:Title>
> <ows:Abstract>Generated from GeoTIFF</ows:Abstract>
> <ows:Keywords>
> <ows:Keyword>WCS</ows:Keyword>
> <ows:Keyword>GeoTIFF</ows:Keyword>
> <ows:Keyword>DSM_ghent_2.5m_buildings_2003</ows:Keyword>
> </ows:Keywords>
> <wcs:Identifier>Gent:dsm2003</wcs:Identifier>
>
> With different identifiers it is not possible to merge the metadata.
>
> For starters, I would like to know if there is a way to fix this.
> Could this be caused by something wrong with the configuration? Or is
> it a bug?


Looks like a bug, the code is doing two different things in the two places.


> Could an upgrade solve it? I do not have direct access to
> this GeoServer instance, but it seems to be running version 6.4.3.
>

No, the current code still has the issue


> A secondary question would concern the spread of metadata across both
> responses. Why isn't information such as the WGS84 bounding box, for
> instance, reported in the DescribeCoverage response?
>

Don't think there is a significant choice made there, it just happened, and
as
far as I know, it's valid behavior. A client should not make assumptions
that
everything is in one place, but if you want, you can make a pull request
to change the current code and put everything you need in the capabilities.

Cheers
Andrea

-- 
==
Meet us at the INSPIRE Conference in Lisbon 25-29 May 2015! Visit
http://goo.gl/WHKDXT for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to