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

未定義の layers.txt について仕様を明確化します #6

Open
usagi opened this issue Sep 11, 2020 · 2 comments
Open

未定義の layers.txt について仕様を明確化します #6

usagi opened this issue Sep 11, 2020 · 2 comments

Comments

@usagi
Copy link

usagi commented Sep 11, 2020

問題の位置

↑ gsimaps 実装の layers_txt/layers.txt です。

問題の内容

  • ↑で示した gsimaps 実装の layers_txt/layers.txt は layers-dot-txt-spec の仕様で規定されていない未定義の構造です。

期待される解決方法

  1. この layers.txt の仕様を明確に定義し https://github.com/gsi-cyberjapan/layers-dot-txt-spec/blob/master/specifications.md に記述を追加します。
  2. (or) gsimaps 側で layers.txt を現在の仕様にあわせる修正を行います。

Related: gsi-cyberjapan/gsimaps#101

@johofukyu
Copy link
Member

ご指摘ありがとうございます。

紛らわしいファイル名で大変恐縮ですが、「layers_txt」ディレクトリ直下にある「layers.txt」は、本レポジトリでいうウェブ地図レイヤ定義ファイルではありません。

適用範囲」の項に、「なお、地理院地図のソースプログラムにおける「/layers_txt/layers.txt」は、本仕様で定めるlayers.txtには含めない」と追記させていただきます。

よろしくお願いいたします。

@usagi
Copy link
Author

usagi commented Sep 23, 2020

この仕様の事実上の公式の実装がgsimapsしかないので現実の開発者の混乱を避ける効果としてはそれでよいのかもしれないですね。理想としては 「"本レポジトリでいうウェブ地図レイヤ定義ファイル"として扱う対象」 の方を仕様で明確かつ個別具体の実装を仕様側からは触れない綺麗な定義ができればより美しいとは思いますが、現実の問題を回避でき、現実的な対応コストで現行よりよい仕様になればさしあたりはよいのだろうと思います。

johofukyu added a commit that referenced this issue Sep 25, 2020
issue #6, #7 を反映。
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