I've been trying to add a TMS layer in QGIS using a GDAL_WMS xml configuration file.

I added UserPwd to the xml and this seems to provide the authentication required by GeoServer but I'm struggling to get it to display correctly and in the correct place.

The map mostly loads as black but occasionally I can find the odd area that displays bits that look a bit like a map however I've yet to get it to load even close to correctly in QGIS.

Does anyone have a specific example of how they successfully added a GeoServer TMS layer using this method?

Example XML

<Service name="TMS">  <ServerUrl>http://wms.domain.com/gwc/service/tms/1.0.0/workspace%3Alayername/${z}/${x}/${y}.png</ServerUrl>
<Cache />

  • 1
    Add your xml configuration file to your question. You can use fake WMS server address and username/password.
    – user30184
    Mar 1 '16 at 13:09
  • I have edited the original post to show an example configuration file Mar 1 '16 at 14:15

Your Answer

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

Browse other questions tagged or ask your own question.