xyz tiles

#https://wiki.openstreetmap.org/wiki/Tile_servers

# https://tile.thunderforest.com/

# basemaps.cartocdn

https://note.pcwu.net/2017/03/31/js-leaflet-maps/

Service public info: https://carto.com/location-data-services/basemaps/ The structure of the URLs to call the service is the following: https://{s}.basemaps.cartocdn.com/{style}/{z}/{x}/{y}{scale}.png , where:

{s}: one of the available subdomains, either [a,b,c,d]

{z} : Zoom level. We support from 0 to 20 zoom levels in OSM tiling system.

{x},{y}: Tile coordinates in OSM tiling system

{scale}: OPTIONAL "@2x" for double resolution tiles

{style}: Map style, possible value is one of:

light_all,

dark_all,

light_nolabels,

light_only_labels,

dark_nolabels,

dark_only_labels,

rastertiles/voyager,

rastertiles/voyager_nolabels,

rastertiles/voyager_only_labels,

rastertiles/voyager_labels_under



# xml

<!DOCTYPE connections>

<qgsXYZTilesConnections version="1.0">

    <xyztiles url="https://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png" username="" zmax="18" referer="" password="" name="basemap-light-nolabels" authcfg="" zmin="0"/>

    <xyztiles url="https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png" username="" zmax="18" referer="" password="" name="basemap-light_all" authcfg="" zmin="0"/>

    <xyztiles url="https://tile.opentopomap.org/{z}/{x}/{y}.png" username="" zmax="18" referer="" password="" name="opentopomap" authcfg="" zmin="0"/>

    <xyztiles url="https://a.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png" username="" zmax="-1" referer="" password="" name="rastertiles-voyager" authcfg="" zmin="-1"/>

    <xyztiles url="https://a.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}{r}.png" username="" zmax="18" referer="" password="" name="rastertiles-voyager_nolabels" authcfg="" zmin="0"/>

    <xyztiles url="https://tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=****" username="" zmax="18" referer="" password="" name="thunderforest-OpenCycleMap" authcfg="" zmin="0"/>

    <xyztiles url="https://tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey=****" username="" zmax="18" referer="" password="" name="thunderforest-Outdoors" authcfg="" zmin="0"/>

    <xyztiles url="https://tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=****" username="" zmax="18" referer="" password="" name="thunderforest-landscape" authcfg="" zmin="0"/>

    <xyztiles url="https://tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=****" username="" zmax="18" referer="" password="" name="thunderforest-transport" authcfg="" zmin="0"/>

    <xyztiles url="http://mt2.google.cn/vt/lyrs=y&amp;scale=2&amp;hl=zh-CN&amp;gl=cn&amp;x={x}&amp;y={y}&amp;z={z}" username="" zmax="18" referer="" password="" name="谷歌卫星地图" authcfg="" zmin="0"/>

    <xyztiles url="http://mt2.google.cn/vt/lyrs=m&amp;scale=2&amp;hl=zh-CN&amp;gl=cn&amp;x={x}&amp;y={y}&amp;z={z}" username="" zmax="18" referer="" password="" name="谷歌街道地图" authcfg="" zmin="0"/>

    <xyztiles url="http://wprd01.is.autonavi.com/appmaptile?x={x}&amp;y={y}&amp;z={z}&amp;lang=zh_cn&amp;size=1&amp;scl=1&amp;style=7" username="" zmax="18" referer="" password="" name="高德地图" authcfg="" zmin="0"/>

    <xyztiles url="http://a.tile.openstreetmap.org/{z}/{x}/{y}.png" username="" zmax="19" referer="" password="" name="OpenStreetMap" authcfg="" zmin="0"/>

</qgsXYZTilesConnections>

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容