#2239: GRASS 7: v.to.rast -d produces empty raster when used on areas
--------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.to.rast
CPU: Unspecified | Platform: All
--------------------------+-------------------------
Comment (by mmetz):
Replying to [ticket:2239 sbl]:
> Converting areas from vector to raster (v.to.rast) with the -d flag
(dense lines) results in an empty raster map.
Converting areas and densifying lines is mutually exclusive. Line
densification is now (trunk r67918) disabled if areas are converted.
>
> This is probably/likely because boundaries are not lines in a topolgical
sense.
You can now convert boundaries with
{{{
v.to.rast type=boundary layer=-1 use=val
}}}
>
> In any case, it would be helpful to catch this behavior at least using a
warning/error message and by adding information to the manual.
Done in trunk r67918.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2239#comment:2>
GRASS GIS <https://grass.osgeo.org>