「Plugins ftools」の版間の差分
(ページの作成: <H2> fTools Plugin </H2> <P> The goal of the fTools python plugin is to provide a one-stop resource for many common vector-based GIS tasks, without the need for additional softw…) |
(タグ一括置換状態で一旦保存) |
||
行1: | 行1: | ||
− | + | === fTools Plugin === | |
− | fTools Plugin | + | <span id='sec:ftools'></span> |
− | </ | + | |
− | |||
The goal of the fTools python plugin is to provide a one-stop resource for | The goal of the fTools python plugin is to provide a one-stop resource for | ||
many common vector-based GIS tasks, without the need for additional software, | many common vector-based GIS tasks, without the need for additional software, | ||
行9: | 行7: | ||
data management and analysis functions that are both fast and functional. | data management and analysis functions that are both fast and functional. | ||
− | |||
fTools is now automatically installed and enabled in new versions of QGIS, and as with all plugins, it can | fTools is now automatically installed and enabled in new versions of QGIS, and as with all plugins, it can | ||
− | be disabled and enabled using the Plugin Manager (See Section [[ | + | be disabled and enabled using the Plugin Manager (See Section [[sec:managing_plugins]]). |
− | When enabled, the fTools plugin adds a Tools menu to QGIS, providing functions ranging from | + | When enabled, the fTools plugin adds a {{Template:MainMenuOpt|Tools}} menu to QGIS, providing functions ranging from |
Analysis and Research Tools to Geometry and Geoprocessing Tools, as well as several useful Data Management Tools. | Analysis and Research Tools to Geometry and Geoprocessing Tools, as well as several useful Data Management Tools. | ||
− | + | ===== fTools functions ===== | |
− | fTools functions< | + | <span id='ftool_functions'></span> |
− | + | Tables [[tab:ftool_analysis]] through [[tab:fTool_data_management]] list the functions available via the fTools plugin, along with a brief description of each function. For further information on an individual fTools function, please click the {{Template:DropMenuOpt|fTools Information}} menu item in the {{Template:MainMenuOpt|Tools}} menu. | |
− | Tables [[ | + | |
− | < | + | <table border='1' align='center'><caption>'''Table xx:''' fTools Analysis tools</caption><span id='tab:ftool_analysis'></span> |
− | + | <!-- {|p{0.3in}|p{1.2in}|p{4.7in}|} --> | |
− | + | <tr><td colspan='3'>'''Analysis tools available via the fTools plugin'''<tr> | |
− | + | <tr><td> '''Icon''' <td> '''Tool''' <td> '''Purpose''' </tr> | |
− | + | <tr><td> [[File:matrix.png|26px]] <td> Distance Matrix <td> | |
− | + | Measure distances between two point layers, and output results as a) Square | |
− | </ | + | |
− | < | + | |
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
distance matrix, b) Linear distance matrix, or c) Summary of distances. Can | distance matrix, b) Linear distance matrix, or c) Summary of distances. Can | ||
− | limit distances to the k nearest features.</ | + | limit distances to the k nearest features. </tr> |
− | < | + | <tr><td> [[File:sum_lines.png|26px]] <td> Sum line length <td> Calculate |
− | < | + | the total sum of line lengths for each polygon of a polygon vector layer. </tr> |
− | < | + | <tr><td> [[File:sum_points.png|26px]] <td> Points in polygon <td> Count |
− | + | ||
− | the total sum of line lengths for each polygon of a polygon vector layer.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
the number of points that occur in each polygon of an input polygon vector | the number of points that occur in each polygon of an input polygon vector | ||
− | layer.</ | + | layer. </tr> |
− | < | + | <tr><td> [[File:unique.png|26px]] <td> List unique values <td> List |
− | < | + | all unique values in an input vector layer field. </tr> |
− | + | <tr><td> [[File:basic_statistics.png|26px]] <td> Basic statistic <td> Compute | |
− | + | basic statistics (mean, std dev, N, sum, CV) on an input field. </tr> | |
− | all unique values in an input vector layer field.</ | + | <tr><td> [[File:neighbour.png|26px]] <td> Nearest Neighbor analysis |
− | < | + | <td> Compute nearest neighbour statistics to assess the level of clustering in a |
− | < | + | point vector layer. </tr> |
− | < | + | <tr><td> [[File:mean.png|26px]] <td> Mean coordinate(s) <td> |
− | + | Compute either the normal or weighted mean center of an entire vector layer, | |
− | basic statistics (mean, std dev, N, sum, CV) on an input field.</ | + | or multiple features based on a unique ID field. </tr> |
− | < | + | <tr><td> [[File:intersections.png|26px]] <td> Line intersections <td> |
− | < | + | Locate intersections between lines, and output results as a point shapefile. |
− | + | ||
− | < | + | |
− | point vector layer.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | or multiple features based on a unique ID field.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
Useful for locating road or stream intersections, ignores line intersections | Useful for locating road or stream intersections, ignores line intersections | ||
− | with length | + | with length > 0. </tr> |
− | </ | + | </table> |
− | + | ||
− | + | ||
− | + | ||
− | < | + | <table border='1' align='center'><caption>'''Table xx:''' fTools Research tools</caption><span id='tab:ftool_research'></span> |
− | < | + | <!-- {|p{0.3in}|p{1.3in}|p{4.6in}|} --> |
− | < | + | <tr><td colspan='3'>'''Research tools available via the fTools plugin'''<tr> |
− | < | + | <tr><td> '''Icon''' <td> '''Tool''' <td> '''Purpose''' </tr> |
− | < | + | <tr><td> [[File:random_selection.png|26px]] <td> Random selection <td> Randomly |
+ | select n number of features, or n percentage of features </tr> | ||
+ | <tr><td> [[File:sub_selection.png|26px]] <td> Random selection within | ||
+ | subsets <td> Randomly select features within subsets based on a unique ID field. </tr> | ||
+ | <tr><td> [[File:random_points.png|26px]] <td> Random points <td> Generate | ||
+ | pseudo-random points over a given input layer. </tr> | ||
+ | <tr><td> [[File:regular_points.png|26px]] <td> Regular points <td> Generate | ||
+ | a regular grid of points over a specified region and export them as a point shapefile. </tr> | ||
+ | <tr><td> [[File:vector_grid.png|26px]] <td> Vector grid <td> Generate a | ||
+ | line or polygon grid based on user specified grid spacing. </tr> | ||
+ | <tr><td> [[File:select_location.png|26px]] <td> Select by location <td> | ||
+ | Select features based on their location relative to another layer to form a | ||
+ | new selection, or add or subtract from the current selection. </tr> | ||
+ | <tr><td> [[File:layer_extent.png|26px]] <td> Polygon from layer extent <td> | ||
+ | Create a single rectangular polygon layer from the extent of an input raster or vector layer. </tr> | ||
+ | </table> | ||
− | < | + | <table border='1' align='center'><caption>'''Table xx:''' fTools Geoprocessing tools</caption><span id='tab:ftool_geoprocessing'></span> |
− | + | <!-- {|p{0.3in}|p{0.8in}|p{5.1in}|} --> | |
− | + | <tr><td colspan='3'>'''Geoprocessing tools available via the fTools plugin'''<tr> | |
− | + | <tr><td> '''Icon''' <td> '''Tool''' <td> '''Purpose''' </tr> | |
− | + | <tr><td> [[File:convex_hull.png|26px]] <td> Convex hull(s) <td> Create | |
− | fTools | + | minimum convex hull(s) for an input layer, or based on an ID field. </tr> |
− | < | + | <tr><td> [[File:buffer.png|26px]] <td> Buffer(s) <td> Create |
− | + | buffer(s) around features based on distance, or distance field. </tr> | |
− | + | <tr><td> [[File:intersect.png|26px]] <td> Intersect <td> Overlay | |
− | + | layers such that output contains areas where both layers intersect. </tr> | |
− | + | <tr><td> [[File:union.png|26px]] <td> Union <td> Overlay layers such | |
− | + | that output contains intersecting and non-intersecting areas. </tr> | |
− | + | <tr><td> [[File:sym_difference.png|26px]] <td> Symetrical difference <td> | |
− | + | Overlay layers such that output contains those areas of the input and | |
− | + | difference layers that do not intersect. </tr> | |
− | + | <tr><td> [[File:clip.png|26px]] <td> Clip <td> Overlay layers such | |
− | + | that output contains areas that intersect the clip layer. </tr> | |
− | + | <tr><td> [[File:difference.png|26px]] <td> Difference <td> Overlay layers | |
− | + | such that output contains areas not intersecting the clip layer. </tr> | |
− | + | <tr><td> [[File:dissolve.png|26px]] <td> Dissolve <td> Merge features | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | minimum convex hull(s) for an input layer, or based on an ID field.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | buffer(s) around features based on distance, or distance field.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | layers such that output contains areas where both layers intersect.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | that output contains intersecting and non-intersecting areas.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | difference layers that do not intersect.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | that output contains areas that intersect the clip layer.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | such that output contains areas not intersecting the clip layer.</ | + | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
based on input field. All features with indentical input values are combined | based on input field. All features with indentical input values are combined | ||
− | to form one single feature.</ | + | to form one single feature. </tr> |
− | </ | + | </table> |
− | + | ||
− | + | ||
− | + | ||
− | < | + | <table border='1' align='center'><caption>'''Table xx:''' fTools Geometry tools</caption><span id='tab:ftool_geometry'></span> |
− | < | + | <!-- {|p{0.3in}|p{1.2in}|p{4.8in}|} --> |
− | < | + | <tr><td colspan='3'>'''Geometry tools available via the fTools plugin'''<tr> |
− | < | + | <tr><td> '''Icon''' <td> '''Tool''' <td> '''Purpose''' </tr> |
− | < | + | <tr><td> [[File:check_geometry.png|26px]] <td> Check geometry <td> |
+ | Check polygons for intersections, closed-holes, and fix node ordering. </tr> | ||
+ | <tr><td> [[File:export_geometry.png|26px]] <td> Export/Add geometry | ||
+ | columns <td> Add vector layer geometry info to point (XCOORD, YCOORD), | ||
+ | line (LENGTH), or polygon (AREA, PERIMETER) layer. </tr> | ||
+ | <tr><td> [[File:centroids.png|26px]] <td> Polygon centroids <td> | ||
+ | Calculate the true centroids for each polygon in an input polygon layer. </tr> | ||
+ | <tr><td> [[File:delaunay.png|26px]] <td> Delaunay triangulation <td> | ||
+ | Calculate and output (as polygons) the delaunay triangulation of an input point vector layer. </tr> | ||
+ | <tr><td> [[File:simplify.png|26px]] <td> Simplify geometry <td> | ||
+ | Generalise lines or polygons with a modified Douglas-Peucker algorithm. </tr> | ||
+ | <tr><td> [[File:multi_to_single.png|26px]] <td> Multipart to | ||
+ | singleparts <td> Convert multipart features to multiple singlepart features. | ||
+ | Creates simple polygons and lines. </tr> | ||
+ | <tr><td> [[File:single_to_multi.png|26px]] <td> Singleparts to | ||
+ | multipart <td> Merge multiple features to a single multipart feature based | ||
+ | on a unique ID field. </tr> | ||
+ | <tr><td> [[File:to_lines.png|26px]] <td> Polygons to lines | ||
+ | <td> Convert polygons to lines, multipart polygons to multiple singlepart lines. </tr> | ||
+ | <tr><td> [[File:extract_nodes.png|26px]] <td> Extract nodes <td> | ||
+ | Extract nodes from line and polygon layers and output them as points. </tr> | ||
+ | </table> | ||
− | < | + | <table border='1' align='center'><caption>'''Table xx:''' fTools Data management tools</caption><span id='tab:fTool_data_management'></span> |
− | + | <!-- {|p{0.3in}|p{1.3in}|p{4.6in}|} --> | |
− | + | <tr><td colspan='3'>'''Data management tools available via the fTools plugin'''<tr> | |
− | + | <tr><td> '''Icon''' <td> '''Tool''' <td> '''Purpose''' </tr> | |
− | + | <tr><td> [[File:export_projection.png|26px]] <td> Export to projection <td> | |
− | fTools | + | Project features to new CRS and export as new shapefile. </tr> |
− | < | + | <tr><td> [[File:define_projection.png|26px]] <td> Define projection <td> |
− | + | Specify the CRS for shapefiles whose CRS has not been defined. </tr> | |
− | + | <tr><td> [[File:join_attributes.png|26px]] <td> Join attributes <td> Join | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
additional attributes to vector layer attribute table and output results | additional attributes to vector layer attribute table and output results | ||
to a new shapefile. Additional attributes can be from a vector layer or | to a new shapefile. Additional attributes can be from a vector layer or | ||
− | stand-alone dbf table.</ | + | stand-alone dbf table. </tr> |
− | < | + | <tr><td> [[File:join_location.png|26px]] <td> Join attributes by |
− | < | + | location <td> Join additional attributes to vector layer based on spatial |
− | + | ||
− | location< | + | |
− | + | ||
relationship. Attributes from one vector layer are appended to the attribute | relationship. Attributes from one vector layer are appended to the attribute | ||
− | table of another layer and exported as a shapefile</ | + | table of another layer and exported as a shapefile </tr> |
− | < | + | <tr><td> [[File:split_layer.png|26px]] <td> Split vector layer <td> |
− | < | + | Split input layer into multiple separate layers based on input field. </tr> |
− | < | + | </table> |
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
2009年10月5日 (月) 22:16時点における版
fTools Plugin
The goal of the fTools python plugin is to provide a one-stop resource for many common vector-based GIS tasks, without the need for additional software, libraries, or complex workarounds. It provides a growing suite of spatial data management and analysis functions that are both fast and functional.
fTools is now automatically installed and enabled in new versions of QGIS, and as with all plugins, it can be disabled and enabled using the Plugin Manager (See Section sec:managing_plugins). When enabled, the fTools plugin adds a Tools menu to QGIS, providing functions ranging from Analysis and Research Tools to Geometry and Geoprocessing Tools, as well as several useful Data Management Tools.
fTools functions
Tables tab:ftool_analysis through tab:fTool_data_management list the functions available via the fTools plugin, along with a brief description of each function. For further information on an individual fTools function, please click the fTools Information menu item in the Tools menu.