Hi Maris,<div><br></div><div>Many thanks for the advice. Further, i am going to use r.surf.contour to generate a raster elevation DEM for viewshed analysis. The grass vector contour layer that i have needs to be converted to raster contour. For this i tried using v.to.rast function. Elevation field of contour layer is; EL_Elevati which is a double precision data type. Following are the parameters i used:</div>
<div><br></div><div>v.to.rast input = terrain@topo1K type = line output = rasterCont use=attr attrcolumn = EL_Elevati labelcolumn = cat</div><div><br></div><div>However, when i run this it gives following error:</div><div>
<br></div><div>dbmi: protocol error</div><div>ERROR: Column <EL_Elevati> not found</div><div><br></div><div>Any suggestion on this is appreciated.</div><div><br></div><div>Cheers, Brian.<br><br><div class="gmail_quote">
On Sun, Jan 13, 2013 at 2:10 PM, Maris Nartiss <span dir="ltr"><<a href="mailto:maris.gis@gmail.com" target="_blank">maris.gis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
there are two options:<br>
1st - join both datasets into single one (GRASS vectors can contain<br>
different geometries in single vector dataset) and use v.surf.rst (it<br>
will use both line and point data)<br>
2nd - convert lines to points with v.to.points and then join into<br>
single point dataset. Interpolate with any tool.<br>
<br>
Good luck,<br>
Maris.<br>
<br>
2013/1/12 Brian Sanjeewa Rupasinghe <<a href="mailto:jinkabs@gmail.com">jinkabs@gmail.com</a>>:<br>
<div><div class="h5">> Hi all,<br>
><br>
> have two shape files containing height information of a certain area. One<br>
> file consists of height information in contours (isolines) and the othesr<br>
> file consists of height information with spot heights. In order to create a<br>
> complete DEM i need heights of both layers. I need to create a raster DEM<br>
> with winGRASS 7 using these information. What would be the best technique to<br>
> generate raster DEM with these two types of data? Do i need to generate some<br>
> spot heights from contours and then integerate with existing spot heights<br>
> for DEM generation or any other method?<br>
><br>
> Cheers, Brian<br>
><br>
</div></div>> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>
</blockquote></div><br></div>