Skip to content

Instantly share code, notes, and snippets.

@chingchai
Last active July 25, 2019 04:19
Show Gist options
  • Save chingchai/26f0c640fdc11c3b72835ef8d22c6c83 to your computer and use it in GitHub Desktop.
Save chingchai/26f0c640fdc11c3b72835ef8d22c6c83 to your computer and use it in GitHub Desktop.
BaseMaps Google for QGIS2
<GDAL_WMS>
<!--
Data is subject to term of use detailed at
http://code.google.com/intl/nl/apis/maps/terms.html and
http://www.google.com/intl/en_ALL/help/terms_maps.html
Line Group : LTaxSmartGroup & SmartLTax
Parameter by : Attagorn Srinarong
Cr. : Chingchai Hoomhong
url : http://mt.google.com/vt/lyrs=
h = roads only
m = standard roadmap
p = terrain
r = somehow altered roadmap
s = satellite only
t = terrain only
y = hybrid
-->
<Service name="TMS">
<ServerUrl>http://mt.google.com/vt/lyrs=y&amp;x=${x}&amp;y=${y}&amp;z=${z}</ServerUrl> <!-- Hybrid -->
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>20</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<Cache />
</GDAL_WMS>
<GDAL_WMS>
<!--
Data is subject to term of use detailed at
http://code.google.com/intl/nl/apis/maps/terms.html and
http://www.google.com/intl/en_ALL/help/terms_maps.html
Line Group : LTaxSmartGroup & SmartLTax
Parameter by : Attagorn Srinarong
Cr. : Chingchai Hoomhong
url : http://mt.google.com/vt/lyrs=
h = roads only
m = standard roadmap
p = terrain
r = somehow altered roadmap
s = satellite only
t = terrain only
y = hybrid
-->
<Service name="TMS">
<ServerUrl>http://mt.google.com/vt/lyrs=m&amp;x=${x}&amp;y=${y}&amp;z=${z}</ServerUrl> <!-- standard roadmap -->
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>20</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<Cache />
</GDAL_WMS>
<GDAL_WMS>
<!--
Data is subject to term of use detailed at
http://code.google.com/intl/nl/apis/maps/terms.html and
http://www.google.com/intl/en_ALL/help/terms_maps.html
Line Group : LTaxSmartGroup & SmartLTax
Parameter by : Attagorn Srinarong
Cr. : Chingchai Hoomhong
url : http://mt.google.com/vt/lyrs=
h = roads only
m = standard roadmap
p = terrain
r = somehow altered roadmap
s = satellite only
t = terrain only
y = hybrid
-->
<Service name="TMS">
<ServerUrl>http://mt.google.com/vt/lyrs=r&amp;x=${x}&amp;y=${y}&amp;z=${z}</ServerUrl> <!-- roadmap -->
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>20</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<Cache />
</GDAL_WMS>
<GDAL_WMS>
<!--
Data is subject to term of use detailed at
http://code.google.com/intl/nl/apis/maps/terms.html and
http://www.google.com/intl/en_ALL/help/terms_maps.html
Line Group : LTaxSmartGroup & SmartLTax
Parameter by : Attagorn Srinarong
Cr. : Chingchai Hoomhong
url : http://mt.google.com/vt/lyrs=
h = roads only
m = standard roadmap
p = terrain
r = somehow altered roadmap
s = satellite only
t = terrain only
y = hybrid
-->
<Service name="TMS">
<ServerUrl>http://mt.google.com/vt/lyrs=s&amp;x=${x}&amp;y=${y}&amp;z=${z}</ServerUrl> <!-- satellite -->
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>20</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<Cache />
</GDAL_WMS>
@pong1478
Copy link

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment