Hi Jukka,
that is actually not clear to me, the examples in the spec that I could
find are all using the long format, but I could
not find a specific rule for axis names, or how the labels reported in
DescribeCoverage output relate to the
IDs used in requests, since the former always uses short names in the spec,
and the latter uses long URI
like ones instead (see the scaling extension).
I am not opposed to also recognize a shorter format, could be one of those
"GeoServer not quite fully standard
but handy" relaxed interpretations of the protocol. Or you could just be
that the specification it's inconsistent,
it would make a lot of sense imho if the labels reported in
DescribeCoverage had to be used as-is
in GetCovearge.
Cheers
Andrea
On Tue, Mar 21, 2017 at 10:04 PM, Rahkonen Jukka (MML) <
[email protected]> wrote:
> All right, the SCALESIZE axis are output grid axes which are named as i
> and j in DescribeCoverage
> gml:axisLabels>i j</gml:axisLabels
> So the E and N which are used for subset are wrong for SCALESIZE
>
> Another thing is that i and j can't be used as it but they require URI for
> the axis. So this is a working query:
>
> http://localhost:8080/geoserver/wcs?service=WCS&version=2.0.1&request=
> GetCoverage&coverageID=sf__sfdem&SUBSET=E(589980,590000)&
> SUBSET=N(4913700,4923700)&SCALESIZE=http://www.opengis.
> net/def/axis/OGC/1/i(200),http://www.opengis.net/def/axis/OGC/1/j(200)
>
> Now I wonder if it is necessary and useful to require that long format for
> axis names. The KVP examples in the Scaling Extension standard are using
> this short and more human-writable syntax:
> …& SCALESIZE=i(1000),j(1000),k(10) &…
>
> -Jukka-
>
> ________________________________________
> Lähettäjä: Rahkonen Jukka (MML)
> Lähetetty: 21. maaliskuuta 2017 20:03
> Vastaanottaja: 'Geoserver-devel'
> Aihe: [Geoserver-devel] WCS 2.0.1 with SCALESIZE
>
> Hi,
>
> Is there something wrong with this GetCoverage?
>
> localhost:8080/geoserver/wcs?service=WCS&version=2.0.1&
> request=GetCoverage&coverageID=sf__sfdem&SUBSET=E(589980,590000)&SUBSET=N(
> 4913700,4923700)&SCALESIZE=E(200),N(200)
>
> The error from GeoServer 2.11-RC1 is
> "ScaleAxisUndefined" locator="E">
>
> -Jukka Rahkonen-
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
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.
-------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel