[OSGeoJapan-discuss] QGISのプロジェクト座標系の設定について

Even Rouault even.rouault @ spatialys.com
2025年 1月 9日 (木) 18:45:43 PST


吉中さん、

(英語から Google Translate で翻訳。英語のオリジナルメッセージは後ほど)

QGIS は、座標変換を実行するために PROJ ソフトウェア ライブラリ 
(https://proj.org) に依存しています (私は PROJ 開発者の 1 人です)。PROJ 
ソフトウェア ライブラリは、座標参照システムと座標操作に EPSG データベース 
(https://epsg.org) を使用し、測地基準点間の変換を参照します。JGD2000 から 
JGD2011 への特定のケースでは、EPSG 
データベースには、touhokutaiheiyouoki2011.gsb というグリッド 
ファイルを参照するレコード 
(https://epsg.org/transformation_6713/JGD2000-to-JGD2011-1.html) 
があります。残念ながら、このグリッド ファイルは、PROJ 
が使用できると認識しているグリッド ファイルのコレクションである PROJ データ 
リポジトリ (https://github.com/OSGeo/PROJ-data/) にまだ含まれていません。 
EPSG データセットは、グリッド 
ファイルの名前のみを示しており、ダウンロード元は示していません。また、ダウンロード元がわかっていても、ファイルのライセンスが適切でない可能性があります。そのため、そのグリッドがないと、PROJ、ひいては 
QGIS は、その場合座標操作を実行できません。PROJ データ 
データベースでグリッドが参照されていない場合、警告は発行されません。これは、グリッド 
ファイルを見つける実用的な方法がない場合 (アクセス制限、有料コンテンツなど) 
があるため、ダウンロードできないファイルに関する警告を発すると、ユーザーを困らせるだけだからです。

チケット https://github.com/OSGeo/PROJ-data/issues/36 および 
https://github.com/OSGeo/PROJ-data/pull/37 
では、過去に日本の測地グリッドに関する議論がありましたが、それらを含める上での唯一の障害は、現在のライセンス条件であり、これは明らかにオープン 
データ ライセンスではありません。
とはいえ、https://github.com/tohka/JapanGridShift リポジトリの 
https://github.com/tohka/JapanGridShift/raw/refs/heads/master/gsb_files/touhokutaiheiyouoki2011.gsb 
にグリッド ファイルがあります。これをダウンロードして QGIS 
インストールの「proj」サブディレクトリにインストールすると、jp_gsi_gsigeo2011.tif 
(2011 ジオイド ファイルのライセンスを取得するための 1 
回限りの成功した取り組みの結果) などの他のグリッド 
ファイルも見つかります。そうすれば、JGD2000 から JGD2011 
への変換は問題なく機能するはずです。
日本のコミュニティが国土地理院 (GSI) 
と協力してこれらのライセンス問題を解決できれば素晴らしいと思います。理想的には、これらのグリッドは、何らかの申請を必要とする「互換ライセンス」ではなく、クリエイティブ 
コモンズ アトリビューション 4.0 (CC-BY-4.0) 
の条件に基づいてライセンスされることを望みます。

フランスより、よろしくお願いいたします。

Even



English version:


Yosinaka-san,

QGIS relies on the PROJ software library (https://proj.org) to perform 
coordinate transformation (I'm one of the PROJ developers). The PROJ 
software library uses the EPSG database (https://epsg.org) for 
coordinate reference system and coordinate operation, which reference 
transformations between geodetic datums. For the particular case of 
JGD2000 to JGD2011, the EPSG database has a record 
(https://epsg.org/transformation_6713/JGD2000-to-JGD2011-1.html) which 
references a grid file called touhokutaiheiyouoki2011.gsb . 
Unfortunately this grid file is not yet included into the PROJ-data 
repository (https://github.com/OSGeo/PROJ-data/), which is the 
collection of grid files PROJ knows it can use. The EPSG dataset just 
gives the names of the grid files, not where to download them from. And 
even when the location where to download them from is known, the file 
might not be appropriately licensed. So without that grid, PROJ, and 
thus QGIS, cannot perform the coordinate operation in that case. They 
don't issue a warning when a grid is not referenced in the PROJ-data 
database, because, in some cases there is no practical way to find the 
grid file (restricted access, paywalls, etc.), so emitting warnings 
about files that cannot be downloaded would just annoy users.
In ticket https://github.com/OSGeo/PROJ-data/issues/36 and 
https://github.com/OSGeo/PROJ-data/pull/37, we had a discussion in past 
years about that topic of Japanese geodetic grids, and the only obstacle 
for their inclusion is their current licensing terms, which are not 
clearly an open data license.
That said, in the https://github.com/tohka/JapanGridShift repository, 
you can find the grid file at 
https://github.com/tohka/JapanGridShift/raw/refs/heads/master/gsb_files/touhokutaiheiyouoki2011.gsb 
. If you download it and install it in your QGIS installation in the 
"proj" sub-directory, where you can find other grid files such as 
jp_gsi_gsigeo2011.tif (which was the result of a one-time successful 
effort to get a license for the 2011 geoid file), then the JGD2000 to 
JGD2011 transformation should work fine.
It would be great if the Japanese community managed to resolve with 
Geospatial Information Authority of Japan (GSI) those licensing issues. 
Ideally we would want those grids to be licensed under the Creative 
Commons Attribution 4.0 (CC-BY-4.0) terms, and not a "compatible 
license" with it which requires to fill some application.

Best regards from France,

Even



Le 10/01/2025 à 03:01, yosinaka teruhiko (OSGeoJapan-discuss 経由) a écrit :
> 皆様
> FOSS4G TOKAIで活動させていただいております吉中です。
> 本年もよろしくお願いします。
>
> QGISのプロジェクト座標系の設定についてです。
> 旧日本座標系ファイルとJGD2011の座標系のファイルが混在しているプロジェクトがある場合です。
> 先ほど知り合いが、QGISのプロジェクト座標をJGD2011に設定しているのに、旧日本座標系ファイルとJGD2011座標系ファイルが同じ場所に表示されるのはなんでかという質問が私のところに来ました。
>  「旧日本座標系→JGD2011へは直接変換できない」というのが私の認識であり、プロジェクトをJGD2000で表示させればおそらく解決するということで実施してもらったところ、ちゃんと意図した場所に表示されるようになりました。
>  皆様、旧日本座標系とJGD2011座標系が混在するデータを操るときにどのようにされてますか?
> ①旧日本座標系をJGD2000形式に変換する
> ②QGISのプロジェクト座標をJGD2000で作業する。
> ③その他
> このあたり、正解はないとは思いますが、自分はこうやると便利だと思うというのがあれば、ぜひ教えてもらいたいと思います。
>
> 追伸
> QGISで上記のようにプロジェクト座標系で、座標変換がうまくいかない場合、対応していない場合に「変換ができてない可能性があります」などの警告が出るように設定することはできるのでしょうか?
>
> _________________________________
> 吉中輝彦
> teruhiko @ keroro.keroro.com
> (Gmailの場合は送受信エラーが発生するため、teruhikoyoshi @ outlook.jp 
> までお願いします。)
>
>
> _______________________________________________
> OSGeoJapan-discuss mailing list
> OSGeoJapan-discuss @ lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss

-- 
http://www.spatialys.com
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://lists.osgeo.org/pipermail/osgeojapan-discuss/attachments/20250110/3e7d45fc/attachment-0001.htm>


OSGeoJapan-discuss メーリングリストの案内