|
@@ -6,10 +6,11 @@ intermediate layers showing the build up of different spectral coefficients
|
|
|
(see Saupe, pp.106-107 for an example of this).
|
|
|
|
|
|
<p>
|
|
|
-Use this module to generate naturally looking synthetical elevation models
|
|
|
+This module generates naturally looking synthetical elevation models
|
|
|
(DEM).
|
|
|
|
|
|
<h2>NOTE</h2>
|
|
|
+
|
|
|
This module requires the <a href="http://www.fftw.org">FFTW library</a>
|
|
|
for computing Discrete Fourier Transforms.
|
|
|
|
|
@@ -19,7 +20,7 @@ Generate surface using fractals in selected region, set color table and
|
|
|
display with shade.
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-g.region raster=elevation
|
|
|
+g.region -p raster=elevation
|
|
|
|
|
|
r.surf.fractal output=fractals
|
|
|
|
|
@@ -59,9 +60,11 @@ r.info -r dem_d2_90
|
|
|
r.mapcalc "dem_d2_90_final = 1.0 * dem_d2_90 + abs(min(dem_d2_90))"
|
|
|
r.colors dem_d2_90_final color=terrain
|
|
|
r.slope.aspect dem_d2_90_final aspect=dem_d2_90_final_as
|
|
|
+</pre></div>
|
|
|
|
|
|
-d.mon x0
|
|
|
-d.erase -f
|
|
|
+<!--
|
|
|
+d.mon wx0
|
|
|
+d.erase
|
|
|
d.split.frame
|
|
|
d.frame -s uno
|
|
|
d.rast dem_d2_0005_final
|
|
@@ -71,7 +74,7 @@ d.frame -s tres
|
|
|
d.rast dem_d2_90_final
|
|
|
d.frame -s cuatro
|
|
|
d.rast dem_d2_90_final_as
|
|
|
-</pre></div>
|
|
|
+-->
|
|
|
|
|
|
<center>
|
|
|
<img src="r_surf_fractal.jpg" alt="Artificial DEMs created with fractals"><br>
|
|
@@ -82,20 +85,22 @@ top: fractal dimension d=2.90 (left: elevation map, right: aspect map)
|
|
|
|
|
|
|
|
|
<h2>REFERENCE</h2>
|
|
|
- Saupe, D. (1988) Algorithms for random fractals, in Barnsley M.,
|
|
|
+
|
|
|
+Saupe, D. (1988) Algorithms for random fractals, in Barnsley M.,
|
|
|
Devaney R., Mandelbrot B., Peitgen, H-O., Saupe D., and Voss R.
|
|
|
(1988) The Science of Fractal Images, Ch. 2, pp.71-136. London:
|
|
|
Springer-Verlag.
|
|
|
|
|
|
<h2>SEE ALSO</h2>
|
|
|
|
|
|
-<em><a href="r.surf.contour.html">r.surf.contour</a></em>,
|
|
|
-<em><a href="r.surf.idw.html">r.surf.idw</a></em>,
|
|
|
-<em><a href="r.surf.gauss.html">r.surf.gauss</a></em>,
|
|
|
-<em><a href="r.surf.random.html">r.surf.random</a></em>,
|
|
|
-<em><a href="r.surf.idw2.html">r.surf.idw2</a></em>,
|
|
|
-<em><a href="v.surf.idw.html">v.surf.idw</a></em>,
|
|
|
-<em><a href="v.surf.rst.html">v.surf.rst</a></em>
|
|
|
+<em>
|
|
|
+<a href="r.surf.contour.html">r.surf.contour</a>,
|
|
|
+<a href="r.surf.idw.html">r.surf.idw</a>,
|
|
|
+<a href="r.surf.gauss.html">r.surf.gauss</a>,
|
|
|
+<a href="r.surf.random.html">r.surf.random</a>,
|
|
|
+<a href="v.surf.idw.html">v.surf.idw</a>,
|
|
|
+<a href="v.surf.rst.html">v.surf.rst</a>
|
|
|
+</em>
|
|
|
|
|
|
<h2>AUTHOR</h2>
|
|
|
|