tileserver-gl

Tileserver Gl Docker Image

MapTiler TileServer GL是用于生成、托管和提供地图瓦片服务的工具,支持多种地图数据格式,可为Web及移动应用高效提供标准地图瓦片服务。

20 次收藏下载次数: 0状态:社区镜像维护者:maptiler仓库类型:镜像最近更新:
下载命令
点击查看

TileServer GL

Vector and raster maps with GL styles. Server side rendering by Mapbox GL Native. Map tile server for Mapbox GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

Get Started

Make sure you have Node.js version 10 installed (running node -v it should output something like v10.17.0).

Install tileserver-gl with server-side raster rendering of vector tiles with npm

bash
npm install -g tileserver-gl

Now download vector tiles from https://openmaptiles.org/downloads/.

bash
curl -o zurich_switzerland.mbtiles https://[GET-YOUR-LINK]/extracts/zurich_switzerland.mbtiles

Start tileserver-gl with the downloaded vector tiles.

bash
tileserver-gl zurich_switzerland.mbtiles

Alternatively, you can use the tileserver-gl-light package instead, which is pure javascript (does not have any native dependencies) and can run anywhere, but does not contain rasterization on the server side made with MapBox GL Native.

Using Docker

An alternative to npm to start the packed software easier is to install https://www.docker.com/ on your computer and then run in the directory with the downloaded MBTiles the command:

bash
docker run --rm -it -v $(pwd):/data -p 8080:80 maptiler/tileserver-gl

This will download and start a ready to use container on your computer and the maps are going to be available in webbrowser on localhost:8080.

On laptop you can use Docker Kitematic and search "tileserver-gl" and run it, then drop in the 'data' folder the MBTiles.

Documentation

You can read full documentation of this project at https://tileserver.readthedocs.io/.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 tileserver-gl 镜像标签

docker pull docker.xuanyuan.run/maptiler/tileserver-gl:<标签>

DockerHub 原生拉取命令

docker pull maptiler/tileserver-gl:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告