1946 - Convert vector data to raster format and back using the GIS software

Convert vector data to raster format and back using the GIS software

Concepts

  • [AM13-4] Vector-to-raster and raster-to-vector conversions
    Any vector data containing point, polyline, polygon can be converted into the raster dataset and vice versa. The vector data can be stored in shapefiles, databases or various others GIS file formats. The raster data are made of pixels or grid calls and can be represented by the discrete - categorical data (e.g. land cover map) or non-discrete - continuous data (e.g. satellite images, surface data). The process of conversion of vector to raster data is called rasterization. The vector to raster conversion requires the following parameters: the field value from the attribute table used to assign values to the output raster, the pixel size for the output raster, the output raster format (i.e. geotiff, img) and optionally the method of assigning values of point, polyline or polygon to the call raster, i.e. maximum length or area, cell centre. The output of the rasterised vector looks like a gridded version of the vector and it depends on the grid cell size. The process of vectorisation refers to the conversion of raster to vector dataset. The raster dataset can be converted to vector point, polyline or polygon. In order to convert raster to vector the following parameters should be provided: attribute field of the input raster dataset which will become an attribute in the output vector class, determining if the output polygon or polyline will be smoothed into simpler shapes or conform to the input raster's cell edges (stair stepping). For each raster pixel or grid cell a point will be created at the centre of the cell. The non-discrete continuous raster data have to converted to the categorical data type before converting to vector data. The conversion of vector to raster and raster to vector degrade the data to some extent causing loss of details, accuracy, and changing the original data.