Commit graph

1219 commits

Author SHA1 Message Date
acalcutt
6fddbae157 merge elevation changes 2025-01-02 18:17:19 -05:00
acalcutt
d5d938b732 add Handling request to verbose logging
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:48:18 -05:00
acalcutt
99afa33e9d move tile fetch and add fix verbose logging
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:48:18 -05:00
acalcutt
d6f7f5e926 simplify server_data
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:48:17 -05:00
acalcutt
576f02eb0b add parseFloadts around zxy
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:52 -05:00
acalcutt
32fd48814c improve sprite path
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:51 -05:00
acalcutt
592e74c303 fix /style/id.json with next('route')
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:50 -05:00
acalcutt
4c6f379f4e cleanup error responses
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:50 -05:00
acalcutt
d98cc3328f add allowedTileSizes and option
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:49 -05:00
acalcutt
40ecf4cf76 Use common app.get for images and static images
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:49 -05:00
acalcutt
c0e14bd145 cleanup utils.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:48 -05:00
acalcutt
08e1d345be Move UV_THREADPOOL_SIZE to main thred
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:48 -05:00
acalcutt
7cbafe8839 Update serve_style.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:47 -05:00
acalcutt
8ea4b50e8f cleanup serve_style
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:47 -05:00
acalcutt
279421c349 cleanup server_data.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:46 -05:00
acalcutt
d52154605a cleanup sever_rendered.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:46 -05:00
acalcutt
b6537b58a0 cleanup serve_font.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:45 -05:00
acalcutt
12b818b724 cleanup server.js
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:45:44 -05:00
acalcutt
c9bc1ec573 try to fix https://github.com/maptiler/tileserver-gl/issues/1411
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:44:47 -05:00
acalcutt
5a883d9db0 first attempt to upgrade express to v5
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:44:46 -05:00
daniel-milemarker
9d222c1dec
feat: add support for x-forward-port header (#1423)
* feat: add support for x-forward-port header

* fix: remove unnecessary port additions

* chore: remove unused dependency
2025-01-02 14:29:53 -05:00
Miko
a2bc9f0cce
Feature: Terrain Preview and simple Elevation Query (#1425)
* add terrain preview and elevation link

* add elevation api for terrain tiles

* add documentation for elevation api

* applied lint:js:fix

* Add `test-docker` for test execution in docker build environment

* Fix too greedy router expression

* Add pmtile support

Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>

* add encoding param to pmtile section

* add map controls

Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>

* remove not needed check

* fix possible float usage in thumbnail url

* update readme for encoding option

* add better link name

---------

Co-authored-by: Miko <miko@none>
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-02 14:03:03 -05:00
dependabot[bot]
93f72c1fe7
fix(deps): bump cross-spawn (#1415)
Bumps  and [cross-spawn](https://github.com/moxystudio/node-cross-spawn). These dependencies needed to be updated together.

Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 07:50:12 +00:00
Samuel
760653901e
feat: add progressive rendering option for static jpeg images (#1397) 2024-10-10 09:56:56 -04:00
dependabot[bot]
6f28feb947
chore(deps-dev): bump @commitlint/config-conventional (#1388)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 19.4.1 to 19.5.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.5.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 22:36:02 +00:00
dependabot[bot]
88ded67053
chore(deps-dev): bump @commitlint/cli from 19.4.1 to 19.5.0 (#1389)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.4.1 to 19.5.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.5.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 22:28:11 +00:00
dependabot[bot]
138c9dcfec
fix(deps): bump proj4 from 2.12.0 to 2.12.1 (#1384)
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/proj4js/proj4js/releases)
- [Changelog](https://github.com/proj4js/proj4js/blob/master/changelog.md)
- [Commits](https://github.com/proj4js/proj4js/compare/2.12.0...v2.12.1)

---
updated-dependencies:
- dependency-name: proj4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 23:05:45 +00:00
dependabot[bot]
6cda7a0b38
chore(deps-dev): bump lint-staged from 15.2.9 to 15.2.10 (#1382)
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.2.9 to 15.2.10.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.2.9...v15.2.10)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 23:08:51 +00:00
Andrew Calcutt
88c61f14b4
Update Maplibre-Native to v6.0.0 release (#1376)
* Update Maplibre-Native to v6.0.0 release

* Update c++ redistributable path

* update macos dependencies which are needed for canvas

* Update c++ redistributable path

* Revert "Update c++ redistributable path"

This reverts commit 7dafebc577.

Put back permalink url
2024-09-02 19:01:59 -04:00
dependabot[bot]
6a34babc07
fix(deps): bump @maplibre/maplibre-gl-native from 5.4.1 to 6.0.0 (#1381)
Bumps [@maplibre/maplibre-gl-native](https://github.com/maplibre/maplibre-native) from 5.4.1 to 6.0.0.
- [Release notes](https://github.com/maplibre/maplibre-native/releases)
- [Changelog](https://github.com/maplibre/maplibre-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maplibre/maplibre-native/compare/node-v5.4.1...ios-v6.0.0)

---
updated-dependencies:
- dependency-name: "@maplibre/maplibre-gl-native"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 23:01:22 +00:00
dependabot[bot]
474103bd55
fix(deps): bump axios from 1.7.6 to 1.7.7 (#1380)
Bumps [axios](https://github.com/axios/axios) from 1.7.6 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.6...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 22:53:49 +00:00
Andrew Calcutt
5a91a2927c
Remove husky (#1378) 2024-09-02 17:38:23 -04:00
Andrew Calcutt
d272e17b55
Fix: Use blank index to make sure 'public/files/' folder exists in npm package (#1377)
* Fix: Use blank index to make sure folder exists in npm package

* update blank index.html

* bump version
2024-09-02 00:10:38 -04:00
Andrew Calcutt
ed2a815110
Fix: Revert unzip path change 2024-09-01 15:17:03 -04:00
Andrew Calcutt
098b18e888
Fix: Revert test chdir from https://github.com/maptiler/tileserver-gl/pull/1326 2024-09-01 15:12:29 -04:00
acalcutt
574374c53d Docs: update file path example to be consistent 2024-09-01 14:47:21 -04:00
acalcutt
3745af969c Docs: use actual marker filename 2024-09-01 14:46:20 -04:00
acalcutt
5757859952 v4.13.2 2024-09-01 14:38:33 -04:00
acalcutt
5eb98f0bee Fix: Remove unneeded paths from main.js 2024-09-01 14:36:30 -04:00
acalcutt
18b4b0d6fc Fix: specified path for icons does not exist
Signed-off-by: acalcutt <acalcutt@techidiots.net>
2024-09-01 11:05:35 -04:00
acalcutt
5bfe8c7d3a Fix: specified path for icons does not exist 2024-09-01 10:29:02 -04:00
Miko
44cf365d65
Allow handling of local GeoJSON files #1324 (#1326)
* handle local geojson files in styles and rendered tiles
- use 'file://' as indicator for local files
- add  directory as default directory
- serve local files at
- add documentation for static file serving
- add some minor fixes (icon directory, directory checking, decodeURIComponent, extend error message)

* Update .gitignore

---------

Co-authored-by: Miko <miko@home-laptop.fritz.box>
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
2024-08-31 22:56:36 -04:00
acalcutt
e0be79b09d v4.13.1 2024-08-31 15:13:00 -04:00
dependabot[bot]
9f7819daea
fix(deps): bump axios from 1.7.5 to 1.7.6 (#1375)
Bumps [axios](https://github.com/axios/axios) from 1.7.5 to 1.7.6.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.5...v1.7.6)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 22:41:05 +00:00
dependabot[bot]
d506f22fb3
chore(deps-dev): bump @commitlint/cli from 19.4.0 to 19.4.1 (#1374)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.4.0 to 19.4.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.4.1/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 23:02:58 +00:00
dependabot[bot]
16482c5f1e
chore(deps-dev): bump @commitlint/config-conventional (#1373)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 19.2.2 to 19.4.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.4.1/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 22:55:03 +00:00
Aarni Koskela
664afe62f4
refactor: add promisified wrapper for MBTiles (#1321)
Signed-off-by: Aarni Koskela <akx@iki.fi>
2024-08-28 11:52:07 -04:00
acalcutt
00d9189ae5 v4.13.0 2024-08-27 18:52:54 -04:00
acalcutt
82099e5029 Update maplibre-gl-js to v4.6.0 2024-08-27 18:52:22 -04:00
dependabot[bot]
1a9ce46be2
fix(deps): bump @jsse/pbfont from 0.2.1 to 0.2.2 (#1372)
Bumps [@jsse/pbfont](https://github.com/jessekrubin/pbfont) from 0.2.1 to 0.2.2.
- [Changelog](https://github.com/jessekrubin/pbfont/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jessekrubin/pbfont/commits)

---
updated-dependencies:
- dependency-name: "@jsse/pbfont"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 22:24:34 +00:00