<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FNetworks</id>
	<title>GRASS-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FNetworks"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/wiki/Special:Contributions/%E2%9A%A0%EF%B8%8FNetworks"/>
	<updated>2026-04-24T06:11:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_Documents&amp;diff=5682</id>
		<title>GRASS Documents</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_Documents&amp;diff=5682"/>
		<updated>2008-01-08T20:15:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* added link to info page on grass topolgical vector data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Usage ==&lt;br /&gt;
===== [[Faq|FAQ]] =====&lt;br /&gt;
===== [http://grass.itc.it/gdp/manuals.php GRASS Manual pages] =====&lt;br /&gt;
===== [http://grass.itc.it/gdp/tutorials.php GRASS Tutorials] =====&lt;br /&gt;
* [[GRASS 5 Tutorial]]&lt;br /&gt;
* [[GRASS 6 Tutorial]]&lt;br /&gt;
* [[Common Tasks]]&lt;br /&gt;
* [http://www.grassbook.org/ GRASS Book] with new educational data set download&lt;br /&gt;
&lt;br /&gt;
===== Training media =====&lt;br /&gt;
&lt;br /&gt;
* [[GRASS_Education_%28Free_GIS_education%29#Teaching_Materials| Courses, training videos, presentations, etc.]] contributed by the community.&lt;br /&gt;
&lt;br /&gt;
=== Help with tasks ===&lt;br /&gt;
&lt;br /&gt;
* Help with [[data formats]]&lt;br /&gt;
&lt;br /&gt;
* Help with the [[module command line parser]]&lt;br /&gt;
&lt;br /&gt;
* [[Help with 3D]]&lt;br /&gt;
&lt;br /&gt;
* Help with [[Imagery|Imagery and satellite]] data&lt;br /&gt;
&lt;br /&gt;
* Help with [[LIDAR|LIDAR and swath bathymetry]] data&lt;br /&gt;
&lt;br /&gt;
* Help with creating [[Movies|Movies and animations]]&lt;br /&gt;
&lt;br /&gt;
* Help with [[vector network analysis]]&lt;br /&gt;
&lt;br /&gt;
==== Other ====&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/gdp/index.php GRASS Documentation project] (huge amount of information for many versions of GRASS spanning the last 15 years; relevant content needs to be moved into this Wiki [''please help!''])&lt;br /&gt;
&lt;br /&gt;
* [[GRASS_Education_%28Free_GIS_education%29#Teaching_Materials | Teaching materials]] contributed by the community.&amp;lt;BR&amp;gt;(Tutorials, courseware, training videos, etc.)&lt;br /&gt;
&lt;br /&gt;
* [[Vector Database Management]] Help&lt;br /&gt;
* GRASS [[Vectordata#GRASS_6_Vector_Architecture | vectordata]] (toplogical)&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
===== [[GRASS Citation Repository]] =====&lt;br /&gt;
===== [[Tips and Tricks]] =====&lt;br /&gt;
===== Cartography =====&lt;br /&gt;
* [[Ps.map_scripts|ps.map cartographic output examples]]&lt;br /&gt;
* [[GRASS_and_GMT|Export]] to the [http://gmt.soest.hawaii.edu/ GMT] software package for publication quality cartography&lt;br /&gt;
&lt;br /&gt;
===== [[SQL]] support in GRASS GIS =====&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* [[Installation Guide]] for binary packages&lt;br /&gt;
* [[Compile and Install]] from CVS source code repository (the latest and greatest...)&lt;br /&gt;
* [[Compile and install GRASS and QGIS with GDAL/OGR Plugin]] (e.g., to enable QGIS to read GRASS data directly)&lt;br /&gt;
* [[GRASS AddOns]] (User contributions)&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
* Programming: see document list at [[Development]].&lt;br /&gt;
* [[GRASS Translation Glossary]]&lt;br /&gt;
* [[GRASS Module Porting List]] (check here if you don't find a certain command in GRASS 6)&lt;br /&gt;
* [[Development#Linking GRASS to external languages|Linking GRASS to external languages]]&lt;br /&gt;
&lt;br /&gt;
== Geostatistics ==&lt;br /&gt;
* [[How to interpolate point value using kriging method with R and GRASS 6]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4638</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4638"/>
		<updated>2007-07-30T15:32:45Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Imagery Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.points.html i.points] and  [http://grass.itc.it/grass63/manuals/html63_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
;[[Georeferencing]]&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
[[Replacement_raster_format]]&lt;br /&gt;
[[GRASS_Raster_Mask]]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector Intro] &lt;br /&gt;
[[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
[[Imagery]]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4637</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4637"/>
		<updated>2007-07-30T15:25:07Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Raster Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.points.html i.points] and  [http://grass.itc.it/grass63/manuals/html63_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
;[[Georeferencing]]&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
[[Replacement_raster_format]]&lt;br /&gt;
[[GRASS_Raster_Mask]]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector Intro] &lt;br /&gt;
[[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4636</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4636"/>
		<updated>2007-07-30T15:24:20Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Modules for georectifying images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.points.html i.points] and  [http://grass.itc.it/grass63/manuals/html63_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass63/manuals/html63_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
;[[Georeferencing]]&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
[[Replacement_raster_format]]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector Intro] &lt;br /&gt;
[[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4635</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4635"/>
		<updated>2007-07-30T15:21:07Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.points.html i.points] and  [http://grass.itc.it/grass62/manuals/html62_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
[[Replacement_raster_format]]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector Intro] &lt;br /&gt;
[[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4634</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4634"/>
		<updated>2007-07-30T15:20:20Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Raster Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.points.html i.points] and  [http://grass.itc.it/grass62/manuals/html62_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
[[Replacement_raster_format]]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector Intro] [[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4633</id>
		<title>GIS Concepts</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GIS_Concepts&amp;diff=4633"/>
		<updated>2007-07-30T15:19:12Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Geodesy and Cartography ==&lt;br /&gt;
=== Background material ===&lt;br /&gt;
&lt;br /&gt;
* [http://oceanservice.noaa.gov/education/kits/geodesy/welcome.html An introduction to Geodesy] from NOAA&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Geodesy Wikipedia's Geodesy entry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/GIS Wikipedia's GIS entry]&lt;br /&gt;
* [http://earth-info.nima.mil/GandG/publications/ NGA Geodesy and Geophysics publications] &lt;br /&gt;
* [http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/index.html UK Ordnance Survey primer on coordinate system concepts] ([http://www.ordnancesurvey.co.uk/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf PDF])&lt;br /&gt;
&lt;br /&gt;
=== Map projections ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.progonos.com/furuti/MapProj/CartIndex/cartIndex.html Map projection concepts] by Carlos Furuti&lt;br /&gt;
* [http://www.galleryofmapprojections.com Map projection gallery] by Paul Anderson&lt;br /&gt;
* [http://www.dmap.co.uk/utmworld.htm UTM Zones]&lt;br /&gt;
* [http://www.epsg.org EPSG Codes]&lt;br /&gt;
&lt;br /&gt;
=== Map datums ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.colorado.edu/geography/gcraft/notes/datum/datum.html An introduction to geodetic datums] by Peter Dana&lt;br /&gt;
* [http://home.online.no/~sigurdhu/WGS84_Eng.html How WGS 84 defines the Earth]&lt;br /&gt;
&lt;br /&gt;
==How GRASS deals with geodetics==&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, an ellipsoid and a spheroid are the same thing, and ellipsoid is the prefered name.&lt;br /&gt;
&lt;br /&gt;
As far as GRASS is concerned, a datum is made up of an ellipsoid and an origin.&lt;br /&gt;
Setting a datum is optional, but highly recommended.&lt;br /&gt;
&lt;br /&gt;
GRASS uses a modified version of the [http://proj.maptools.org PROJ.4] library.&lt;br /&gt;
&lt;br /&gt;
=== Modules controling a location's map projection ===&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.proj.html g.proj] help page (GRASS 6.2)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/g.setproj.html g.setproj] help page (GRASS 6.2)&lt;br /&gt;
&lt;br /&gt;
=== Modules for reprojecting GIS maps and data ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.proj.html r.proj] for reprojecting raster maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/v.proj.html v.proj] for reprojecting vector maps&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/m.proj.html m.proj] for reprojecting a list of coordinate pairs&lt;br /&gt;
&lt;br /&gt;
=== Modules for georectifying images ===&lt;br /&gt;
&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/r.region.html r.region] for resetting a raster map's bounds information&lt;br /&gt;
* gis.m GIS manager GeoReferencing tool (File menu)&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.points.html i.points] and  [http://grass.itc.it/grass62/manuals/html62_user/i.vpoints.html i.vpoints] for setting GCPs&lt;br /&gt;
* [http://grass.itc.it/grass62/manuals/html62_user/i.rectify.html i.rectify] for georectifying imagery&lt;br /&gt;
* [http://www.gdal.org GDALwarp] (use with gdal_translate, see the i.warp script in the wiki [[GRASS_AddOns#Imagery_add-ons|AddOns]] page)&lt;br /&gt;
&lt;br /&gt;
==GIS Data types==&lt;br /&gt;
&lt;br /&gt;
===Raster Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs in a regularly spaced grid. e.g. a satellite image or digital terrain map.&amp;lt;BR&amp;gt;&lt;br /&gt;
Region settings determine the spatial extent and resolution of the grid.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster Intro]&lt;br /&gt;
&lt;br /&gt;
===3D Raster Data (Voxel)===&lt;br /&gt;
&lt;br /&gt;
A stack of 2D raster maps.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html Raster 3D Intro]&lt;br /&gt;
&lt;br /&gt;
===Vector Data===&lt;br /&gt;
&lt;br /&gt;
Data which occurs as a series of coordinates. e.g. a GPS position or coastline map. May be a point, line, area, etc in either 2D or 3D space. Generally independent of region settings.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector Intro] [[Vectordata]]&lt;br /&gt;
&lt;br /&gt;
===Imagery Data===&lt;br /&gt;
Pixelated photographic or satellite images, often imported from a &lt;br /&gt;
[http://en.wikipedia.org/wiki/GeoTIFF GeoTIFF] or PNG image file.&lt;br /&gt;
&lt;br /&gt;
As far as the GIS is concerned this is just another raster map, but there are several modules specially tailored for rectification and processing common imagery types. e.g. ortho-photos or multi-channel LANDSAT data.&lt;br /&gt;
&lt;br /&gt;
;[http://grass.itc.it/grass62/manuals/html62_user/imageryintro.html Imagery Intro]&lt;br /&gt;
&lt;br /&gt;
===Site Data===&lt;br /&gt;
Old versions of GRASS (5 and earlier) treated point data separate to line and polygon data. GRASS 6 classes all vector data features the same. Convert old sites file data into GRASS 6 vector format with the GRASS 6 [http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.html v.in.sites] or &lt;br /&gt;
[http://grass.itc.it/grass62/manuals/html62_user/v.in.sites.all.html v.in.sites.all] modules.&lt;br /&gt;
&lt;br /&gt;
==Conversions between data types==&lt;br /&gt;
&lt;br /&gt;
The following table is intended to catalog transformations from one type of data to another:&amp;lt;BR&amp;gt;&lt;br /&gt;
''[table is currently incomplete!]''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
| From / To&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/rasterintro.html Raster]&lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/raster3dintro.html 3D Raster] &lt;br /&gt;
![http://grass.itc.it/grass62/manuals/html62_user/vectorintro.html Vector]&lt;br /&gt;
|-&lt;br /&gt;
! Raster&lt;br /&gt;
| r.mapcalc&lt;br /&gt;
| r.to.rast3&lt;br /&gt;
| r.to.vect, v.sample, r.volume&lt;br /&gt;
|-&lt;br /&gt;
! 3D Raster&lt;br /&gt;
| r3.to.rast, r3.cross.rast&lt;br /&gt;
| r3.mapcalc&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Vector&lt;br /&gt;
| v.to.rast, v.surf.rst, v.surf.idw&lt;br /&gt;
| v.vol.rst, v.vol.idw, v.to.rast3&lt;br /&gt;
| v.clean	&lt;br /&gt;
|-&lt;br /&gt;
! Data&lt;br /&gt;
| r.in.*&lt;br /&gt;
| r3.in.*&lt;br /&gt;
| v.in.*&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How a GRASS project is organized==&lt;br /&gt;
&lt;br /&gt;
GRASS data is stored in a three level structure, the database, location and mapset. These can be found in a series of nested directories on the user's computer. All three must exist and are set at GRASS startup time.&lt;br /&gt;
&lt;br /&gt;
===The Database===&lt;br /&gt;
&lt;br /&gt;
The directory in which all GIS data is to be stored.&lt;br /&gt;
&lt;br /&gt;
e.g. &amp;lt;tt&amp;gt;~/grassdata/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The Location===&lt;br /&gt;
&lt;br /&gt;
A ''location'' is a GRASS project consisting of an area, projection definition (or unprojected), a grouping of mapsets, all with the same projection settings. A location is a subdirectory of the GRASS ''database''.&lt;br /&gt;
&lt;br /&gt;
e.g. world_lat_lon, utm_zone_59, or west_coast&lt;br /&gt;
&lt;br /&gt;
A ''location'' contains one or many ''mapsets''.&lt;br /&gt;
&lt;br /&gt;
===The Mapset===&lt;br /&gt;
&lt;br /&gt;
A ''mapset'' contains map(s), it is a subdirectory of a ''location''.&lt;br /&gt;
Conceptually, if several mapsets are used in a location, they may be assigned to different users (each has one or several own mapsets to work in and cannot modify thos of other users), and/or it they are used to organize a project (''location'') by subareas or subprojects.&lt;br /&gt;
There are no specific organizational limitations.&lt;br /&gt;
&lt;br /&gt;
There is always a PERMANENT mapset which is readable from all other mapsets within the same location. Read access to maps in other mapsets is managed with the 'g.mapsets' command or by adding the &amp;quot;@&amp;quot; symbol and mapset name (e.g. &amp;lt;tt&amp;gt;map@othermapset&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==How the Open Source software development model works==&lt;br /&gt;
&lt;br /&gt;
GRASS differs from many other GIS software packages used in the professional world in that it is developed and distributed by users for users; mostly on a volunteer basis, in the open, and is given away for free.&lt;br /&gt;
&lt;br /&gt;
Emphasis is placed on interoperability and unlimited access to data as well as software flexibility and evolution rate (both added features and bug minimization).&lt;br /&gt;
&lt;br /&gt;
''Free'' can have many meanings, as the links below illustrate, and within a project there is often a spectrum of philosophies and goals amongst developers. But it works - Free Software has revolutionized many sectors of the computing world over the last few years and continues to do so today.&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/philosophy/philosophy.html Philosophy of the Free Software Movement]&lt;br /&gt;
* [http://www.opensource.org The Open Source Initiative has a good explanation]&lt;br /&gt;
* [http://www.fsf.org The Free Software Foundation]&lt;br /&gt;
* [http://www.gnu.org/copyleft/gpl.html The GNU General Public License]&lt;br /&gt;
&lt;br /&gt;
==Raster GIS Analysis==&lt;br /&gt;
&lt;br /&gt;
===Simple Raster Math===&lt;br /&gt;
&lt;br /&gt;
Sometimes when analyzing the relationship between two or more raster data sets, a relatively simple mathematical approach is best. One example using the r.mapcalc tool would be to look at changes between two raster data sets. By subtracting the values in these two data sets you can assume that resulting cells with a positive value have a possitive change and those with a negative value have negative change.  If the cell values have a zero value then there would be no change.&lt;br /&gt;
&lt;br /&gt;
GRASS comes bundled with the r.mapcalc tool as well as the d.m GUI interface for the tool accessable using the r.mapcalculator command.  This GUI allows the user to easily assign raster sets to the variables used in the formulas and easily create mathematical strings that will result in a new raster data set containing the results.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4632</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4632"/>
		<updated>2007-07-30T15:06:16Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GRASS 6 Vector Architecture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Grass_vector_line.png]]&lt;br /&gt;
[[Image:Grass_vector_area.png]]&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006) (see also [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 RT#3877])&lt;br /&gt;
* OGR documentation: [http://www.gdal.org/ogr/drv_grass.html GRASS driver]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* OGR documentation: [http://www.gdal.org/ogr/drv_shapefile.html Shapefile Driver]&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=File:Grass_vector_line.png&amp;diff=4631</id>
		<title>File:Grass vector line.png</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=File:Grass_vector_line.png&amp;diff=4631"/>
		<updated>2007-07-30T15:02:14Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=File:Grass_vector_area.png&amp;diff=4630</id>
		<title>File:Grass vector area.png</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=File:Grass_vector_area.png&amp;diff=4630"/>
		<updated>2007-07-30T15:01:44Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4629</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4629"/>
		<updated>2007-07-30T14:56:58Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006) (see also [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 RT#3877])&lt;br /&gt;
* OGR documentation: [http://www.gdal.org/ogr/drv_grass.html GRASS driver]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* OGR documentation: [http://www.gdal.org/ogr/drv_shapefile.html Shapefile Driver]&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4628</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4628"/>
		<updated>2007-07-30T14:55:43Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GRASS 6 Vector Architecture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006) (see also [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 RT#3877])&lt;br /&gt;
* OGR documentation: [http://www.gdal.org/ogr/drv_grass.html GRASS driver]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4627</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4627"/>
		<updated>2007-07-30T14:49:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006) (see also [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 RT#3877])&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4626</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4626"/>
		<updated>2007-07-30T14:49:28Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006) (see also [RT#3877])&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4625</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4625"/>
		<updated>2007-07-30T14:47:23Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different concepts and implementations of vector data. &lt;br /&gt;
&lt;br /&gt;
Hence a discussion of the currently most widely vectordata structures and formats in the geoformatics field is surely not bad, IMO. Naturally the focus is GRASS and FOSS4G centric, maybe almost too formal form a user's point of view, and yet certainly way too informal from a programmers point of view.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4622</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4622"/>
		<updated>2007-07-30T10:30:49Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GPS receiver vector data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4621</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4621"/>
		<updated>2007-07-30T10:30:21Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GPS receiver vector data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* GPSBabel Documentation: [http://www.gpsbabel.org/htmldoc-1.3.4/Route_And_Track_Modes.html Route and Track Modes]&lt;br /&gt;
* http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4620</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4620"/>
		<updated>2007-07-30T10:25:33Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GPS receiver vector data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4619</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4619"/>
		<updated>2007-07-30T09:54:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* OpenGIS Simple Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of OGR is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* Adam Gawne-Cain: [http://home.gdal.org/projects/opengis/twohalfdsf.html 2.5 D Simple Features Proposal (OGC 99-402r2)]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4618</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4618"/>
		<updated>2007-07-30T09:51:22Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* OpenGIS Simple Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_Features Simple Features] is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4617</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4617"/>
		<updated>2007-07-30T09:49:54Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4616</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4616"/>
		<updated>2007-07-30T09:47:13Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
A vector data storage format for storing the location, shape, and attributes of geographic features. A shapefile is stored in a set of related files and contains one feature class.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4615</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4615"/>
		<updated>2007-07-30T09:45:00Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
Also reading [http://mapserver.gis.umn.edu/docs/reference/vector_data Vector Data Access] from the Mapserver Documentation does not hurt.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
A vector data storage format for storing the location, shape, and attributes of geographic features. A shapefile is stored in a set of related files and contains one feature class.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. Postgres has an almost complete support (with some limitions, and lacking documentation)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4614</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4614"/>
		<updated>2007-07-30T08:58:06Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
A vector data storage format for storing the location, shape, and attributes of geographic features. A shapefile is stored in a set of related files and contains one feature class.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
* http://mapserver.gis.umn.edu/docs/reference/vector_data/shapefiles&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4613</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4613"/>
		<updated>2007-07-30T08:30:31Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
A vector data storage format for storing the location, shape, and attributes of geographic features. A shapefile is stored in a set of related files and contains one feature class.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4612</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4612"/>
		<updated>2007-07-30T08:22:51Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is from a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4611</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4611"/>
		<updated>2007-07-30T08:19:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
* R. Blazek: [http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/doc/vector/TODO GRASS 6 vector TODO] (May 2006)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4610</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4610"/>
		<updated>2007-07-30T08:09:05Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GPS vector data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS receiver vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4609</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4609"/>
		<updated>2007-07-30T08:03:26Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.sbn''' optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive '''&amp;lt;some_vector&amp;gt;.zip''' or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4608</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4608"/>
		<updated>2007-07-30T08:01:55Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile '''&amp;lt;some_vector&amp;gt;''' is actually a set of files:&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shp''' vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''&amp;lt;some_vector&amp;gt;.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
This set of files is often packed into a zip-compressed archive &amp;lt;some_vector&amp;gt;.zip or placed into a unique directory '''../&amp;lt;some_vector&amp;gt;/'''&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4607</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4607"/>
		<updated>2007-07-30T07:57:33Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index data pointing to the vector features&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4606</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4606"/>
		<updated>2007-07-30T07:55:54Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Unlike [http://shapelib.maptools.org/shp_api.html Shapelib] OGR does [http://www.gdal.org/ogr/drv_shapefile.html not support] MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR. Hence GRASS also does not support them. &lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4605</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4605"/>
		<updated>2007-07-30T07:48:10Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (July 1998, Whitepaper) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (May 2001, Whitepaper) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4604</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4604"/>
		<updated>2007-07-30T07:44:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' MultiPatch, PointM, PolyLineM, PolygonM, MultiPointM are [http://www.gdal.org/ogr/drv_shapefile.html not supported] by OGR.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4603</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4603"/>
		<updated>2007-07-30T07:32:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. [http://en.wikipedia.org/wiki/Triangulated_irregular_network TIN]-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4602</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4602"/>
		<updated>2007-07-30T07:30:30Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* ESRI Shapefile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D capable version of PointM&lt;br /&gt;
* PolyLineZ: 3D capable version of PolyLineM&lt;br /&gt;
* PolygonZ: 3D capable version of PolygonM&lt;br /&gt;
* MultiPointZ: 3D capable version of MultiPointM&lt;br /&gt;
&lt;br /&gt;
* MultiPatch: consists of a number of surface patches, each patch describes a surface. TIN-like.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the &amp;quot;measure&amp;quot; or the z-coord may always be ommitted, by specifing the null element. e.g. a PolyLineZ(x,y,0,0) is the same as a PolyLineM(x,y,0) which is the same as PolyLine(x,y)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4601</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4601"/>
		<updated>2007-07-30T06:55:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual, the Wiki topics [[Vector FAQ GRASS6]] and [[Help with 3D#Vector_3D_point_data]].&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4600</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4600"/>
		<updated>2007-07-30T06:52:01Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Linear Reference System (LRS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* GRASS GIS Manual: [http://grass.itc.it/grass63/manuals/html63_user/lrs.html Linear Reference System Tutorial]&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4599</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4599"/>
		<updated>2007-07-30T06:47:49Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background ([http://grass.itc.it/grass63/manuals/grass63vectorlib_2007_07_28_refman.pdf PDF version])&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4598</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4598"/>
		<updated>2007-07-30T06:40:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GRASS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Feb. 2007, Conference Paper) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4597</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4597"/>
		<updated>2007-07-30T06:40:22Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Specs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Sept 2002, Conference-Paper)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4596</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4596"/>
		<updated>2007-07-30T06:36:58Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment, link) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4595</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4595"/>
		<updated>2007-07-30T06:33:18Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Vector Data Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Caveat_emptor Caveat emptor!] Different termionlogy (eg. vertex, node, point or edge, line, line segment) due to different vocabulary in the underlying theories (e.g. linear algebra, graph theory, network theory) of vector data can already lead to great confusion.&lt;br /&gt;
&lt;br /&gt;
The confusion is greatly enhanced by very different implementations of vector data. The following is a programmer's perspective a very informal, yet from a user point of view a rather formal discussion on the most widely-used vectordata structures and formats encountered in FOSS geoformatics.&lt;br /&gt;
&lt;br /&gt;
The reader is assumed to be famililiar with the &lt;br /&gt;
chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in the GRASS GIS Reference Manual.&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4594</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4594"/>
		<updated>2007-07-30T06:09:41Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GRASS 6 Vector Architecture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes/vertices in between). [http://grass.itc.it/grass63/manuals/html63_user/v.build.polylines.html v.build.polylines] creates these.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4593</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4593"/>
		<updated>2007-07-29T20:55:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* SVG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes(vertices) in between)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological, non-spatial W3C vector format standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4592</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4592"/>
		<updated>2007-07-29T20:41:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* GRASS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes(vertices) in between)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological W3C standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;br /&gt;
&lt;br /&gt;
== GPS vector data ==&lt;br /&gt;
&lt;br /&gt;
Waypoints, routes, tracks and laps are examples of data used in GPS receivers.&lt;br /&gt;
&lt;br /&gt;
* '''waypoint''' (WP): point given by its geographic coordinates (usually, user-defined)&lt;br /&gt;
* '''route''' (RT) a sequence of waypoints (usually, user-defined)&lt;br /&gt;
* '''track point''' (TP) a point given by its geographic coordinates with a time-stamp&lt;br /&gt;
* '''track''' (TR) (Lowrance calls it: '''Trail''') is a sequence of '''track points''' recorded by the GPS receiver during a certain time-interval&lt;br /&gt;
&lt;br /&gt;
futher some garmin devices (forerunner?) feature..&lt;br /&gt;
&lt;br /&gt;
* '''lap''' has a time-stamp for its start, a duration, the total distance, the calories spent, the start and stop positions, and an associated track&lt;br /&gt;
* '''run''' a sequence of laps is called a run, and runs are represented in GPSMan by groups that are automatically created when getting laps from the receiver; support for laps in GPSMan exists only for Garmin receivers and must be explicitly selected from the options (receiver parameters) window; &lt;br /&gt;
&lt;br /&gt;
Route stages are the parts of a route between each two consecutive waypoints. Route stages are called edges in Graph Theory, legs in aviation, and links by Garmin&lt;br /&gt;
&lt;br /&gt;
http://www.ncc.up.pt/gpsman/gpsmanhtml/manual/html/GPSMandoc_15.html&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Projection&amp;diff=4591</id>
		<title>Projection</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Projection&amp;diff=4591"/>
		<updated>2007-07-29T20:24:12Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Headline text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Projections and Datum Transformations =&lt;br /&gt;
&lt;br /&gt;
PRJ files (in the usual WKT format) as used by recent versions of ESRI ArcView &lt;br /&gt;
http://esri-germany.de/downloads/software/Koordinatensysteme.zip&lt;br /&gt;
&lt;br /&gt;
http://support.esri-germany.de/files/support/KoordinatensystemeInDeutschland.pdf&lt;br /&gt;
http://support.esri-germany.de/files/support/KoordinatensystemeNachbarnDeutschlands.pdf&lt;br /&gt;
http://support.esri-germany.de/files/support/KoordinatensystemeWeltweit.pdf&lt;br /&gt;
&lt;br /&gt;
http://www.epsg.org/Geodetic.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.alectoria.at/content/view/17/1/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Google Map Projection ==&lt;br /&gt;
http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjection.aspx&lt;br /&gt;
http://cfis.savagexi.com/articles/2006/05/03/google-maps-deconstructed&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4590</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4590"/>
		<updated>2007-07-29T20:08:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Linear Reference System (LRS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes(vertices) in between)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
* R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
* R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
* PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological W3C standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4589</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4589"/>
		<updated>2007-07-29T20:08:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Linear Reference System (LRS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes(vertices) in between)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
PostGIS Reference, Chapter 6 [http://postgis.refractions.net/docs/ch06.html#id2646260 PostGIS Extensions: 6.2.7. Linear Referencing]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological W3C standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4588</id>
		<title>Vector Data</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Vector_Data&amp;diff=4588"/>
		<updated>2007-07-29T19:58:38Z</updated>

		<summary type="html">&lt;p&gt;⚠️Networks: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vector Data Structures = &lt;br /&gt;
&lt;br /&gt;
reading recommendation: chapter [http://grass.itc.it/grass63/manuals/html63_user/vectorintro.html Vector data processing in GRASS GIS] in GRASS GIS Reference Manual&lt;br /&gt;
&lt;br /&gt;
==  GRASS 6 Vector Architecture ==&lt;br /&gt;
&lt;br /&gt;
The GRASS vector data model includes the description of topology, where besides the coordinates describing the location of the primitives (points, lines, boundaries and centroids), their spatial relations are also stored. In general, topological GIS require a data structure where the common boundary between two adjacent areas is stored as a single line, simplifying the map maintenance.&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* point&lt;br /&gt;
* line: directed sequence of connected vertices with 2 endpoints called nodes&lt;br /&gt;
&lt;br /&gt;
* boundary: the border line to describe an area&lt;br /&gt;
* centroid: a point within a closed boundary (missing centroids can be created with '''v.centroids''')&lt;br /&gt;
* area: the topological composition of centroid and boundary&lt;br /&gt;
&lt;br /&gt;
* face: a 3D area;&lt;br /&gt;
&lt;br /&gt;
Further following vector objects are defined, but not yet fully implemented/used:&lt;br /&gt;
* kernel: a 3D centroid in a volume (exists, but currently mostly unused)&lt;br /&gt;
* volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' all lines and boundaries can be polylines (with nodes(vertices) in between)&lt;br /&gt;
&lt;br /&gt;
=== Data Structure === &lt;br /&gt;
&lt;br /&gt;
a vector map(layer?) '''&amp;lt;some_vector&amp;gt;''' is stored in the directory '''$MAPSET/vector/&amp;lt;some_vector&amp;gt;'''.&lt;br /&gt;
This directory normally contains the files listed below.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#head_file_format head]: ASCII file with header information; this is more or less the stuff that '''v.info''' displays.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_attributes dbln]: ASCII file that link(s) to attribute table(s)&lt;br /&gt;
&lt;br /&gt;
* /hist: ASCII file with vector map change history. '''v.info -h''' can be used to dispay this file.&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#coor_file_format_specification coor]: binary file for storing the coordinates&lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#topo_file_format topo]: binary file for topology &lt;br /&gt;
&lt;br /&gt;
* /[http://mpa.itc.it/markus/grass63progman/Vector_Library.html#vlib_cidx cidx]: binary category index&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The creation of certain files can be disabled. The '''-t''' flag suported by v.in.ogr and v.in.ascii disables the creation of an attribute table. The '''-b''' flag supported by r.to.vect and v.in.ascii disables the creation of a topology file. This is [http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877 needed] and useful e.g. for very large datasets (&amp;gt; 3 million points). The user is expected to understand what s/he is doing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Linear Reference System (LRS) ===&lt;br /&gt;
&lt;br /&gt;
/*TODO*/&lt;br /&gt;
&lt;br /&gt;
R. Blazek: [http://www.j-geoinfo.net/Content/fulmar05/IJG_095-100.pdf Introducing the Linear Reference System in GRASS] (March 2005, Int'l Journal of Geoinformatics, Vol. 1(3), pp. 95-100)&lt;br /&gt;
R. Blazek: [http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50 Introducing the Linear Reference System in GRASS] (Sept 2004, Conference Paper)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
http://en.wikipedia.org/wiki/Linear_Reference_System&lt;br /&gt;
http://grass.itc.it/grass63/manuals/html63_user/lrs.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/lrs.html&lt;br /&gt;
 http://pgrouting.postlbs.org/&lt;br /&gt;
&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.lrs/lib/&lt;br /&gt;
http://postgis.refractions.net/pipermail/postgis-users/2006-July/012537.html&lt;br /&gt;
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.lrs/MAIL&lt;br /&gt;
&lt;br /&gt;
Linear referencing is a natural and convenient means to associate attributes or events to locations or portions of a linear feature. It has been widely used in transportation applications (such as for highways, railroads, and transit routes) and utilities applications (such as for gas and oil pipelines). The major advantage of linear referencing is its capability of locating attributes and events along a linear feature with only one parameter (usually known as measure) instead of two (such as latitude/longitude or x/y in Cartesian space). Sections of a linear feature can be referenced and created dynamically by indicating the start and end locations along the feature without explicitly storing them. http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96630/sdo_lrs_concepts.htm --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* http://mpa.itc.it/markus/grass63progman/Vector_Library.html#background&lt;br /&gt;
* R. Blazek, M. Neteler, R. Micarelli: [http://www.ing.unitn.it/~grass/conferences/GRASS2002/proceedings/proceedings/pdfs/Blazek_Radim.pdf The new GRASS 5.1 vector architecture] (Conference-Paper, Sept 2002)&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://www.intevation.de/rt/webrt?display=History&amp;amp;serial_num=3877&lt;br /&gt;
* http://www.gdal.org/ogr/drv_grass.html&lt;br /&gt;
* [[Vector FAQ GRASS6]] and [[Help_with_3D#Vector_3D_point_data]]&lt;br /&gt;
* http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node46.html&lt;br /&gt;
* J. Čepický, M. Landa: [http://gislab.dirap.unipa.it/grass_meeting/articoli/grass-digit.pdf GRASS GIS Digitization Tools] (Conference Paper, Feb. 2007) focuses on v.digit, v.edit and QGIS/GRASS&lt;br /&gt;
&lt;br /&gt;
==  ESRI Shapefile ==&lt;br /&gt;
&lt;br /&gt;
A [http://en.wikipedia.org/wiki/Shapefile shapefile] stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of&lt;br /&gt;
vector coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* MultiPoint: a set of points&lt;br /&gt;
&lt;br /&gt;
* PolyLine: A PolyLine is an ordered set of vertices that consists of one or more parts. A part is a connected sequence of 2 or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another.&lt;br /&gt;
&lt;br /&gt;
* Polygon: A polygon consists of 1 or more rings. A ring is a connected sequence of 4 or more points that form a closed, non-self-intersecting loop.&lt;br /&gt;
&lt;br /&gt;
* PointM: Point plus support for a Measure (cf. [http://lists.maptools.org/pipermail/gdal-dev/2002-December/000047.html Measure in shape file])&lt;br /&gt;
* PolyLineM: Point plus support for a Measure&lt;br /&gt;
* PolygonM: Point plus support for a Measure&lt;br /&gt;
* MultiPointM: MultiPoint plus support for a Measure&lt;br /&gt;
&lt;br /&gt;
* PointZ: 3D PointM&amp;lt;!-- or is it just 2.5D ?? ..mmh should consult the literature --&amp;gt; &lt;br /&gt;
* PolyLineZ: 3D PolyLineM&lt;br /&gt;
* PolygonZ: 3D PolygonM&lt;br /&gt;
* MultiPointZ: 3D MultiPointM&lt;br /&gt;
* MultiPatch: A MultiPatch consists of a number of surface patches. Each surface patch describes a surface.&lt;br /&gt;
&lt;br /&gt;
=== Data Structure ===&lt;br /&gt;
&lt;br /&gt;
a shapefile is actually a dataset of files:&lt;br /&gt;
* '''.shp''' vector features&lt;br /&gt;
* '''.shx''' feature index&lt;br /&gt;
* '''.dbf''' attributes in [http://www.clicketyclick.dk/databases/xbase/format/index.html dBase DB] format&lt;br /&gt;
* '''.prj''' ASCII file with projection info in [http://en.wikipedia.org/wiki/Well-known_text WKT] format&lt;br /&gt;
&lt;br /&gt;
* .sbn optional spatial index file&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf Shapefile Technical Description] (Whitepaper, July 1998) ([http://shapelib.maptools.org/dl/shapefile.pdf mirrored copy])&lt;br /&gt;
* ESRI: [http://www.esri.com/library/whitepapers/pdfs/lrds_arcgis.pdf Linear Referencing and Dynamic Segmentation in ArcGIS 8.1] (Whitepaper, May 2001) (has a section called &amp;quot;Routes and Measures&amp;quot;, that explains measures in shapefiles)&lt;br /&gt;
&lt;br /&gt;
* http://www.gdal.org/ogr/drv_shapefile.html&lt;br /&gt;
* http://shapelib.maptools.org/&lt;br /&gt;
&lt;br /&gt;
== OpenGIS Simple Features ==&lt;br /&gt;
&lt;br /&gt;
is a widely implemented nontopological standard. The internal data representation of [OGR] is closely modeled after it, [http://postgis.refractions.net/ PostGIS] is a PostgreSQL implemenation and the [http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html Spatial Extentions] of MySQL implement it too, etc..&lt;br /&gt;
&lt;br /&gt;
The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* Point&lt;br /&gt;
* LineString&lt;br /&gt;
* Polygon&lt;br /&gt;
* Multipoint&lt;br /&gt;
* Multipolygon&lt;br /&gt;
* GeomCollection&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
* OpenGIS: [http://www.opengis.org/docs/99-049.pdf Simple Features Specifications For SQL]&lt;br /&gt;
* http://www.opengeospatial.org/standards&lt;br /&gt;
* http://en.wikipedia.org/wiki/Simple_Features&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* [http://grass.itc.it/gdp/html_grass63/v.external.html v.external]&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.in.ogr.html&lt;br /&gt;
* http://grass.itc.it/gdp/html_grass63/v.out.ogr.html&lt;br /&gt;
&lt;br /&gt;
== SVG ==&lt;br /&gt;
&lt;br /&gt;
is a non-topological W3C standard. The following vector objects are defined:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/TR/SVG/paths.html path]: represents the outline of a shape&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#LineElement line]: a (directed?) line segment that starts at one point and ends at another.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolylineElement polyline]: a set of connected straight line segments. typically, it defines open shapes.&lt;br /&gt;
* [http://www.w3.org/TR/SVG/shapes.html#PolygonElement polygon]: a closed shape consisting of a set of connected straight line segments.&lt;br /&gt;
* rect: defines a rectangle shape&lt;br /&gt;
* circle&lt;br /&gt;
* ellipse&lt;br /&gt;
&lt;br /&gt;
=== Specs ===&lt;br /&gt;
[http://www.w3.org/TR/SVG/ Scalable Vector Graphics (SVG) 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
=== GRASS ===&lt;br /&gt;
* http://grass.itc.it/grass63/manuals/html63_user/v.out.svg.html and http://svg.cc/grass/&lt;br /&gt;
* [[GRASS vector export to Inkscape]]&lt;/div&gt;</summary>
		<author><name>⚠️Networks</name></author>
	</entry>
</feed>