

GitHub - maptiler/tileserver-gl: Vector and raster maps with GL styles. Server s...
source link: https://github.com/maptiler/tileserver-gl
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
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 6 installed (running node -v
it should output something like v6.11.3
).
Install tileserver-gl
with server-side raster rendering of vector tiles with npm
npm install -g tileserver-gl
Now download vector tiles from OpenMapTiles.
curl -o zurich_switzerland.mbtiles https://[GET-YOUR-LINK]/extracts/zurich_switzerland.mbtiles
Start tileserver-gl
with the downloaded vector tiles.
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 Docker on your computer and then run in the directory with the downloaded MBTiles the command:
docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/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 http://tileserver.readthedocs.io/.
Recommend
-
47
Create and self-host maps for your websites and products with MapTiler platform.
-
11
CoreUI Icons (1500+ Free icons)- Simply beautiful open source icons CoreUI Icons is an open-source icon set with more than 1500 icons in multiple formats SVG, PNG, and Webfonts. CoreUI Icons are beautifully...
-
24
#30DayMapChallenge: Day 3 – Polygons OR Lego® style brick raster in QGIS using Geometry Generator expressions
-
14
Watertight vector maps from raster images May 14, 2018 Or, “how not to GIS”. For the impatient, there’s a github repository for the maptrace
-
11
Vector? Raster? Why Not Both!August 25, 2021 #1 PopularThis week I ran into an interesting class of problem that—in hindsight—could use a muc...
-
7
Raster thread performance optimization tipsRecently, I sat down to tweak the performance of FlutterFolio, an app that was built as a design showcase for Flutter Engage. With a single change, I made FlutterFolio s...
-
12
Raster data access from the spatial database is an important feature, and the coming release of PostGIS will make remote access more practical by allowing access to private cloud storage. Previous versions could access rasters in publi...
-
6
Upgrading raster from 2.* to 3.* Author: Regina Obe 2022/01/14 in tips ( newbie,
-
8
Design Raster vs. Vector: What’s the Difference? ByBrooke Arnold PublishedJune 26, 2022
-
6
Ranked #4 for todayFree IconsOpen-source vector icons in 16 stylesCreate great designs with free universal icons. Suitable for any styl...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK