Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style.json が Style Specification に従っていない #2

Closed
frogcat opened this issue Aug 1, 2019 · 2 comments
Closed

style.json が Style Specification に従っていない #2

frogcat opened this issue Aug 1, 2019 · 2 comments

Comments

@frogcat
Copy link

frogcat commented Aug 1, 2019

style.json について以下の説明があり、リンク先として https://docs.mapbox.com/mapbox-gl-js/style-spec/ が指定されています。

地図のデザインを規定しているファイル。Style Specificationに従って記述されています。

Style Specification では少なくともルートオブジェクトのプロパティとして version sources layers が必須とされているのですが、 https://maps.gsi.go.jp/vector/data/std.json を始めとした各 style.json ファイルには version sources layers といったキーワードは含まれておらず、とくに Style Specification に準拠していないように思われます。

説明の誤りでしょうか?(実際はなんらかの独自仕様に従っている?)

@johofukyu
Copy link
Member

国土地理院の地理院地図担当です。

style.jsonは、Style Specificationをベースとしておりますが、若干の拡張を施しています。
説明に誤りがあり申し訳ありません。

なお、拡張を施した理由は、建物をハッチで塗りつぶしたり、地物の複雑な上下関係を表したりするためには、Style Specificationそのままでは機能が不足していたからです。

@frogcat
Copy link
Author

frogcat commented Aug 2, 2019

回答ありがとうございます&状況理解できました。
以下で修正も確認できましたので本件クローズさせていただきます。
1645d27

@frogcat frogcat closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants