tileserver-gl-light 4.7.0 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +1 -1
- package/.github/workflows/codeql.yml +3 -3
- package/.github/workflows/ct.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/Dockerfile +2 -2
- package/Dockerfile_test +2 -2
- package/docs/installation.rst +31 -44
- package/package.json +3 -3
package/.github/workflows/ci.yml
CHANGED
|
@@ -25,13 +25,13 @@ jobs:
|
|
|
25
25
|
- name: Checkout
|
|
26
26
|
uses: actions/checkout@v4
|
|
27
27
|
- name: Initialize CodeQL
|
|
28
|
-
uses: github/codeql-action/init@
|
|
28
|
+
uses: github/codeql-action/init@v3
|
|
29
29
|
with:
|
|
30
30
|
languages: ${{ matrix.language }}
|
|
31
31
|
queries: +security-and-quality
|
|
32
32
|
- name: Autobuild
|
|
33
|
-
uses: github/codeql-action/autobuild@
|
|
33
|
+
uses: github/codeql-action/autobuild@v3
|
|
34
34
|
- name: Perform CodeQL Analysis
|
|
35
|
-
uses: github/codeql-action/analyze@
|
|
35
|
+
uses: github/codeql-action/analyze@v3
|
|
36
36
|
with:
|
|
37
37
|
category: '/language:${{ matrix.language }}'
|
package/.github/workflows/ct.yml
CHANGED
package/Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM ubuntu:
|
|
1
|
+
FROM ubuntu:jammy
|
|
2
2
|
|
|
3
3
|
ENV \
|
|
4
4
|
NODE_ENV="production" \
|
|
@@ -16,7 +16,7 @@ RUN set -ex; \
|
|
|
16
16
|
gnupg; \
|
|
17
17
|
mkdir -p /etc/apt/keyrings; \
|
|
18
18
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg; \
|
|
19
|
-
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/
|
|
19
|
+
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
|
|
20
20
|
apt-get -qq update; \
|
|
21
21
|
apt-get install -y nodejs; \
|
|
22
22
|
npm i -g npm@latest; \
|
package/Dockerfile_test
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Simply run "docker build -f Dockerfile_test ."
|
|
3
3
|
# WARNING: sometimes it fails with a core dumped exception
|
|
4
4
|
|
|
5
|
-
FROM ubuntu:
|
|
5
|
+
FROM ubuntu:jammy
|
|
6
6
|
|
|
7
7
|
ENV NODE_ENV="development"
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@ RUN set -ex; \
|
|
|
19
19
|
libglfw3-dev \
|
|
20
20
|
libuv1-dev \
|
|
21
21
|
libjpeg-turbo8 \
|
|
22
|
-
|
|
22
|
+
libicu70 \
|
|
23
23
|
libcairo2-dev \
|
|
24
24
|
libpango1.0-dev \
|
|
25
25
|
libjpeg-dev \
|
package/docs/installation.rst
CHANGED
|
@@ -17,61 +17,48 @@ Additional options (see :doc:`/usage`) can be passed to the TileServer GL by app
|
|
|
17
17
|
npm
|
|
18
18
|
===
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
npm is supported on the following platforms with `Native Dependencies <#id1>`_ installed.
|
|
21
21
|
|
|
22
|
+
- Operating systems:
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
There are some native dependencies that you need to make sure are installed if you plan to run the TileServer GL natively without docker.
|
|
27
|
-
The precise package names you need to install may differ on various platforms.
|
|
28
|
-
|
|
29
|
-
These are required on Debian 11:
|
|
30
|
-
* ``libgles2-mesa``
|
|
31
|
-
* ``libegl1``
|
|
32
|
-
* ``xvfb``
|
|
33
|
-
* ``xauth``
|
|
34
|
-
* ``libopengl0``
|
|
35
|
-
* ``libcurl4``
|
|
36
|
-
* ``curl``
|
|
37
|
-
* ``libuv1-dev``
|
|
38
|
-
* ``libc6-dev``
|
|
39
|
-
* ``http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb``
|
|
40
|
-
* ``http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_amd64.deb``
|
|
41
|
-
|
|
42
|
-
These are required on Ubuntu 20.04:
|
|
43
|
-
* ``libcairo2-dev``
|
|
44
|
-
* ``libjpeg8-dev``
|
|
45
|
-
* ``libpango1.0-dev``
|
|
46
|
-
* ``libgif-dev``
|
|
47
|
-
* ``build-essential``
|
|
48
|
-
* ``g++``
|
|
49
|
-
* ``xvfb``
|
|
50
|
-
* ``libgles2-mesa-dev``
|
|
51
|
-
* ``libgbm-dev``
|
|
52
|
-
* ``libxxf86vm-dev``
|
|
53
|
-
|
|
54
|
-
``tileserver-gl-light`` on npm
|
|
55
|
-
==============================
|
|
56
|
-
|
|
57
|
-
Alternatively, you can use ``tileserver-gl-light`` package instead, which is pure javascript (does not have any native dependencies) and can run anywhere, but does not contain rasterization features.
|
|
24
|
+
- Ubuntu 22.04 (x64/arm64)
|
|
25
|
+
- macOS 12 (x64/arm64)
|
|
26
|
+
- Windows (x64)
|
|
58
27
|
|
|
28
|
+
- Node.js 18,20
|
|
29
|
+
|
|
30
|
+
Install globally from npmjs.
|
|
31
|
+
------------------------------
|
|
32
|
+
::
|
|
59
33
|
|
|
60
|
-
|
|
61
|
-
|
|
34
|
+
npm install -g tileserver-gl
|
|
35
|
+
tileserver-gl
|
|
62
36
|
|
|
63
|
-
|
|
37
|
+
Install locally from source
|
|
38
|
+
-------------------
|
|
39
|
+
::
|
|
64
40
|
|
|
41
|
+
git clone https://github.com/maptiler/tileserver-gl.git
|
|
42
|
+
cd tileserver-gl
|
|
65
43
|
npm install
|
|
66
44
|
node .
|
|
67
45
|
|
|
46
|
+
Native dependencies
|
|
47
|
+
-------------------
|
|
68
48
|
|
|
69
|
-
|
|
70
|
-
|
|
49
|
+
Ubuntu 22.04 (x64/arm64)
|
|
50
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
51
|
+
- apt install build-essential pkg-config xvfb libglfw3-dev libuv1-dev libjpeg-turbo8 libicu70 libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev gir1.2-rsvg-2.0 librsvg2-2 librsvg2-common libcurl4-openssl-dev libpixman-1-dev libpixman-1-0
|
|
71
52
|
|
|
72
|
-
|
|
53
|
+
MacOS 12 (x64/arm64)
|
|
54
|
+
~~~~~~~~~~~~~~~~~~~~~~
|
|
55
|
+
- brew install pkg-config cairo libpng jpeg giflib
|
|
73
56
|
|
|
74
|
-
|
|
57
|
+
Windows (x64)
|
|
58
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
59
|
+
- `Microsoft Visual C++ 2015-2022 Redistributable <https://aka.ms/vs/17/release/vc_redist.x64.exe>`_
|
|
75
60
|
|
|
61
|
+
``tileserver-gl-light`` on npm
|
|
62
|
+
==============================
|
|
76
63
|
|
|
77
|
-
|
|
64
|
+
Alternatively, you can use ``tileserver-gl-light`` package instead, which is pure javascript (does not have any native dependencies) and can run anywhere, but does not contain rasterization features.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tileserver-gl-light",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Map tile server for JSON GL styles - serving vector tiles",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": "src/main.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@maplibre/maplibre-gl-style-spec": "18.0.0",
|
|
26
26
|
"@sindresorhus/fnv1a": "3.1.0",
|
|
27
27
|
"advanced-pool": "0.3.3",
|
|
28
|
-
"axios": "^1.6.
|
|
28
|
+
"axios": "^1.6.5",
|
|
29
29
|
"chokidar": "3.5.3",
|
|
30
30
|
"clone": "2.1.2",
|
|
31
31
|
"color": "4.2.3",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"morgan": "1.10.0",
|
|
38
38
|
"pbf": "3.2.1",
|
|
39
39
|
"pmtiles": "2.11.0",
|
|
40
|
-
"proj4": "2.
|
|
40
|
+
"proj4": "2.10.0",
|
|
41
41
|
"sanitize-filename": "1.6.3",
|
|
42
42
|
"tileserver-gl-styles": "2.0.0"
|
|
43
43
|
},
|