[GRASS-user] v.to.rast densify option gives null output
Markus Metz
markus.metz.giswork at gmail.com
Fri Feb 21 02:23:45 PST 2014
On Fri, Feb 21, 2014 at 10:49 AM, RichardCooper <richtcooper at hotmail.com> wrote:
> Hi,
>
> When I use the -d flag in v.to.rast, cells output are null. Omitting the -d
> flag works fine for rasterization with default thin lines.
The -d option of v.to.rast works only for lines, not for boundaries.
You would need to convert the boundaries to lines and then use
v.to.rast type=line -d.
Markus M
>
> Not sure how to resolve. Is there an alternative GRASS module that can do
> the same?
>
> Cheers,
> Richard
> GRASS GIS 7.0 svn / rev 57721 / python 2.7.3
> Mint Linux / Ubuntu Precise
>
>
> Example of output:
> v.to.rast -d --overwrite input=waterways_finaledit at PERMANENT type=area
> output=waterways_finaledit_vtr_dense use=val value=5
> Pass 1 of 3:
> Reading areas...
> Reading features...
> Writing raster map...
> Pass 2 of 3:
> Reading areas...
> Writing raster map...
> Pass 3 of 3:
> Reading areas...
> Writing raster map...
> Converted areas: 8415 of 13694
> v.to.rast complete.
>
>
> Type of Map: raster Number of Categories: 0 |
> | Data Type: CELL
> |
> | Rows: 11319
> |
> | Columns: 7737
> |
> | Total Cells: 87575103
> |
> | Projection: UTM (zone 47)
> |
> | N: 2379330 S: 1360620 Res: 90
> |
> | E: 971010 W: 274680 Res: 90
> |
> | Range of data: min = NULL max = NULL
> |
> |
> |
> | Data Source:
> |
> | Vector Map: waterways_finaledit at PERMANENT
> |
> | Original scale from vector map: 1:1
> |
> |
> |
> | Data Description:
> |
> | generated by v.to.rast
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/v-to-rast-densify-option-gives-null-output-tp5105039.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list