<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/index.php?action=history&amp;feed=atom&amp;title=DEM_to_contour_lines</id>
	<title>DEM to contour lines - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/index.php?action=history&amp;feed=atom&amp;title=DEM_to_contour_lines"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=DEM_to_contour_lines&amp;action=history"/>
	<updated>2026-05-10T15:45:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=DEM_to_contour_lines&amp;diff=20728&amp;oldid=prev</id>
		<title>Neteler: New</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=DEM_to_contour_lines&amp;diff=20728&amp;oldid=prev"/>
		<updated>2014-09-02T11:28:11Z</updated>

		<summary type="html">&lt;p&gt;New&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== From DEM to vector contour lines ==&lt;br /&gt;
&lt;br /&gt;
The extraction of isolines (in the case of an elevation surface, contours), can be derived from raster data using the module {{cmd|r.contour}}. Bu default, the module determines the minimum and the maximum isoline values for a given raster map. The isoline/contour interval should be provided by the step parameter.&lt;br /&gt;
&lt;br /&gt;
Example: generate contours with a 10m interval from the raster map &amp;quot;elevation&amp;quot; (North Carolina [http://grass.osgeo.org/download/sample-data/ sample dataset]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# set the computational region&lt;br /&gt;
g.region rast=elevation -p&lt;br /&gt;
&lt;br /&gt;
r.contour elevation out=elev_contour_10m step=10&lt;br /&gt;
&lt;br /&gt;
# visualize&lt;br /&gt;
d.mon x0&lt;br /&gt;
d.erase&lt;br /&gt;
d.rast elevation&lt;br /&gt;
d.vect elev_contour_10m&lt;br /&gt;
d.barscale -mt&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The resulting contour lines are now stored in the vector map &amp;quot;elev_contour_10m&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Contour lines from DEM.png|center]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Contour lines to DEM]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Vector]]&lt;/div&gt;</summary>
		<author><name>Neteler</name></author>
	</entry>
</feed>