2

I was wondering if there is a library which I can use to retrieve TileMatrix/Tile information from a WMTS Capabilities document. I have been trying to use geotools but it seems as though it does not support WMTS (just WMS).

7
  • have you seen lists.refractions.net/pipermail/udig-devel/2012-July/…?
    – Ian Turton
    Oct 29, 2013 at 8:28
  • @iant Thanks for the link. Tried this out but could not get it to work. Now exploring the use of XMLBeans to parse data from a wmts capabilities document.
    – k9ty
    Oct 30, 2013 at 9:53
  • 1
    There is some (initial) support for WMTS in owslib - python, but possibly you could use it as a model or via Jython?
    – BradHards
    Nov 7, 2013 at 5:51
  • @BradHards Thanks for that! Seems quite useful, although I went down another route, I will give this a try :)
    – k9ty
    Nov 13, 2013 at 11:45
  • Could you add your solution as an Answer (below) and close this out?
    – BradHards
    Nov 13, 2013 at 22:49

1 Answer 1

1

GeoTools now has a WMTS module that will handle this (and more) for you:

The client code is fairly slick in that it takes care of version negotiation (inheriting functionalities from AbstractOpenWebService), and even a few server specific wrinkles for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.