I have a vector layer (points) that I rasterized based on one attribute of the vector layer. I chose the GRASS GIS 7 command : v.to.rast.attribute. The raster layer appears in the map, but is not very readable.
Here is the original vector layer (points) :
Here is the rasterized result (based on one attribute of the layer) :
I would like to make the points bigger in the raster.
Answer
Raster format is not the best format to display points: you should display your data with points. That being said, you have two solutions :
1) change the rasterization settings by selecting a larger pixel size as an output. With v.to.rast you must first define the resolution of the region ( g.region vector=your_vector res=5000 -p -a), with gdal_rasterize you can use the -tr option). Points will look like squares.
2) create buffers (polygons) aroud your points and convert the buffers to raster. You will have circles, but one point will give you more than one pixel.
In both cases, you will have only one value per pixel, so this might be an issue when your points symbols currently overlap
No comments:
Post a Comment