Andrew Calcutt
df8861d2a3
fix: undefined tileinfo error
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:58 -04:00
Andrew Calcutt
553f58271e
fix: race condition
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:58 -04:00
Andrew Calcutt
a9b5db234f
fix: remove fflate , use zlib like other files
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:58 -04:00
Andrew Calcutt
ee49ad05b8
fix: too many open files
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
08b3a943a6
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
371e757e5b
fix: add missing semicolon
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
8e6fac11a2
fix: remove unused variable
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
2c54da134e
fix: make stat variable name more consistent
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
d78812d449
fix: simplify other replace
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:57 -04:00
Andrew Calcutt
c4bdf199a7
fix: simplify replace
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:56 -04:00
Andrew Calcutt
18b261c4ad
fix: simplify input file loading
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:56 -04:00
Andrew Calcutt
9cebc4459c
fix: remove unused variables
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:56 -04:00
Andrew Calcutt
93d91b35b9
fix: put back default windows support
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:55 -04:00
Andrew Calcutt
4229a0cb04
fix: bounds and center breaking index image
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:55 -04:00
Andrew Calcutt
1b2b79113b
chore: remove unneeded console.logs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
85290024a9
feat: get maplibre-native to render a png tile
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
b2733e2107
chore: remove unused class
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
07b0f8b306
fix: put back linux order of sharp and canvas
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
c0b30d13be
chore: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
250c38bc98
chore: update package.lock
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:54 -04:00
Andrew Calcutt
c295ae4b6a
feat: add --file option to replace mbtiles
...
Get mbtiles load working again
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:53 -04:00
Andrew Calcutt
9e76cc4a5e
fix: bounds and centerzoom
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:53 -04:00
Andrew Calcutt
4772f0efdc
feat: move pmtiles to it's own file
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:53 -04:00
Andrew Calcutt
ca51104ece
feat: get vector tiles to serve
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:53 -04:00
Andrew Calcutt
61f3306a2d
fix: format, bounds, center
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:53 -04:00
Andrew Calcutt
f7582ba822
feat: move bounds, center, minzoom, maxzoom
...
move into metadata
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:52 -04:00
Andrew Calcutt
47a0c09fd2
feat: read only bytes needed for header and metadata
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:51 -04:00
Andrew Calcutt
f38ba7fe2a
feat: add BufferToArrayBuffer function
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:51 -04:00
Andrew Calcutt
1984c143ac
Revert "feat: failed attempt to load big files"
...
This reverts commit 727187bd7a2327c9df0b62bbf04cfc523554996f.
2023-10-11 13:17:51 -04:00
Andrew Calcutt
b1488c65bc
feat: failed attempt to load big files
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:50 -04:00
Andrew Calcutt
3df423e55f
feat: generate tilejson from pmtiles
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:49 -04:00
Andrew Calcutt
8031f94ca4
feat: move pmtiles reading to utils
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:49 -04:00
Andrew Calcutt
ccd1dbf343
feat: try to read pmtiles file
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 13:17:49 -04:00
Craig Kochis
d4a5cc6074
Add support for stylized attribution text for static images ( #1005 )
...
* add support for stylized attribution text for static images
* restrict to static opt_mode
* adjust sizes
* chore: fix lint
Signed-off-by: Craig Kochis <cjkochis@gmail.com>
* chore: rename to staticAttributionText
Signed-off-by: Craig Kochis <cjkochis@gmail.com>
* chore: update docs
Signed-off-by: Craig Kochis <cjkochis@gmail.com>
* chore: add staticAttributionText to example config, and run lint
Signed-off-by: Craig Kochis <cjkochis@gmail.com>
---------
Signed-off-by: Craig Kochis <cjkochis@gmail.com>
2023-10-07 20:30:47 -04:00
dependabot[bot]
816ed29a0f
chore(deps-dev): Bump eslint from 8.50.0 to 8.51.0 ( #1008 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.50.0 to 8.51.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2023-10-06 22:29:39 +00:00
dependabot[bot]
592beaab29
chore(deps-dev): Bump @commitlint/cli from 17.7.1 to 17.7.2 ( #1001 )
...
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli ) from 17.7.1 to 17.7.2.
- [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/v17.7.2/@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>
2023-09-28 23:08:02 +00:00
dependabot[bot]
5e666758d6
chore(deps-dev): Bump chai from 4.3.9 to 4.3.10 ( #1000 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 4.3.9 to 4.3.10.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10 )
---
updated-dependencies:
- dependency-name: chai
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>
2023-09-28 22:56:02 +00:00
dependabot[bot]
1b97491739
chore(deps-dev): Bump chai from 4.3.8 to 4.3.9 ( #998 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9 )
---
updated-dependencies:
- dependency-name: chai
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>
2023-09-27 22:31:59 +00:00
Andrew Calcutt
55c21459f2
docs: reformat path docs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 02:18:34 -04:00
Andrew Calcutt
75d439fe85
docs: reformat path docs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 02:08:03 -04:00
Andrew Calcutt
18f76d3b2d
docs: try to fix link
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 01:18:26 -04:00
Andrew Calcutt
e71710d850
docs: try to fix formatting
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 01:14:48 -04:00
Andrew Calcutt
4ad9cbc645
docs: try to fix formatting
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 01:12:07 -04:00
Andrew Calcutt
5add97b9c0
docs: try to fix formatting
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 01:08:36 -04:00
Andrew Calcutt
0a8c98681c
fix: try to get readthedocs working
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 01:00:45 -04:00
Andrew Calcutt
bd997ff135
fix: add new readthedocs config file
...
needed for documentation to update
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 00:50:01 -04:00
Andrew Calcutt
02ea9f2dbd
v4.5.1
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 00:17:06 -04:00
Andrew Calcutt
7e246d0cd1
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-27 00:16:54 -04:00
Robin
d759dd2952
fix: incorrect polyline decoding ( #993 )
...
* fix: incorrect polyline decoding
Don't split static image encoded path on pipe or comma
Signed-off-by: boldtrn <boldtrn@gmail.com>
* fix: still allow other parameters other than enc:
That way we can still style individual paths
Signed-off-by: boldtrn <boldtrn@gmail.com>
* chore: lint
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
* chore: lint + comment
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
* docs: try to clarify path information
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
* fix: stroke color not working unless path is specified
i found this issue testing encoded paths. If width is not specifed, stroke color does not work
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
* docs: show different options
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
---------
Signed-off-by: boldtrn <boldtrn@gmail.com>
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-09-26 23:53:16 -04:00
Robin
c13e5e6821
fix: don't crash the server on processing issues ( #994 )
...
* fix: don't crash the server on processing issues
Use a try/catch for async functions
Signed-off-by: boldtrn <boldtrn@gmail.com>
* chore: run lint
Signed-off-by: boldtrn <boldtrn@gmail.com>
---------
Signed-off-by: boldtrn <boldtrn@gmail.com>
2023-09-26 09:41:29 -04:00