I am creating WMTS server side. The problem is that I cannot find any solution where I will be able to generate GetCapabilities xml response in java using some libraries like geotools or similar. Can somebody help me with this?

  • You could use, geoserver where WMTS services are a capability of map services published and GetCapabilties xml is built for you. I try not to reinvent the wheel, when I can. – enolan Aug 7 '18 at 18:46

Your best bet is to study the geowebcache sources to see how they do it. But is a pretty simple schema to follow assuming you have implemented the spec correctly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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