|
From: Kevin S. <ks...@bo...> - 2014-01-15 17:48:22
|
It wouldn't be the first off by one error in the WMTS module. Fixing another was one of my first patches to GWC. A quick look at the WMTS spec though shows it to use a 0 index for rows and columns though so it seems 0 should be OK. On 14 January 2014 10:38, Andrea Aime <and...@ge...> wrote: > 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 > > ------------------------------------------------------- > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Geowebcache-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geowebcache-devel > > -- Kevin Smith Junior Software Engineer | Boundless ks...@bo... +1-778-785-7459 @boundlessgeo <https://twitter.com/boundlessgeo> |