[gdal-dev] Gdal WMTS configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] Gdal WMTS configuration

juliermeopensourcedeveloper
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


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev