Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rasterization]

The process of turning a vector into its raster equivalent

1
vote
1answer
22 views

Convert point layer to raster QGIS 3

I have a .csv-file containing x and y-coordinates as well as different variables with attributes (var1 to var3). The csv looks like that: Loading the data into QGIS with Add Layer → Add ...
1
vote
1answer
20 views

R: rasterize SpatialPolygonsDataFrame and keep factor field

I want to rasterize a SpatialPolygonsDataFrame and keep the values of a factor column. Consider the following code (from Processing vector to raster faster with R): library('raster') library('rgdal'...
2
votes
1answer
43 views

r.surf.contour for large area

I have a vector file containing contour with 2m accuracy, covering a large area (All Hong Kong). I tried to generate an elevation raster map with the file, by first rasterized the vector, using v.to....
0
votes
0answers
22 views

Making grid files (minimum curvature) from point data in QGIS?

Is there any way to make a grid file from point data (shape file) in QGIS? I mean by grid a colored raster file like Geosoft .grd or ERMAPPER .ers file or like. Minimum curvature would be ...
2
votes
0answers
86 views

Rasterizing polygon grid in Python (geopandas & rasterio)

I am trying to rasterize a custom polygon grid with one or more columns. Preferably I'd like to create multiband rasters from multiple GeoDataFrame columns (in polygon grid), but I have got stuck even ...
3
votes
1answer
76 views

What does the vector to raster option in QGIS do, exactly?

I have a large point vector layer (a few million objects) with measured elevation values and have converted it to raster, using the raster>conversion>(vector to raster) option in QGIS. It seems to ...
1
vote
0answers
22 views

Converting vector to raster on-the-fly using GRASS?

EDIT: I later realized that, instead of creating multiple 256 x 256 tiles, I could just create a single image to overlay on the entire map. However, I'd still like to know if there are better ways to ...
0
votes
0answers
19 views

Polygon to Raster conversion: Raster shifted ~10m horizontally. How to fix?

I converted a number of polygons into a raster. The cell size is correct but the raster has shifted ~10m horizontally. Is there an issue with my method or is there a tool I can use to fix this?
1
vote
1answer
39 views

Rasterize produces wrong result - R

I am trying to rasterize a polygon in R using teh rasterize function but the output is not correct. I am comparing the result with the output produced by the rasterize tool available in QGIS May data ...
1
vote
0answers
49 views

How to render vector data with muliple geometry types to georefrenced raster

I am using OSM vector data which has been converted into shapefiles. I have polygons representing buildings, landuse and lines representing roads as shown bellow: I want to assign some symbology to ...
2
votes
1answer
35 views

Why does fasterize gives different output for multipolygons with and without internally resolved boundaries?

I was thrilled to be clued into the package fasterize, which speeds up the rasterization process in R tremendously. However, I cannot figure out why the fasterize() function outputs two different ...
0
votes
2answers
81 views

How to convert multiple shapefiles of different geometries into a georeferenced raster

I have multiple shapefiles extracted from OSM vector data, as shown in the image bellow: How can I render this into a raster of a specified resolution? Is there a way to do that using QGIS or ...
0
votes
0answers
20 views

How to use gdal_rasterize to get the file *.tif?

Good afternoon! Can someone tell me how to properly rasterize isolines with an absolute height value in qgis, when using "gdal_rasterize" in the source code I got tiff with "holes"((
0
votes
0answers
24 views

Converting line vector layer to raster with pixellate.psp creating missing data?

The following example converts a line vector layer (road network) into a density raster. It seems to be working for others, but it looks like it's creating data gaps at my resolution (50m). library(...
0
votes
0answers
18 views

Using Polygon to raster (folder)?

I'm having a problem when trying to convert "Polygon to Raster (folder)" on ArcGIS 10.5 ( SDM Toolbox v2.3). Why are all output rasters much smaller than the input polygon?
0
votes
0answers
45 views

Rasterizing vector layer (polygon) in ArcGIS Desktop?

I am using ArcGIS Desktop 10.6. While rasterizing my vector layer, lots of noise creates, I remove most of them by applying different cell sizes and the best one is 45. The only problem left is the ...
0
votes
1answer
32 views

Rasterizing MULTIPLE vector layers in same “grid” so I can do a regression of sorts across pixel units?

For my research, I have collected a bunch of climatic data from my state in vector form. I also have my raster data, which is about 60 points around the state that have a binary assignment of yes/no. ...
1
vote
1answer
71 views

Vector Rasterize error using QGIS?

I am attempting to convert vector files to raster format in QGIS using the Rasterize tool and am receiving the error: ERROR 1: Wrong value for -tr parameter. I have attached an image of the ...
1
vote
1answer
32 views

Rasterize the full area of a polygon, not only midpoints, using R [duplicate]

The default function in raster::rasterize is to see if a point is within a polygon and if yes, make a cell. This results in that some of the outer parts of the polygon is not covered by the new raster....
1
vote
1answer
42 views

Rasterize point layer with weighted distance

I have a point layer representing wells in a region. i am able to rasterize it and write the well density into the raster as integer, so far so good. What I aim for is to create a raster with values ...
1
vote
0answers
104 views

Vector Rasterize Error

I am running QGIS 3.4.4 With GRASS 7.4.4 and I get an error while rasterizing a vector layer and I don't know why. The same error pops up while using GDAL->Rasterize(vector to raster) and while using ...
2
votes
1answer
49 views

QGIS3 saved Raster layer is “skewed” or aspect ratio is wrong

I'm trying to export two layers based on the current view or "extent": A black and white "raster" derived from some vector data A map layer (Bing, Google, osm, etc) The issue I'm having is that the ...
0
votes
1answer
154 views

QGIS 3.4 - Rasterize creates layers with 1.79769e+ 308 min/max values

I have tried searching on here for my issues, read many threads, but to no avail. Essentially, I am trying to convert a line feature to a raster so that I can run proximity on it - because I want to ...
0
votes
0answers
37 views

Rasterizing a point layer without using an attribute field

I am following the "QGIS by Example" text book and a task requires that a point layer is rasterized using the following GDAL code gdal_rasterize -l layer name -burn 1 -a_nodata 0 -te coordinates - ...
0
votes
1answer
59 views

How to perform shapefile/raster integrated functions

Description: I'm having trouble with some Raster/Shapefile manipulation. My problem is that I have a shapefile that I would like to use to update my rastervalues with. The shapefile has multiple ...
1
vote
0answers
96 views

QGIS: error in conversion from vector to raster

I've having troubles with the raster conversion from a vector polygonal file. This is the error in the log window: INFO GDAL execution console output ERROR 1: Wrong value for -...
3
votes
1answer
353 views

Rasterize (vector to raster) QGIS 3.4

I am trying to rasterize a vector with the QGIS 3.4 rasterize tool (not saga or grass tools). I prefer using this tool cause it is much faster. The values which i would like to burn are found in the "...
1
vote
0answers
124 views

Rasterizing shapefile with rasterio and gdal gives all cells 0 values [closed]

I am trying to rasterize my shapefile (20 polygons) with rasterio and fiona and turn the new raster into a mask for clipping. I need to rasterize my all polygons in my shapefile and turn on mask ...
1
vote
1answer
226 views

Convert a vector file to an RGB raster using gdal_rasterize without filling polygons

I am trying to convert a vector file that includes polygons to an RGB raster using gdal_rasterize without filling the polygons. Is there a way to do this? For example, I use the following command to ...
1
vote
1answer
174 views

Inconsistencies in R rasterize polygons, packages raster and sf

I was trying to calculate species richness from IUCN distribution data in R, and I decided to check my results with two different methods, both of which rely on rasterize function from the raster ...
0
votes
1answer
45 views

Raster from a set of Points keeping the resolution

I have a database with some points covering the earth surface and I want to build a raster (GeoTIFF using gdal_rasterize) which mantains the same spatial resolution of the input points (so without ...
0
votes
1answer
63 views

ArcMap “Polyline to Raster” output is empty greyscale raster

I have a polyline shapefile of streams that I am attempting to convert to a raster using the "Polyline to Raster" conversion tool. However, rather than outputting a raster with distinct stream pixels, ...
1
vote
1answer
123 views

How can one create a binary image from a FeatureCollection in Google Earth Engine?

I have been trying to find a solution for this for quite some time now based on ee.FeatureCollection.reduceToImage, but I don't seem to be able to find it... Suppose you have a region of interest ...
2
votes
0answers
72 views

Converting single point layer to buffered raster using QGIS?

I'm trying to use the proximity tool to create a distance raster from a single vector point. I found here: Calculating distance to points in QGIS and [d-3] Create Proximity Raster. However, I couldn't ...
2
votes
2answers
141 views

How do I assign a unique ID area to an area of a shapefile so I can rasterize it?

I have a shapefile (which can be downloaded from this dropbox link) that I'd like to rasterize so I can merge it with some non-geographic data (I have the code to do this already). Unfortunately, the ...
1
vote
1answer
82 views

Parallel rasterizing with GetCover option? [closed]

I'm trying to rasterize a shapefile in parallel using the solution from this post: Processing vector to raster faster with R However, this fails to give the correct answer when the GetCover = T in ...
1
vote
0answers
84 views

Create raster layer from points with PostGIS

I'm pretty new to this part of GIS; I have a layer of points that represent cell phone towers; with a given distance to simulate coverage, how can I transform that represented coverage into a raster? ...
1
vote
1answer
98 views

Create raster in QGIS using categorical attribute

I have been trying to create a grid, or raster, from point data which has a variety of classes (ie, I am trying to grid a categorical attribute). Strangely (to me) using Interpolate (SAGA, cubic ...
3
votes
1answer
266 views

Rasterizing vector shapefiles using multiple burn in values

I have a vector shapefile of a geographic area that contains several different object codes that I need to rasterize all as one image. I am working with QGIS, but the Raster>conversion tool seems to ...
0
votes
1answer
53 views

Create raster surface from points with barrier

I have a point layer, that represents an elevation in that given point. This I need to create a raster/surface/DEM from, preferably by interpolating by Nearest Neighbour method or some way Liniar ...
0
votes
2answers
163 views

DEM from Vector to Raster in GRASS GIS

I am using GRASS GIS 7.4 and I have a DEM as points in a vector format and want to turn it into a raster. I tried using v.to.rast and v.to.rast3, but the elevation is not one of the attributes so am ...
2
votes
1answer
286 views

Rasterise polygon layer using QGIS 3.0.3

I am trying to rasterise a simple polygon layer this file using QGIS but cannot get a sensible output. The documentation doesn't appear to have been updated for version 3 yet, and does not match. ...
1
vote
1answer
59 views

Get a raster composed of 0s and 1s

Novice with ArcGis, I would like to convert my Polyline dataset to a Raster with only 0s and 1s To this end, I used the Gis command "Polyline to Raster" and set the cell size small enough, so that ...
0
votes
0answers
35 views

Creation of a raster dataset from polylines

I face an issue with the Raster tool. I have Polylines that I want to convert to Raster. The spatial reference coordinate system is World Mercator (WGS 84). I used the "Convert Polyline to Raster" ...
2
votes
1answer
112 views

Rasterizing with target in QGIS?

With QGIS 2.18, the "rasterize" command offered the possibility of defining a raster target. I used this option to "update" a existing raster with the value of a polygon layer. I'm not able anymore ...
0
votes
1answer
246 views

Polygon rasterization in QGIS 3.2

I want to elevate a certain area of terrain by 126 meters. I've created a polygonal shapefile layer with a decimal field titled "elevation" set to 126. My plan was to rasterize the polygon using GDAL ...
1
vote
0answers
47 views

QGIS: Fill shapefile vectors with grayscale based on elevation

I am very new to this and feel like this is probably an easy answer, but after days of searching this forum I still am unsuccessful. I have shapefile data with elevation and I want to create a raster ...
0
votes
1answer
23 views

Specifying XY extent when rasterizing using ArcGIS Desktop?

I'm making some maps for landscape genetics in ArcGIS Desktop 10.3 - raster maps of various variables (habitat type, river network, road network etc). I'm having trouble rasterizing a polyline road ...
0
votes
1answer
63 views

Rasterize shapefile to overlay on map uisng QGIS (or any other suggestion)

I'm developing an app to display a map in QGIS. The map data is from Bing Map servers. I want to overlay a shapefile on the map. I want the same visual display we see on QGIS. Like this So my ...
1
vote
0answers
55 views

Selecting pixels in raster using polygon selection tool in QGIS?

I want to reclassify landcover image manually with respect to online imagery. I am looking for a software/plugin/script to manually select raster pixels using polygon selection tool and could be able ...