「カスタム空間参照システム」の版間の差分

提供: OSGeo.JP Wiki
移動: 案内検索
(ページの作成: <H2> Custom Coordinate Reference System </H2> <P> If QGIS does not provide the coordinate reference system you need, you can define a custom CRS. To define a CRS, select mIconNe…)
 
 
行1: 行1:
<H2>
+
QGISが使用しなければならないCRSを提供していない場合は、カスタムCRSを定義できます。
Custom Coordinate Reference System
+
CRSを定義するには、{{Template:MainMenuOpt|編集}}(Gnome, OSX)または{{Template:MainMenuOpt|設定}}(KDE,Windows)メニューから
</H2>
+
{{Template:DropMenuOptTwo|mIconNew|Custom CRS}}を選択します。
 +
カスタムCRSはQGISのユーザデータベースに格納されます。
 +
また、このデータベースには、カスタムCRSだけでなく、空間ブックマークと他のカスタムデータが格納されます。
  
<P>
+
図24 : カスタムCRSダイアログ
If QGIS does not provide the coordinate reference system you need, you
+
can define a custom CRS. To define a CRS, select
+
mIconNewCustom CRS from the Edit
+
(Gnome, OSX) or Settings (KDE, Windows) menu.
+
Custom CRS are stored in your QGIS user database. In addition to your custom
+
CRS, this database also contains your spatial bookmarks and other custom data.
+
  
<P>
 
  
<DIV ALIGN="CENTER"><A NAME="fig:customprojections"></A><A NAME="96"></A>
+
QGISでカスタムCRSを定義する際には、投影変換ライブラリであるProj4を十分に理解する必要があります。
<TABLE>
+
はじめに、
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
+
the Cartographic Projection Procedures
Custom CRS Dialog </CAPTION>
+
for the UNIX Environment - A User's Manual by Gerald I. Evenden, U.S.
<TR><TD>
+
Geological Survey Open-File Report 90-284, 1990 (available at ftp://ftp.remotesensing.org/proj/OF90-284.pdf)
<DIV ALIGN="CENTER">
+
を参照してください。
</DIV>
+
このマニュアルには、Proj4と関連コマンドラインユーティリティの使用法が記述されています。
<P></P>
+
Proj4で使われる地図作成パラメータは、このマニュアルに記載されていて、QGISで使われるものと同じです。
<DIV ALIGN="CENTER">  [clip=true, width=12cm]customProjectionDialog
+
  
</DIV></TD></TR>
+
{{Template:Dialog|Custom Coordinate Reference System Definition}}ダイアログでは、CRS定義のためのパラメータが二つだけ必要です。
</TABLE>
+
</DIV>
+
 
+
<P>
+
Defining a custom CRS in QGIS requires a good understanding of the Proj.4
+
projection library. To begin, refer to the Cartographic Projection Procedures
+
for the UNIX Environment - A User's Manual by Gerald I. Evenden, U.S.
+
Geological Survey Open-File Report 90-284, 1990 (available at ftp://ftp.remotesensing.org/proj/OF90-284.pdf).
+
This manual describes the use of the proj.4 and related command line
+
utilities. The cartographic parameters used with proj.4 are
+
described in the user manual, and are the same as those used by QGIS.
+
  
<P>
+
# 名称
The Custom Coordinate Reference System Definition dialog requires
+
# (Proj4書式による地図作成)パラメータ
only two parameters to define a user CRS:
+
  
<OL>
+
新しいCRSを作成するには、
<LI>a descriptive name and
+
{{Template:ToolBtnTwo|mIconNew|新規}}ボタンをクリックして、
</LI>
+
名称とCRSパラメータを入力します。
<LI>the cartographic parameters in PROJ.4 format.
+
その後、{{Template:ToolBtnTwo| mActionFileSave|保存}}ボタンをクリックしてCRSを保存します。
</LI>
+
</OL>
+
To create a new CRS, click the mIconNewNew button and enter a
+
descriptive name and the CRS parameters. After that you can save your CRS by
+
clicking the button mActionFileSaveSave.
+
  
<P>
+
新しいCRSを表現するには、
Note that the Parameters must begin with a +proj=-block,
+
パラメータは +proj= ブロックで始まらなければならないことに注意して下さい。
to represent the new coordinate reference system.
+
  
<P>
+
「テスト」ブロック内の{{Template:Button|計算}}ボタンをクリックし、CRSパラメータをParametersフィールドにペーストして、
You can test your CRS parameters to see if they give sane results by
+
まともな結果が得られるかを見ることで、CRSパラメータをテストできます。
clicking on the Calculate button inside the Test block
+
知っているWGS84緯度経度の値をNorth、Eastフィールドにそれぞれ入力します。
and pasting your CRS parameters into
+
{{Template:Button|計算}}をクリックして、出てきた結果と、定義したCRSでの知っている値とを比較します。
the Parameters field. Then enter known WGS 84 latitude and longitude
+
values in North and East fields respectively.
+
Click on Calculate and compare the results with the known values in
+
your coordinate reference system.
+

2009年9月25日 (金) 01:08時点における最新版

QGISが使用しなければならないCRSを提供していない場合は、カスタムCRSを定義できます。 CRSを定義するには、編集(Gnome, OSX)または設定(KDE,Windows)メニューから MIconNew.png Custom CRSを選択します。 カスタムCRSはQGISのユーザデータベースに格納されます。 また、このデータベースには、カスタムCRSだけでなく、空間ブックマークと他のカスタムデータが格納されます。

図24 : カスタムCRSダイアログ


QGISでカスタムCRSを定義する際には、投影変換ライブラリであるProj4を十分に理解する必要があります。 はじめに、 the Cartographic Projection Procedures for the UNIX Environment - A User's Manual by Gerald I. Evenden, U.S. Geological Survey Open-File Report 90-284, 1990 (available at ftp://ftp.remotesensing.org/proj/OF90-284.pdf) を参照してください。 このマニュアルには、Proj4と関連コマンドラインユーティリティの使用法が記述されています。 Proj4で使われる地図作成パラメータは、このマニュアルに記載されていて、QGISで使われるものと同じです。

Custom Coordinate Reference System Definitionダイアログでは、CRS定義のためのパラメータが二つだけ必要です。

  1. 名称
  2. (Proj4書式による地図作成)パラメータ

新しいCRSを作成するには、 MIconNew.png 新規ボタンをクリックして、 名称とCRSパラメータを入力します。 その後、MActionFileSave.png 保存ボタンをクリックしてCRSを保存します。

新しいCRSを表現するには、 パラメータは +proj= ブロックで始まらなければならないことに注意して下さい。

「テスト」ブロック内の計算ボタンをクリックし、CRSパラメータをParametersフィールドにペーストして、 まともな結果が得られるかを見ることで、CRSパラメータをテストできます。 知っているWGS84緯度経度の値をNorth、Eastフィールドにそれぞれ入力します。 計算をクリックして、出てきた結果と、定義したCRSでの知っている値とを比較します。