unvt / charites

It is an application to style vector tiles easily
https://unvt.github.io/charites/
MIT License
51 stars 13 forks source link

fix bug of metadata.json import #37

Closed JinIgarashi closed 2 years ago

JinIgarashi commented 2 years ago

Sorry, I mistook implementation of charites init --metadatajson-urls

When charites import from metadata.json, currently same url of metadata.json will be inserted into style.yml.

https://github.com/unvt/charites/blob/6999323fc21bb82c1f433c33acfa4cb2f3c75176/test/data/init/init_metadata.yml#L9

We have to change URL with zoom and x index and y index.

- https://optgeo.github.io/kokoromi-rw/zxy/metadata.json
+ https://optgeo.github.io/kokoromi-rw/zxy/{z}/{x}/{y}.pbf