GRASS LOCATIONのインポートのソースを表示
提供: OSGeo.JP Wiki
←
GRASS LOCATIONのインポート
移動:
案内
、
検索
あなたには「このページの編集」を行う権限はありません。理由は以下の通りです:
この操作は、以下のグループに属する利用者のみが実行できます:
登録利用者
。
ページの編集を始める前にメールアドレスの確認をする必要があります。
個人設定
でメールアドレスを設定し、確認を行ってください。
このページのソースの閲覧やコピーができます:
<H2> Importing data into a GRASS LOCATION </H2> <P> This Section gives an example how to import raster and vector data into the alaska GRASS LOCATION provided by the QGIS alaska dataset. Therefore we use a landcover raster map landcover.img and a vector GML File lakes.gml from the QGIS alaska dataset [[#label_sampledata]]</A>. <P> <OL> <LI>Start QGIS and make sure the GRASS plugin is loaded. </LI> <LI>In the GRASS toolbar, click the grass_open_mapsetOpen MAPSET icon to bring up the MAPSET wizard. </LI> <LI>Select as GRASS database the folder grassdata in the QGIS alaska dataset, as LOCATION alaska, as MAPSET demo and click OK. </LI> <LI>Now click the grass_toolsOpen GRASS tools icon. The GRASS Toolbox (see Section [[node12.html#subsec:grass_toolbox|9.9]]) dialog appears. </LI> <LI>To import the raster map landcover.img, click the module r.in.gdal in the Modules Tree tab. This GRASS module allows to import GDAL supported raster files into a GRASS LOCATION. The module dialog for r.in.gdal appears. </LI> <LI>Browse to the folder raster in the QGIS alaska dataset and select the file landcover.img. </LI> <LI>As raster output name define landcover_grass and click Run. In the Output tab you see the currently running GRASS command r.in.gdal -o input=/path/to/landcover.img output=landcover_grass. </LI> <LI>When it says <SPAN CLASS="textbf">Succesfully finished</SPAN> click View output. The landcover_grass raster layer is now imported into GRASS and will be visualized in the QGIS canvas. </LI> <LI>To import the vector GML file lakes.gml, click the module v.in.ogr in the Modules Tree tab. This GRASS module allows to import OGR supported vector files into a GRASS LOCATION. The module dialog for v.in.ogr appears. </LI> <LI>Browse to the folder gml in the QGIS alaska dataset and select the file lakes.gml as OGR file. </LI> <LI>As vector output name define lakes_grass and click Run. You don't have to care about the other options in this example. In the Output tab you see the currently running GRASS command v.in.ogr -o dsn=/path/to/lakes.gml output=lakes_grass. </LI> <LI>When it says <SPAN CLASS="textbf">Succesfully finished</SPAN> click View output. The lakes_grass vector layer is now imported into GRASS and will be visualized in the QGIS canvas. </LI> </OL> <P>
GRASS LOCATIONのインポート
に戻る。
案内メニュー
表示
ページ
議論
ソースを表示
履歴
個人用ツール
アカウント作成
ログイン
案内
メインページ
最近の更新
おまかせ表示
ヘルプ
検索
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報