[gdal-dev] Gdal WMTS configuration

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Fri Feb 16 05:59:50 PST 2018


Hi all,

I am creating a gdal wmts xml file for the tile layers in geoserver using
the following gdal function:

 gdal_translate ""'WMTS:
http://localhost:8080/geoserver/gwc/service/wmts?REQUEST=GetCapabilities,layer=
'$gslayer""
/home/julierme/Desktop/amazonia_sar/amapa/IMG/covmingrad/amapa_north/processadas_gs_xml/$
filenamenoextension.xml -of WMTS

This one output file:

<GDAL_WMTS>
  <GetCapabilitiesUrl>
http://localhost:8080/geoserver/gwc/service/wmts?REQUEST=GetCapabilities
</GetCapabilitiesUrl>

<Layer>amazoniasar_amapanorth_covmingrad:CSKS1_20161120205231_CSKS2_20170216205201_3_CovMinGrad_rgb</Layer>
  <TileMatrixSet>EPSG:4326</TileMatrixSet>
  <InfoFormat>application/vnd.ogc.gml/3.1.1</InfoFormat>
  <DataWindow>
    <UpperLeftX>-51.55010461807251</UpperLeftX>
    <UpperLeftY>3.749183379113674</UpperLeftY>
    <LowerRightX>-51.04091674089432</LowerRightX>
    <LowerRightY>3.231662549078465</LowerRightY>
  </DataWindow>
  <BandsCount>4</BandsCount>
  <Cache />
  <UnsafeSSL>true</UnsafeSSL>
  <ZeroBlockHttpCodes>204,404</ZeroBlockHttpCodes>
  <ZeroBlockOnServerException>true</ZeroBlockOnServerException>
</GDAL_WMTS>

I am seeding the geoserver layers. In order to speed up QGIS rendering
layers, I wonder if I have to insert the GeoWebCache path in the xml file,
as this:
...
<Cache>
    <Path>/var/lib/tomcat7/webapps/geoserver/data/gwc/geowebcache.xml</Path>
 </Cache>

Does the insertion of GeoWebCache path help QGIS to render layers faster?

I am doing some tests, but I would like a feedback on that.

Thank you for your time in advance

Kind regards

Julierme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180216/b256e757/attachment.html>


More information about the gdal-dev mailing list