Skip to content
Permalink
Browse files

optionally use base url for WMTS GetTile requests (implements #8595)

  • Loading branch information
jef-n committed Oct 31, 2013
1 parent 827ff93 commit 8248239a79726ceed90ff0aea4b0c6d9708ae4e5
Showing with 4 additions and 4 deletions.
  1. +2 −2 i18n/qgis_de.ts
  2. +1 −1 src/providers/wms/qgswmsprovider.cpp
  3. +1 −1 src/ui/qgsnewhttpconnectionbase.ui
</message>
<message>
<location filename="../src/ui/qgsnewhttpconnectionbase.ui" line="157"/>
<source>Ignore GetMap URI reported in capabilities</source>
<translation>Gemeldete GetMap-URI aus Diensteigenschaften ignorieren</translation>
<source>Ignore GetMap/GetTile URI reported in capabilities</source>
<translation>Gemeldete GetMap/GetTile-URI aus Diensteigenschaften ignorieren</translation>
</message>
<message>
<location filename="../src/ui/qgsnewhttpconnectionbase.ui" line="164"/>
@@ -889,7 +889,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, i
if ( !getTileUrl().isNull() )
{
// KVP
QUrl url( getTileUrl() );
QUrl url( mIgnoreGetMapUrl ? mBaseUrl : getTileUrl() );

// compose static request arguments.
setQueryItem( url, "SERVICE", "WMTS" );
@@ -154,7 +154,7 @@
<item row="12" column="0" colspan="2">
<widget class="QCheckBox" name="cbxIgnoreGetMapURI">
<property name="text">
<string>Ignore GetMap URI reported in capabilities</string>
<string>Ignore GetMap/GetTile URI reported in capabilities</string>
</property>
</widget>
</item>

0 comments on commit 8248239

Please sign in to comment.
You can’t perform that action at this time.