I went straight into MerseyViking's answer and dared to go the command line way and didn't try underdarks proposal so far.
- I opend the layer informations and copied the BoundingBox
informations for my point layer from the Metadata-Tab.
In Bezugssystemeinheiten des Projekts : xMin,yMin
4494905.00;5646140.00 : xMax,yMax 4499105.00;5648025.00
For the convenience of not to have another program to store my steps, i used the
qnote plugin to keep track of my actions, so i copied the data there
- Next i copied the example from MerseyViking
gdal_rasterize -3d -te 997.5 1997.5 2502.5 3252.5 -tr 5.0 5.0 -ot
Float32 -l heights dem.shp dem.tif
and then changed the parts piece by piece to adopt the example to my data.
As is have a point shape with the hight in a field named
Hoehe i have to substitute the
-3d with the
-a Hoeheand remove the part with
- Then i copied my coordinates from the metadata in the exact order
into the command line draft.
I was told to extend my
area by 2.5 meters to get the outer rows of points included, i
manipulated the coordinates following this pattern:
xMin = xMin-2.5 ; yMin = yMin-2.5 ; xMax = xMax=xMax+2.5 ; yMax =
(or the other way around, i'm still confused)
The resulting command line for my example looks like this:
gdal_rasterize -a Hoehe -te 4494902.5 5646137.5 4499107.5 5648027.5
-tr 5.0 5.0 -ot Float32 C:/Users/vogelbe/Documents/TEMP/DGM_Vektor_p/DGM_Vektor_p.shp
Then i started the OSGeo4w command line shell from the desktop link and pasted the line.
It took approximately 3 seconds to create the raster file (ok, i leave out all my attempts till i finally succeeded)
I loaded the raster image into qgis and it really perfectly fits.
The last step was only a half success:
Vectorizing the raster back, so i get the cells as polygons with Raster -> Conversion -> Raster to Vector produces a vector layer, where all adjacent cells with the same hight value are dropped into a single polygon.
This conversion was really quick as well, and actually i think, for further actions on the data, these polygons are as fine as having single polygons for each point.
So, i am happy :)
Thanx a lot for you answers.