Converting a (WAsP) vector map to a raster map with GRASS GIS

المشرف العام

Administrator
طاقم الإدارة
i'm quite new to GIS and i need to convert roughness data which is available in a vector format to a raster format.The final data should be on a simple 2-dimensional uniform grid with a constant grid spacing (e.g. dx=5 m).

The ASCII data i got stems from WAsP (www.wasp.dk, i have to say that i'm not familiar with that software) and looks like this:

+Header Line.....
r1 r2 n_points
x_coord y_coord
x_coord y_coord
.
.
.
r1 r2 n_points
x_coord y_coord
x_coord y_coord
.
.
.


Each block which represents a single contour line starts with

r1 r2 n_points

with r1 and r1 beeing the roughness lengths on each side of the respective contour line (at least that is what i understood, please correct me if i'm wrong).Then, a number of lines with coordinates follow (specified by n_points).

A short example looks like this:

+ROUGHNESSLINE_Example_rev.map, UTM ED50: 30
0.0486 0.0005 4
493311.25 4734138.94
493288.07 4734099.07
493286.78 4734211.83
493311.25 4734138.94
0.0486 0.0005 6
491944.89 4735208.59
492333.00 4735053.20
492491.06 4735022.18
492603.91 4734987.23
492694.66 4734938.88
492763.81 4734852.70


My question is, can i perform this conversion with GRASS GIS? And how?According to the GRASS Wiki, this should be possible. (http://grasswiki.osgeo.org/wiki/Importing_data -> http://www.gdal.org/ogr_formats.html (scroll down))

I can use both GRASS GIS 6.4.3 and 7.0.1.



أكثر...
 
أعلى