[GRASS-user] r.contour generates no lines
Hanlie Pretorius
hanlie.pretorius at gmail.com
Fri May 7 07:53:17 EDT 2010
Hi,
I tried to create contours from a DEM with the following information:
| Type of Map: raster Number of Categories: 255
| Data Type: FCELL
| Rows: 9856
| Columns: 4844
| Total Cells: 47742464
| Projection: Transverse Mercator
| N: -3704977.57894189 S: -3803537.57894189 Res: 10
| E: -15589.63705055 W: -64029.63705055 Res: 10
| Range of data: min = -39.681747 max = 1084.584839
The command I used was:
r.contour --overwrite input=ct_dem_10m at PERMANENT
output=ct_contours_100m at PERMANENT step=100 cut=2000
However, the resulting vector file contains no lines. This is the
output of v.info:
| Type of Map: vector (level: 2)
|
| Number of points: 0 Number of areas: 0
| Number of lines: 0 Number of islands: 0
| Number of boundaries: 0 Number of faces: 0
| Number of centroids: 0 Number of kernels: 0
|
| Map is 3D: Yes
| Number of dblinks: 1
|
| Projection: Transverse Mercator
| N: 0 S: 0
| E: 0 W: 0
| B: 0 T: 0
The attribute table does contain 10 categories starting from 100m and
ending at 1000m.
Leaving out the cut parameter doesn't change anything.
Any ideas about why the file contains no features?
Thanks
Hanlie
More information about the grass-user
mailing list