Describe the bug
If you run convert in a Windows environment, you will get unwanted single quotes in the layers section.
This will cause the build to fail.
To Reproduce
Steps to reproduce the behavior:
curl https://gsi-cyberjapan.github.io/gsivectortile-mapbox-gl-js/std.json | charites convert - style.yml
charites build style.yml style.json
- See error
Expected behavior
Make the output the same as when you convert in a Linux environment.
Remove the single quotes and it works fine.
Screenshots
convert style.yml
version: 8
glyphs: https://maps.gsi.go.jp/xyz/noto-jp/{fontstack}/{range}.pbf
sources:
gsibv-vectortile-source-1-4-16:
type: vector
tiles:
- https://cyberjapandata.gsi.go.jp/xyz/experimental_bvmap/{z}/{x}/{y}.pbf
minzoom: 4
maxzoom: 16
attribution: >-
<a href="https://maps.gsi.go.jp/vector/"
target="_blank">地理院地図Vector(仮称)</a>
layers:
- '!!inc/file layers\gsibv-vectortile-layer-761.yml'
- '!!inc/file layers\gsibv-vectortile-layer-762.yml'
- '!!inc/file layers\gsibv-vectortile-layer-763.yml'
- '!!inc/file layers\gsibv-vectortile-layer-764.yml'
- '!!inc/file layers\gsibv-vectortile-layer-765.yml'
- '!!inc/file layers\gsibv-vectortile-layer-766.yml'
- '!!inc/file layers\gsibv-vectortile-layer-767.yml'
- '!!inc/file layers\gsibv-vectortile-layer-768.yml'
Charites Version:
Desktop (please complete the following information):
Describe the bug
If you run convert in a Windows environment, you will get unwanted single quotes in the layers section.
This will cause the build to fail.
To Reproduce
Steps to reproduce the behavior:
curl https://gsi-cyberjapan.github.io/gsivectortile-mapbox-gl-js/std.json | charites convert - style.ymlcharites build style.yml style.jsonExpected behavior
Make the output the same as when you convert in a Linux environment.
Remove the single quotes and it works fine.
Screenshots
convert style.yml
Charites Version:
Desktop (please complete the following information):