Re: [GRASS-user] r.contour generates no lines

2010-05-08 Thread Markus Neteler
On Fri, May 7, 2010 at 1:53 PM, Hanlie Pretorius
hanlie.pretor...@gmail.com wrote:
 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

...
 However, the resulting vector file contains no lines. This is the
 output of v.info:

please check if the current region (g.region -p) matches the map
or a subset.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] r.contour generates no lines

2010-05-07 Thread Hanlie Pretorius
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.57894189S: -3803537.57894189   Res:10
 |E: -15589.63705055W: -64029.63705055   Res:10
 |   Range of data:min = -39.681747  max = 1084.584839

The command I used was:
r.contour --overwrite input=ct_dem_...@permanent
output=ct_contours_1...@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: 0S: 0
 |   E: 0W: 0
 |   B: 0T: 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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user