|
From: Andrea A. <and...@ge...> - 2014-01-14 18:38:38
|
Hi,
I'm looking into an issue of schema validity of the generated WMTS caps
document, namely, we don't always fill the Style element in a layer, but
that
one is mandatory.
For this one I'm trying to pull a trick and add a section like this one:
<Style isDefault="true">
<ows:Identifier></ows:Identifier>
</Style>
which is schema valid, when no style is available for the layer (e.g.,
layer groups
in geoserver for example) :-)
However, running the validation of a wmts caps document I've found a ton of
errors
that are related to rows and columns in the tile matrix limits, for example:
<TileMatrixLimits>
<TileMatrix>EPSG:4326:0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>
and the validator complains about the zeroes, because MinTileRow shoudl be
at least 1.
Wondering, do we have an off-by-one issue in there?
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
-------------------------------------------------------
|