|
|
行1: |
行1: |
− | <H2>
| + | --[[利用者:Sanak|Sanak]] 2009年10月4日 (日) 13:19 (UTC)このページは削除予定です。 |
− | Digitizing and editing a GRASS vector layer
| + | |
− | </H2>
| + | |
− | | + | |
− | <P>
| + | |
− | The digitizing tools for GRASS vector layers are accessed using the
| + | |
− | grass_editEdit GRASS vector layer icon on the toolbar. Make
| + | |
− | sure you have loaded a GRASS vector and it is the selected layer in the legend
| + | |
− | before clicking on the edit tool. Figure <A HREF="#fig:grass_digitizing_category">30</A>
| + | |
− | shows the GRASS edit dialog that is displayed when you click on the edit tool.
| + | |
− | The tools and settings are discussed in the following sections.
| + | |
− | | + | |
− | <P>
| + | |
− | <BR>
| + | |
− | <IMG
| + | |
− | WIDTH="500" HEIGHT="11" ALIGN="BOTTOM" BORDER="0"
| + | |
− | SRC="img4.png"
| + | |
− | ALT="\begin{Tip}
| + | |
− | % latex2html id marker 267
| + | |
− | \caption{\textsc{Digitizing polygones in ...
| + | |
− | ...mation of a polygon always to the centroid and not to the
| + | |
− | boundary.
| + | |
− | }
| + | |
− | \end{Tip}">
| + | |
− | <BR>
| + | |
− | | + | |
− | <P>
| + | |
− | Toolbar<A NAME="label_grasstoolbar"></A>
| + | |
− | <P>
| + | |
− | In Figure <A HREF="#fig:grass_digitizing_toolbar">29</A> you see the GRASS digitizing
| + | |
− | toolbar icons provided by the GRASS plugin. Table <A HREF="#tab:grass_tools">3</A>
| + | |
− | explains the available functionalities.
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <DIV ALIGN="CENTER"><A NAME="fig:grass_digitizing_toolbar"></A><A NAME="278"></A>
| + | |
− | <TABLE>
| + | |
− | <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
| + | |
− | GRASS Digitizing Toolbar </CAPTION>
| + | |
− | <TR><TD>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | [clip=true,width=12cm]grass_digitizing_toolbar
| + | |
− | | + | |
− | </DIV></TD></TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | | + | |
− | <P>
| + | |
− | <BR><P></P>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | <A NAME="284"></A>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | | + | |
− | </DIV><A NAME="tab:grass_tools"></A><P>
| + | |
− | <BR>
| + | |
− | <A NAME="285"></A>
| + | |
− | <TABLE CELLPADDING=3 BORDER="1">
| + | |
− | <CAPTION><STRONG>Table 3:</STRONG>
| + | |
− | GRASS Digitizing Tools</CAPTION>
| + | |
− | <TR><TH ALIGN="LEFT"><SPAN CLASS="textbf">Icon</SPAN></TH>
| + | |
− | <TH ALIGN="LEFT"><SPAN CLASS="textbf">Tool</SPAN></TH>
| + | |
− | <TH ALIGN="LEFT" VALIGN="TOP" WIDTH=360><SPAN CLASS="textbf">Purpose</SPAN></TH>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_new_point</TD>
| + | |
− | <TD ALIGN="LEFT">New Point</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Digitize
| + | |
− | new point</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_new_line</TD>
| + | |
− | <TD ALIGN="LEFT">New Line</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Digitize
| + | |
− | new line (finish by selecting new tool)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_new_boundary</TD>
| + | |
− | <TD ALIGN="LEFT">New Boundary</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Digitize new boundary (finish by selecting new tool)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_new_centroid</TD>
| + | |
− | <TD ALIGN="LEFT">New Centroid</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Digitize new centroid (label existing area)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_move_vertex</TD>
| + | |
− | <TD ALIGN="LEFT">Move vertex</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Move
| + | |
− | one vertex of existing line or boundary and identify new position</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_add_vertex</TD>
| + | |
− | <TD ALIGN="LEFT">Add vertex</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Add a
| + | |
− | new vertex to existing line</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_delete_vertex</TD>
| + | |
− | <TD ALIGN="LEFT">Delete vertex</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Delete vertex from existing line (confirm selected vertex by another click)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_move_line</TD>
| + | |
− | <TD ALIGN="LEFT">Move element</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Move
| + | |
− | selected boundary, line, point or centroid and click on new position</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_split_line</TD>
| + | |
− | <TD ALIGN="LEFT">Split line</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Split
| + | |
− | an existing line to 2 parts</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_delete_line</TD>
| + | |
− | <TD ALIGN="LEFT">Delete element</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Delete existing boundary, line, point or centroid (confirm selected element by
| + | |
− | another click)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_edit_attributes</TD>
| + | |
− | <TD ALIGN="LEFT">Edit attributes</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Edit attributes of selected element (note that one element can represent
| + | |
− | more features, see above)</TD>
| + | |
− | </TR>
| + | |
− | <TR><TD ALIGN="LEFT">[width=0.7cm]grass_close_edit</TD>
| + | |
− | <TD ALIGN="LEFT">Close</TD>
| + | |
− | <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=360>Close
| + | |
− | session and save current status (rebuilds topology afterwards)</TD>
| + | |
− | </TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | <BR>
| + | |
− | | + | |
− | <P>
| + | |
− | Category Tab<A NAME="307"></A>
| + | |
− | | + | |
− | <P>
| + | |
− | The Category tab allows you to define the way in which the category
| + | |
− | values will be assigned to a new geometry element.
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <DIV ALIGN="CENTER"><A NAME="fig:grass_digitizing_category"></A><A NAME="311"></A>
| + | |
− | <TABLE>
| + | |
− | <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
| + | |
− | GRASS Digitizing Category Tab </CAPTION>
| + | |
− | <TR><TD>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | [clip=true,width=10cm]grass_digitizing_category
| + | |
− |
| + | |
− | </DIV></TD></TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <UL>
| + | |
− | <LI><SPAN CLASS="textbf">Mode</SPAN>: what category value shall be applied to new geometry
| + | |
− | elements.
| + | |
− | | + | |
− | <UL>
| + | |
− | <LI>Next not used - apply next not yet used category value to geometry
| + | |
− | element.
| + | |
− | </LI>
| + | |
− | <LI>Manual entry - manually define the category value for the geometry
| + | |
− | element in the 'Category'-entry field.
| + | |
− | </LI>
| + | |
− | <LI>No category - Do not apply a category value to the geometry element.
| + | |
− | This is e.g. used for area boundaries, because the category values are
| + | |
− | connected via the centroid.
| + | |
− | </LI>
| + | |
− | </UL>
| + | |
− | </LI>
| + | |
− | <LI><SPAN CLASS="textbf">Category</SPAN> - A number (ID) is attached to each digitized geometry
| + | |
− | element. It is used to connect each geometry element with its attributes.
| + | |
− | </LI>
| + | |
− | <LI><SPAN CLASS="textbf">Field (layer)</SPAN> - Each geometry element can be connected with
| + | |
− | several attribute tables using different GRASS geometry layers. Default layer
| + | |
− | number is 1.
| + | |
− | </LI>
| + | |
− | </UL>
| + | |
− | | + | |
− | <P>
| + | |
− | <BR>
| + | |
− | <IMG
| + | |
− | WIDTH="251" HEIGHT="11" ALIGN="BOTTOM" BORDER="0"
| + | |
− | SRC="img5.png"
| + | |
− | ALT="\begin{Tip}
| + | |
− | % latex2html id marker 323
| + | |
− | \caption{\textsc{Creating an additional G...
| + | |
− | ...Table tab
| + | |
− | you can create your new table connected to your new layer.
| + | |
− | }
| + | |
− | \end{Tip}">
| + | |
− | <BR>
| + | |
− | | + | |
− | <P>
| + | |
− | Settings Tab<A NAME="label_settingtab"></A><A NAME="329"></A>
| + | |
− | | + | |
− | <P>
| + | |
− | The Settings tab allows you to set the snapping in screen pixels. The
| + | |
− | threshold defines at what distance new points or line ends are snapped to
| + | |
− | existing nodes. This helps to prevent gaps or dangles between boundaries. The
| + | |
− | default is set to 10 pixels.
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <DIV ALIGN="CENTER"><A NAME="fig:grass_digitizing_settings"></A><A NAME="333"></A>
| + | |
− | <TABLE>
| + | |
− | <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
| + | |
− | GRASS Digitizing Settings Tab </CAPTION>
| + | |
− | <TR><TD>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | [clip=true,width=8cm]grass_digitizing_settings
| + | |
− |
| + | |
− | </DIV></TD></TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | | + | |
− | <P>
| + | |
− | Symbology Tab<A NAME="339"></A>
| + | |
− | | + | |
− | <P>
| + | |
− | The Symbology tab allows you to view and set symbology and color
| + | |
− | settings for various geometry types and their topological status (e.g. closed
| + | |
− | / opened boundary).
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <DIV ALIGN="CENTER"><A NAME="fig:grass_digitizing_symbology"></A><A NAME="343"></A>
| + | |
− | <TABLE>
| + | |
− | <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
| + | |
− | GRASS Digitizing Symbolog Tab </CAPTION>
| + | |
− | <TR><TD>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | [clip=true,width=8cm]grass_digitizing_symbology
| + | |
− |
| + | |
− | </DIV></TD></TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | | + | |
− | <P>
| + | |
− | Table Tab <A NAME="349"></A>
| + | |
− | | + | |
− | <P>
| + | |
− | The Table tab provides information about the database table for
| + | |
− | a given 'layer'. Here you can add new columns to an existing attribute table,
| + | |
− | or create a new database table for a new GRASS vector layer (see Section
| + | |
− | <A HREF="node9.html#sec:creating_new_grass_vectors">9.6</A>).
| + | |
− | | + | |
− | <P>
| + | |
− | | + | |
− | <DIV ALIGN="CENTER"><A NAME="fig:grass_digitizing_table"></A><A NAME="354"></A>
| + | |
− | <TABLE>
| + | |
− | <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
| + | |
− | GRASS Digitizing Table Tab </CAPTION>
| + | |
− | <TR><TD>
| + | |
− | <DIV ALIGN="CENTER">
| + | |
− | [clip=true,width=10cm]grass_digitizing_table
| + | |
− |
| + | |
− | </DIV></TD></TR>
| + | |
− | </TABLE>
| + | |
− | </DIV>
| + | |
− | | + | |
− | | + | |
− | <BR>
| + | |
− | | + | |
− | <P>
| + | |