[Geoserver-devel] WCS Custom Dimension AxisLabels

Hello Geoserver-devel,

Hopefully easy question today, I'm publishing a number of layers with a custom dimension. Problem is, I can't figure out how to get the custom dimension to be set as a valid axisLabel so I can query using it with WCS 2.0.1. I assume it's something I need to do when publishing the layers, but I can't find info on when/how to do it. Any guidance would be appreciated!

Thanks,
David Marks

Hi,

what do you mean with “valid axisLabel”?

Supposing you have a custom dimension named “WAVELENGTH”, you can find it in the WCS2.0.1 describeCoverage response,

in the
gmlcov:metadata
gmlcov:Extension

<wcsgs:DimensionDomain name=“WAVELENGTH” default=“453”>…

Therefore, you can send a GetCoverage request using that dimension in subsetting using slicing.

As an instance:

http://localhost:8080/geoserver/wcs?request=GetCoverage&service=WCS&version=2.0.1&coverageId=geosolutions__NO2&Format=image/tiff&subset=http://www.opengis.net/def/axis/OGC/0/Long(-116,-115.8)&subset=http://www.opengis.net/def/axis/OGC/0/Lat(32.5,32.9)**&**subset=WAVELENGTH(543)

Does it helps?

Please, let us know.

Cheers,

Daniele

···

On Mon, Jun 8, 2015 at 7:03 PM, Marks, David <David.Marks@anonymised.com> wrote:

Hello Geoserver-devel,

Hopefully easy question today, I’m publishing a number of layers with a custom dimension. Problem is, I can’t figure out how to get the custom dimension to be set as a valid axisLabel so I can query using it with WCS 2.0.1. I assume it’s something I need to do when publishing the layers, but I can’t find info on when/how to do it. Any guidance would be appreciated!

Thanks,
David Marks



Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

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

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.

Yes! This is exactly what I needed to know!

Seriously, I owe you a beverage of your choice.

Thanks a ton,
David Marks

From: Daniele Romagnoli <daniele.romagnoli@anonymised.com<mailto:daniele.romagnoli@anonymised.com>>
Date: Wednesday, June 10, 2015 at 3:22 AM
To: David Marks <david.marks@anonymised.com<mailto:david.marks@anonymised.com>>
Cc: Geoserver-devel <geoserver-devel@lists.sourceforge.net<mailto:geoserver-devel@lists.sourceforge.net>>
Subject: Re: [Geoserver-devel] WCS Custom Dimension AxisLabels

Hi,
what do you mean with "valid axisLabel"?
Supposing you have a custom dimension named "WAVELENGTH", you can find it in the WCS2.0.1 describeCoverage response,
in the
<gmlcov:metadata>
    <gmlcov:Extension>
         <wcsgs:DimensionDomain name="WAVELENGTH" default="453">...

Therefore, you can send a GetCoverage request using that dimension in subsetting using slicing.
As an instance:

http://localhost:8080/geoserver/wcs?request=GetCoverage&service=WCS&version=2.0.1&coverageId=geosolutions__NO2&Format=image/tiff&subset=http://www.opengis.net/def/axis/OGC/0/Long(-116,-115.8)&subset=http://www.opengis.net/def/axis/OGC/0/Lat(32.5,32.9)&subset=WAVELENGTH(543)

Does it helps?

Please, let us know.
Cheers,
Daniele

On Mon, Jun 8, 2015 at 7:03 PM, Marks, David <David.Marks@anonymised.com<mailto:David.Marks@anonymised.com>> wrote:
Hello Geoserver-devel,

Hopefully easy question today, I'm publishing a number of layers with a custom dimension. Problem is, I can't figure out how to get the custom dimension to be set as a valid axisLabel so I can query using it with WCS 2.0.1. I assume it's something I need to do when publishing the layers, but I can't find info on when/how to do it. Any guidance would be appreciated!

Thanks,
David Marks

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net<mailto:Geoserver-devel@anonymised.comrge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

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

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.