[QGIS Commit] r15899 - in docs/trunk/english_us/user_guide: . plugins_spatial_query_images

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 3 11:16:32 EDT 2011


Author: dassau
Date: 2011-08-03 08:16:31 -0700 (Wed, 03 Aug 2011)
New Revision: 15899

Added:
   docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectcreatelayer.png
   docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectesubsetlayer.png
   docs/trunk/english_us/user_guide/plugins_spatial_query_images/spatial_query_sample.png
Modified:
   docs/trunk/english_us/user_guide/grass_integration.tex
   docs/trunk/english_us/user_guide/plugins_spatial_query.tex
Log:
added section about spatial query plugin

Modified: docs/trunk/english_us/user_guide/grass_integration.tex
===================================================================
--- docs/trunk/english_us/user_guide/grass_integration.tex	2011-08-01 14:45:52 UTC (rev 15898)
+++ docs/trunk/english_us/user_guide/grass_integration.tex	2011-08-03 15:16:31 UTC (rev 15899)
@@ -791,7 +791,7 @@
 
 \begin{itemize}[label=--]
 \item Again using the Alaska data, refer to \ref{sec:import_loc_data} to
-import the trees shapefile from the \usertext{vmap0\_shapefiles} directory
+import the trees shapefile from the \usertext{shapefiles} directory
 into GRASS.
 \item Now an intermediary step is required: centroids must be added to the
 imported trees map to make it a complete GRASS area vector (including both

Modified: docs/trunk/english_us/user_guide/plugins_spatial_query.tex
===================================================================
--- docs/trunk/english_us/user_guide/plugins_spatial_query.tex	2011-08-01 14:45:52 UTC (rev 15898)
+++ docs/trunk/english_us/user_guide/plugins_spatial_query.tex	2011-08-03 15:16:31 UTC (rev 15899)
@@ -4,8 +4,56 @@
 
 % when the revision of a section has been finalized, 
 % comment out the following line:
-\updatedisclaimer
+% \updatedisclaimer
 
-The \toolbtntwo{spatialquery}{Spatial Query} Plugin ...
+The \toolbtntwo{spatialquery}{Spatial Query} plugin allows to make a spatial 
+query (select features) in a target layer with reference to another layer. The 
+functionality is based on the GEOS library and depends on the selected source 
+feature layer. 
 
+Possible operator are:
+
+\begin{itemize}[label=--]
+\item Crosses
+\item Intersects
+\item Is disjoint
+\item Touches
+\item Within
+\end{itemize}
+
+Polygon layers do not provide the 'Touches' and 'Crosses operator.
+
+\minisec{How to use the plugin}
+
+As an example we want to find regions in the Alaska dataset that contain 
+airports. Following steps are necessary:
+
+\begin{enumerate}
+  \item Start QGIS and load the vector layers regions.shp and airports.shp. 
+  \item Load the Spatial Query plugin in the Plugin Manager (see Section 
+  \ref{sec:load_core_plugin}) and click on the \toolbtntwo{spatialquery}{Spatial Query}    
+  icon which appears in the QGIS toolbar menu. The plugin dialog appears as shown 
+  in Figure \ref{fig:spatialquerysample}.
+  \item Select layer regions as source layer and airports as reference feature layer.
+  \item Select 'Contains' as operator and click \button{Apply}.
+\end{enumerate}
+
+Now you get a list of feature IDs from the query and you have several options.
+
+\begin{itemize}[label=--]
+\item Click on the \toolbtntwo{selectesubsetlayer}{Create layer with list of items}
+\item Select an ID from the list and click on \toolbtntwo{selectcreatelayer}{Create layer with selected}
+\item Select the \button{Remove from current selection} in the field 'And use the 
+result to'.
+\item Additionally you can \checkbox{Zoom to item} or display \checkbox{Log messages}.
+\end{itemize}
+
+\begin{figure}[ht]
+   \centering
+   \includegraphics[clip=true, width=14cm]{spatial_query_sample}
+   \caption{Spatial Query analysis - regions contain airports \nixcaption}
+   \label{fig:spatialquerysample}
+\end{figure}
+
 \FloatBarrier
+

Added: docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectcreatelayer.png
===================================================================
(Binary files differ)


Property changes on: docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectcreatelayer.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectesubsetlayer.png
===================================================================
(Binary files differ)


Property changes on: docs/trunk/english_us/user_guide/plugins_spatial_query_images/selectesubsetlayer.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: docs/trunk/english_us/user_guide/plugins_spatial_query_images/spatial_query_sample.png
===================================================================
(Binary files differ)


Property changes on: docs/trunk/english_us/user_guide/plugins_spatial_query_images/spatial_query_sample.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the QGIS-commit mailing list