On Wed, Aug 14, 2019 at 7:49 PM Jody Garnett <[email protected]> wrote:

> This proposal is targeted towards 2.16? We are days away from the RC
> deadline ...
>
> As for the content of the proposalL
> - Technically this functionality is already available for GetMap via
> CQL_FILTER is it not?
>

Same goes for the existing TIME and ELEVATION support for vectors, they
could be done via CQL_FILTER. But CQL_FILTER cannot be discovered by a
generic OGC WMS client, custom dimensions are instead part of the WMS
standard.


> - Do you have an example of WMS 1.1 and WMS 1.3 snippet advertising custom
> dimensions, an identical approach as for time
>

It's really the same as the exiting support for raster custom dimensions
(WMS does not tell you if a particular layer is vector or raster).
Here is an example taken from a GeoServer serving a raster data set with
dimensions time, elevation and REFERENCE_TIME:

<Dimension name="time" default="2016-02-28T00:00:00Z" units="ISO8601">
2016-02-23T03:00:00.000Z,2016-02-23T06:00:00.000Z,2016-02-23T09:00:00.000Z,2016-02-23T12:00:00.000Z,2016-02-23T15:00:00.000Z,2016-02-23T18:00:00.000Z,2016-02-23T21:00:00.000Z,2016-02-24T00:00:00.000Z,2016-02-24T03:00:00.000Z,2016-02-24T06:00:00.000Z,2016-02-24T09:00:00.000Z,2016-02-24T12:00:00.000Z,2016-02-24T15:00:00.000Z,2016-02-24T18:00:00.000Z,2016-02-24T21:00:00.000Z,2016-02-25T00:00:00.000Z,2016-02-25T03:00:00.000Z,2016-02-25T06:00:00.000Z,2016-02-25T09:00:00.000Z,2016-02-25T12:00:00.000Z,2016-02-25T15:00:00.000Z,2016-02-25T18:00:00.000Z,2016-02-25T21:00:00.000Z,2016-02-26T00:00:00.000Z,2016-02-26T03:00:00.000Z,2016-02-26T06:00:00.000Z,2016-02-26T09:00:00.000Z,2016-02-26T12:00:00.000Z,2016-02-26T15:00:00.000Z,2016-02-26T18:00:00.000Z,2016-02-26T21:00:00.000Z,2016-02-27T00:00:00.000Z,2016-02-27T03:00:00.000Z,2016-02-27T06:00:00.000Z,2016-02-27T09:00:00.000Z,2016-02-27T12:00:00.000Z,2016-02-27T15:00:00.000Z,2016-02-27T18:00:00.000Z,2016-02-27T21:00:00.000Z,2016-02-28T00:00:00.000Z
</Dimension>
<Dimension name="elevation" default="0.0" units="meters" unitSymbol="m">
0.0,200.0,400.0,600.0,800.0,1000.0,1200.0,1400.0,1600.0,1800.0,2000.0,3000.0,4000.0,5000.0,6000.0,7000.0,8000.0,9000.0
</Dimension>
<Dimension name="REFERENCE_TIME" default="2016-02-25T00:00:00.000Z"
units="ISO8601" unitSymbol="t">
2016-02-23T00:00:00.000Z,2016-02-24T00:00:00.000Z,2016-02-25T00:00:00.000Z
</Dimension>


> - there is a risk of conflict between dimension parameters (population=100
> in the demo) and other keys, perhaps something similar to vendor options
> should be considered? Imagine if I had a dimension named format, angle or
> env?
>

The WMS specification handle this by asking the client to add a "DIM_"
prefix in the request, so if the dimension is called "REFERENCE_TIME" the
client will add a parameter &DIM_REFERENCE_TIME=value in the KVP request.
Being part of the core specification, servers adding vendor parameter are
forbidden to add ones starting with DIM_, thus avoiding conflicts.
Again, this is already supported for raster data, see for example this test
suite:
https://github.com/geoserver/geoserver/blob/31a1aff264cac7e3db20edc776dd5a84bd58ce02/src/wms/src/test/java/org/geoserver/wms/wms_1_1_1/CustomDimensionsTest.java

Cheers
Andrea


== 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
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to