「Creating a new GRASS LOCATION」の版間の差分

提供: OSGeo.JP Wiki
移動: 案内検索
(ページの作成: <H3> Creating a new GRASS LOCATION </H3> <P> As an an example you find the instructions how the sample GRASS LOCATION alaska, which is projected in Albers Equal Area projection …)
 
(ページの置換: '--~~~~このページは削除予定です。')
 
行1: 行1:
<H3>
+
--[[利用者:Sanak|Sanak]] 2009年10月4日 () 13:15 (UTC)このページは削除予定です。
Creating a new GRASS LOCATION
+
</H3>
+
 
+
<P>
+
As an an example you find the instructions how the sample GRASS
+
LOCATION alaska, which is projected in Albers Equal Area
+
projection with unit feet was created for the QGIS sample dataset. This
+
sample GRASS LOCATION alaska will be used for all examples and
+
exercises in the following GRASS GIS related chapters. It is useful to
+
download and install the dataset on your computer [[#label_sampledata]]">>).
+
 
+
<P>
+
 
+
<DIV ALIGN="CENTER"><A NAME="fig:create_grass_location"></A><A NAME="107"></A>
+
<TABLE>
+
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
+
Creating a new GRASS LOCATION or a new MAPSET in QGIS </CAPTION>
+
<TR><TD>
+
<DIV ALIGN="CENTER">
+
</DIV>
+
<P></P>
+
<DIV ALIGN="CENTER">[clip=true, width=10cm]create_grass_location
+
 
+
</DIV></TD></TR>
+
</TABLE>
+
</DIV>
+
 
+
<P>
+
 
+
<OL>
+
<LI>Start QGIS and make sure the GRASS plugin is loaded
+
</LI>
+
<LI>Visualize the alaska.shp Shapefile (see Section
+
[[#sec:load_shapefile]]) from the QGIS alaska dataset&nbsp;[[#label_sampledata]].
+
</LI>
+
<LI>In the GRASS toolbar, click on the grass_open_mapsetOpen
+
    mapset icon to bring up the MAPSET wizard.
+
</LI>
+
<LI>Select an existing GRASS database (GISDBASE) folder
+
  grassdata or create one for the new LOCATION using a
+
  file manager on your computer. Then click Next.
+
</LI>
+
<LI>We can use this wizard to create a new MAPSET within an
+
  existing LOCATION (see Section&nbsp;[[node6.html#sec:add_mapset|9.3.2]]) or to create
+
  a new LOCATION altogether. Click on the radio button
+
  Create new location (see Figure [[#fig:create_grass_location|28]]).
+
</LI>
+
<LI>Enter a name for the LOCATION - we used alaska and click
+
  Next
+
</LI>
+
<LI>Define the projection by clicking on the radio button
+
  Projection to enable the projection list
+
</LI>
+
<LI>We are using Albers Equal Area Alaska (feet) projection. Since we
+
  happen to know that it is represented by the EPSG ID 2964, we enter it in
+
  the search box. (Note: If you want to repeat this process for another
+
  LOCATION and projection and haven't memorized the EPSG ID,
+
  click on the
+
  mIconProjectionEnabledprojector icon in the lower right-hand
+
  corner of the status bar (see Section [[#label_projstart]]).
+
</LI>
+
<LI>Click Find to select the projection
+
</LI>
+
<LI>Click Next
+
</LI>
+
<LI>To define the default region, we have to enter the LOCATION
+
  bounds in north, south, east, and west direction. Here we simply click on
+
  the button Set current QGIS extent, to apply the extend of the
+
  loaded layer alaska.shp as the GRASS default region extend.
+
</LI>
+
<LI>Click Next
+
</LI>
+
<LI>We also need to define a MAPSET within our new
+
  LOCATION. You can name it whatever you like - we used demo.
+
[[footnode.html#foot487]]
+
</LI>
+
<LI>Check out the summary to make sure it's correct and click
+
  Finish
+
</LI>
+
<LI>The new LOCATION alaska and two MAPSETs demo
+
  and PERMANENT are created. The currently opened working set is
+
  MAPSET demo, as you defined.
+
</LI>
+
<LI>Notice that some of the tools in the GRASS toolbar that were
+
  disabled are now enabled.
+
</LI>
+
</OL>
+
 
+
<P>
+
If that seemed like a lot of steps, it's really not all that bad and a very
+
quick way to create a LOCATION. The LOCATION alaska is
+
now ready for data import (see Section [[node7.html#sec:import_loc_data|9.4]]).
+
You can also use the already existing vector and raster data in the sample
+
GRASS LOCATION alaska included in the QGIS alaska dataset
+
[[#label_sampledata]] and move on to Section [[node8.html#label_vectmodel|9.5]].
+
 
+
<P>
+

2009年10月4日 (日) 22:15時点における最新版

--Sanak 2009年10月4日 (日) 13:15 (UTC)このページは削除予定です。