On 17-03-15 12:23 AM, Andrea Aime wrote:
> On Wed, Mar 15, 2017 at 1:56 AM, Kevin Smith <[email protected]
> <mailto:[email protected]>> wrote:
>
>     I can't think of any way of doing coordinates as path element
>     coordinates with flipped y other than writing a custom service
>     implementation, 
>
>
> How about implementing the REST bindings for WMTS in that case? ;-)
>
That might work, although it uses string TileMatrix names rather than
integer zoom levels.

An option to placate the annoying clients that refuse to use one of the
published standards and just use ad hoc path based tile schemes would be
a service that take a template for the coordinates as part of the path. 
/geowebcache/service/adhoc/<template>/<layer>/<gridset>/<format>/<zoom
and coordinates according to template>

So
/geowebcache/service/adhoc/zx-y/<layer>/<gridset>/<format>/<zoom>/<column>/<row_flipped>
and
/geowebcache/service/adhoc/xyz/<layer>/<gridset>/<format>/<column>/<row>/<zoom>

On the down side, it's caving in to the broken clients and reducing
their incentive to do things properly.  On the up side it means we get
fewer complaints about how we don't support all these ad hoc schemes.

Of course implementing either of these would depend on someone with
incentive and resources doing it or paying someone else to do it.

-- 
Kevin Michael Smith
<[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to