AddOns/GRASS7/vector: Difference between revisions

From GRASS-Wiki
< AddOns‎ | GRASS7
Jump to navigation Jump to search
(new)
 
(update to GitHub URLs)
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
=== Vector add-ons ===
{{AddOns}}
* '''[https://grass.osgeo.org/grass7/manuals/addons/ GRASS GIS 7 Addons Manual pages] - a complete overview of available Addons'''
* [https://github.com/OSGeo/grass-addons/ Browse the GRASS GIS add-ons code on GitHub]
* For addon installation, simply use {{cmd|g.extension}}
* Source code download: get all addons from the git repository with:
<code>git clone https://github.com/OSGeo/grass-addons.git</code>


See also
==== v.area.weigh ====
svn co https://svn.osgeo.org/grass/grass-addons/grass7/vector
 
{{AddonSrc|vector|v.area.weigh|version=7}} creates a raster surface from vector areas using known cell weights and preserving the value of the area attribute. For example, if the selected area attribute is the population count, the sum of all pixel values in a given area is equal to the area's population count with the area's population concentrated on the known location of urban areas.
 
: '''Author:''' Markus Metz


==== v.build.pg ====
==== v.build.pg ====


v.build.pg builds PostGIS topology for feature tables linked via v.external.
{{AddonSrc|vector|v.build.pg|version=7}} builds PostGIS topology for feature tables linked via v.external.
 
==== v.centerline ====
 
{{AddonSrc|vector|v.centerline|version=7}} takes a map of vector lines and creates a new map containing a central line
 
: '''Author:''' Moritz Lennert
 
==== v.centerpoint ====
 
{{AddonSrc|vector|v.centerpoint|version=7}} calculates various center points for points, lines and areas: center of gravity, geometric median etc.
 
: '''Author:''' Markus Metz
 
==== v.class.mlpy ====
 
{{AddonSrc|vector|v.class.mlpy|version=7}} classifies vector features. It is an interface to the [http://mlpy.sourceforge.net mlpy library] (Machine Learning Python). Classification is supervised and based on attribute table data. Geometry is not used. A training dataset is always required.


==== v.colors2 ====
==== v.colors2 ====


v.colors is much like r.colors, but may be used for vector maps.
{{AddonSrc|vector|v.colors|version=7}} is much like r.colors, but may be used for vector maps.
 
==== v.concave.hull ====
 
{{AddonSrc|vector|v.concave.hull|version=7}} creates a concave hull describing the shape of point clouds.
 
==== v.delaunay3d ====
 
{{AddonSrc|vector|v.delaunay3d|version=7}} creates a 3D triangulation from an input vector map containing points or centroids.
 
Requires [http://www.cgal.org CGAL library].
 
: '''Author:''' Martin Landa


==== v.external.all ====
==== v.external.all ====


v.external.all creates (using v.external) in the current mapset new pseudo-vector maps for all OGR layers from given OGR datasource (dsn option).
{{AddonSrc|vector|v.external.all|version=7}} creates (using v.external) in the current mapset new pseudo-vector maps for all OGR layers from given OGR datasource (dsn option).
 
==== v.fixed.segmentpoints ====
 
{{AddonSrc|vector|v.fixed.segmentpoints|version=7}} creates segment points along a vector line with fixed distances by using the v.segment module.
 
: '''Author:''' Helmut Kudrnovsky
 
==== v.flexure ====
 
{{AddonSrc|vector|v.flexure|version=7}}: v.flexure is used to calculate how the lithosphere bends under geologic loads. It is an interface for the [https://github.com/awickert/gFlex gFlex] model, which must be downloaded and installed in order for it to work.
 
: '''Author:''' Andrew Wickert
 
==== v.habitat.dem ====
 
{{AddonSrc|vector|v.habitat.dem|version=7}} calculates DEM and solar derived characteristics of habitat polygons.
 
: '''Author:''' Helmut Kudrnovsky
 
==== v.in.gbif ====
 
{{AddonSrc|vector|v.in.gbif|version=7}} imports GBIF species distribution data via GDAL vector VRT.
 
: '''Author:''' Helmut Kudrnovsky


==== v.in.geopaparazzi ====
==== v.in.geopaparazzi ====


v.in.geopaparazzi imports all elements saved into [http://code.google.com/p/geopaparazzi/ Geopaparazzi].
{{AddonSrc|vector|v.in.geopaparazzi|version=7}} imports all elements saved into [http://code.google.com/p/geopaparazzi/ Geopaparazzi].
 
==== v.in.natura2000 ====
 
{{AddonSrc|vector|v.in.natura2000|version=7}} imports Natura 2000 (sqlite/spatialite) GIS data.
 
: '''Author:''' Helmut Kudrnovsky


==== v.in.ply ====
==== v.in.ply ====


* [https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.in.ply v.in.ply] is a C program that imports a PLY file and writes it as GRASS vector map.
{{AddonSrc|vector|v.in.ply|version=7}} is a C program that imports a PLY file and writes it as GRASS vector map.


: '''Author:''' Markus Metz
: '''Author:''' Markus Metz
==== v.in.redlist ====
{{AddonSrc|vector|v.in.redlist|version=7}} imports IUCN Red List Spatial Data.
: '''Author:''' Helmut Kudrnovsky


==== v.in.redwg ====
==== v.in.redwg ====
Line 34: Line 106:
==== v.in.wfs2 ====
==== v.in.wfs2 ====


v.in.wfs2 imports OGC WFS maps (Web Feature Service) from external servers.
{{AddonSrc|vector|v.in.wfs2|version=7}} imports OGC WFS maps (Web Feature Service) from external servers.
 
==== v.isochrones ====
 
{{AddonSrc|vector|v.isochrones|version=7}} takes a map of roads and starting points and creates isochrone polygons around the starting points
 
: '''Author:''' Moritz Lennert
 
==== v.lidar.mcc ====
 
{{AddonSrc|vector|v.lidar.mcc|version=7}} applies a Multi Curvature Classification procedure on LiDAR point clouds e.g. for filtering vegetation returns. The module is also usable for discrete LiDAR.
 
: '''Author:''' Stefan Blumentrath
 
==== v.maxent.swd ====
 
{{AddonSrc|vector|v.maxent.swd|version=7}} Produce a set of text file (SWD file) which can be used as input to MaxEnt 3.3.3. It may also provide the input data presence and absence/background for other modelling tools
 
: '''Author:''' Paulo van Breugel


==== v.median ====
==== v.median ====


v.median create the median point of a cloud of point.
{{AddonSrc|vector|v.median|version=7}} create the median point of a cloud of point.
 
==== v.neighborhoodmatrix ====
{{AddonSrc|vector|v.neighborhoodmatrix|version=7}} exports a csv file with the neighborhood matrix of polygons
 
: '''Author:''' Moritz Lennert


==== v.net.salesman.opt ====
==== v.net.salesman.opt ====


v.net.salesman.opt estimates the optimal route to visit nodes on a vector network and optionally tries to improve the result.
{{AddonSrc|vector|v.net.salesman.opt|version=7}} estimates the optimal route to visit nodes on a vector network and optionally tries to improve the result.
 
: '''Author:''' Markus Metz


==== v.out.ply ====
==== v.out.ply ====


* [https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.out.ply v.out.ply] is a C program that exports a GRASS vector map as PLY file.
{{AddonSrc|vector|v.out.ply|version=7}} is a C program that exports a GRASS vector map as PLY file.


: '''Author:''' Markus Metz
: '''Author:''' Markus Metz
Line 52: Line 149:
==== v.ply.rectify ====
==== v.ply.rectify ====


v.ply.rectify imports a PLY point cloud, georeferences and exports it. The first three vertex properties must be the x, y, z coordinates with property names "x", "y", "z", in this order.
{{AddonSrc|vector|v.ply.rectify|version=7}} imports a PLY point cloud, georeferences and exports it. The first three vertex properties must be the x, y, z coordinates with property names "x", "y", "z", in this order.


: '''Author:''' Markus Metz
: '''Author:''' Markus Metz
Line 58: Line 155:
==== v.surf.icw ====
==== v.surf.icw ====


{{AddonSrc|vector|v.surf.icw|version=7}}:
Inverse cost weighting is like inverse distance weighted (IDW) interpolation, but uses cost instead of shortest Euclidean distance. In this way solid barriers and molasses zones may be correctly taken into account.
Inverse cost weighting is like inverse distance weighted (IDW) interpolation, but uses cost instead of shortest Euclidean distance. In this way solid barriers and molasses zones may be correctly taken into account.
: '''Author:''' Hamish Bowman
==== v.surf.tps ====
{{AddonSrc|vector|v.surf.tps|version=7}}:
Multivariate thin plate spline interpolation of sparse points with smoothing.
: '''Author:''' Markus Metz
==== v.to.lines ====
{{AddonSrc|vector|v.to.lines|version=7}}:
converts vector polygons (boundaries) to lines as well as vector points to lines via triangulations.
: '''Author:''' Luca Delucchi
==== v.surf.mass ====
{{AddonSrc|vector|v.surf.mass|version=7}} creates a raster surface from vector areas, preserving the value of the area attribute. For example, if the selected area attribute is the population count, the sum of all pixel values in a given area is equal to the area's population count. ([https://github.com/OSGeo/grass-addons/tree/master/grass7/vector/v.surf.mass/v.surf.mass.html manual page])
: '''Author:''' Markus Metz
==== v.what.spoly ====
{{AddonSrc|vector|v.what.spoly|version=7}} Queries vector map with overlaping "spaghetti" polygons (e.g. Landsat footprints) at given location ([https://github.com/OSGeo/grass-addons/tree/master/grass7/vector/v.what.spoly/v.what.spoly.html manual page])
: '''Author:''' Alexander Muriy

Latest revision as of 07:25, 25 June 2020

git clone https://github.com/OSGeo/grass-addons.git

v.area.weigh

v.area.weigh (src) creates a raster surface from vector areas using known cell weights and preserving the value of the area attribute. For example, if the selected area attribute is the population count, the sum of all pixel values in a given area is equal to the area's population count with the area's population concentrated on the known location of urban areas.

Author: Markus Metz

v.build.pg

v.build.pg (src) builds PostGIS topology for feature tables linked via v.external.

v.centerline

v.centerline (src) takes a map of vector lines and creates a new map containing a central line

Author: Moritz Lennert

v.centerpoint

v.centerpoint (src) calculates various center points for points, lines and areas: center of gravity, geometric median etc.

Author: Markus Metz

v.class.mlpy

v.class.mlpy (src) classifies vector features. It is an interface to the mlpy library (Machine Learning Python). Classification is supervised and based on attribute table data. Geometry is not used. A training dataset is always required.

v.colors2

v.colors (src) is much like r.colors, but may be used for vector maps.

v.concave.hull

v.concave.hull (src) creates a concave hull describing the shape of point clouds.

v.delaunay3d

v.delaunay3d (src) creates a 3D triangulation from an input vector map containing points or centroids.

Requires CGAL library.

Author: Martin Landa

v.external.all

v.external.all (src) creates (using v.external) in the current mapset new pseudo-vector maps for all OGR layers from given OGR datasource (dsn option).

v.fixed.segmentpoints

v.fixed.segmentpoints (src) creates segment points along a vector line with fixed distances by using the v.segment module.

Author: Helmut Kudrnovsky

v.flexure

v.flexure (src): v.flexure is used to calculate how the lithosphere bends under geologic loads. It is an interface for the gFlex model, which must be downloaded and installed in order for it to work.

Author: Andrew Wickert

v.habitat.dem

v.habitat.dem (src) calculates DEM and solar derived characteristics of habitat polygons.

Author: Helmut Kudrnovsky

v.in.gbif

v.in.gbif (src) imports GBIF species distribution data via GDAL vector VRT.

Author: Helmut Kudrnovsky

v.in.geopaparazzi

v.in.geopaparazzi (src) imports all elements saved into Geopaparazzi.

v.in.natura2000

v.in.natura2000 (src) imports Natura 2000 (sqlite/spatialite) GIS data.

Author: Helmut Kudrnovsky

v.in.ply

v.in.ply (src) is a C program that imports a PLY file and writes it as GRASS vector map.

Author: Markus Metz

v.in.redlist

v.in.redlist (src) imports IUCN Red List Spatial Data.

Author: Helmut Kudrnovsky

v.in.redwg

v.in.redwg imports DWG files into GRASS., see also here
Author: Rodrigo Rodrigues da Silva

v.in.wfs2

v.in.wfs2 (src) imports OGC WFS maps (Web Feature Service) from external servers.

v.isochrones

v.isochrones (src) takes a map of roads and starting points and creates isochrone polygons around the starting points

Author: Moritz Lennert

v.lidar.mcc

v.lidar.mcc (src) applies a Multi Curvature Classification procedure on LiDAR point clouds e.g. for filtering vegetation returns. The module is also usable for discrete LiDAR.

Author: Stefan Blumentrath

v.maxent.swd

v.maxent.swd (src) Produce a set of text file (SWD file) which can be used as input to MaxEnt 3.3.3. It may also provide the input data presence and absence/background for other modelling tools

Author: Paulo van Breugel

v.median

v.median (src) create the median point of a cloud of point.

v.neighborhoodmatrix

v.neighborhoodmatrix (src) exports a csv file with the neighborhood matrix of polygons

Author: Moritz Lennert

v.net.salesman.opt

v.net.salesman.opt (src) estimates the optimal route to visit nodes on a vector network and optionally tries to improve the result.

Author: Markus Metz

v.out.ply

v.out.ply (src) is a C program that exports a GRASS vector map as PLY file.

Author: Markus Metz

v.ply.rectify

v.ply.rectify (src) imports a PLY point cloud, georeferences and exports it. The first three vertex properties must be the x, y, z coordinates with property names "x", "y", "z", in this order.

Author: Markus Metz

v.surf.icw

v.surf.icw (src): Inverse cost weighting is like inverse distance weighted (IDW) interpolation, but uses cost instead of shortest Euclidean distance. In this way solid barriers and molasses zones may be correctly taken into account.

Author: Hamish Bowman

v.surf.tps

v.surf.tps (src): Multivariate thin plate spline interpolation of sparse points with smoothing.

Author: Markus Metz

v.to.lines

v.to.lines (src): converts vector polygons (boundaries) to lines as well as vector points to lines via triangulations.

Author: Luca Delucchi

v.surf.mass

v.surf.mass (src) creates a raster surface from vector areas, preserving the value of the area attribute. For example, if the selected area attribute is the population count, the sum of all pixel values in a given area is equal to the area's population count. (manual page)

Author: Markus Metz

v.what.spoly

v.what.spoly (src) Queries vector map with overlaping "spaghetti" polygons (e.g. Landsat footprints) at given location (manual page)

Author: Alexander Muriy