Coder Social home page Coder Social logo

atlasdatatech / tiler Goto Github PK

View Code? Open in Web Editor NEW
161.0 1.0 24.0 185 KB

一款极速瓦片地图下载器,支持mapbox矢量瓦片下载。支持谷歌影像、百度地图、高德、天地图、四维、OSM等瓦片地图下载,离线地图soeasy。

Go 100.00%
mapbox vector-tiles downloader google-satlite gaodemap baidumap golang offline-maps

tiler's Introduction

地图下载器 Tiler - map tiles downloader

A well-polished tile downloader

一个极速地图下载框架,支持谷歌、百度、高德、天地图、Mapbox、OSM、四维、易图通等。

  • 支持多任务多线程配置,可任意设置

  • 支持不同层级设置不同下载范围,以加速下载

  • 支持轮廓精准下载,支持轮廓裁剪

  • 支持矢量瓦片数据下载

  • 支持文件和MBTILES两种存储方式

  • 支持自定义瓦片地址

使用方式

  1. 下载源代码在对应的平台上自己编译

  2. 直接release发布页面, 下载对应平台的预编译程序

参照配置文件中的示例url更改为想要下载的地图地址,即可启动下载任务~

例如: url = "http://mt0.google.com/vt/lyrs=s&x={x}&y={y}&z={z}" ,地址中瓦片的xyz使用{x}{y}{z}代替,其他保持不变。

谷歌地图说明

  • 影像层 谷歌影像,分有偏移和无偏移两种,下载国内有偏移的影像需要在连接中加地区字段,如下为大陆地区偏移影像

    url = "http://mt0.google.com/vt/lyrs=s&gl=CN&x={x}&y={y}&z={z}"

  • 标注层 影像标注,中文标注只有火星坐标,谷歌并不提供无偏移标注图层,所以通常只能下载有偏移的标注层,如下为大陆地区偏移标注

    url = "http://mt0.google.com/vt/lyrs=h&gl=CN&x={x}&y={y}&z={z}"

  • 使用 在实际的使用中,要么保持系统的无偏移(这个时候需要校准有偏移的标注层),要么保持影像和标注的都有偏移,使用火星算法处理自己的数据

谷歌图层类型lyrs=

  • h 街道图,透明街道+标注
  • m 街道图
  • p 街道图
  • r 街道图
  • s 影像无标注
  • t 地形图
  • y 影像含标注

天地图说明

工具已经处理了天地图429限制,请合理使用!!!

tiler's People

Contributors

atlasdatatech avatar exlimit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tiler's Issues

如何获取 x、y、z?

能否指引一下,如何获取 x、y、z 的数值?
我已经注册好了 mapbox 账号,并且生成了 token,下一步要如何获取 x、y、z 值呢?
谢谢!

下载完的瓦片在哪里?

如标题,我的output文件夹里只有【google satelite-z0-3.uM-p9sznR.mbtiles(20KB)】【google satelite-z0-3.uM-p9sznR.mbtiles-journal(9KB)】

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.