Stack Exchange Network

Stack Exchange network consists of 174 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

0
votes
1answer
28 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
33 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 ...
1
vote
0answers
34 views

Exporting raster with map context using ArcPy?

I am a user of ArcGIS Pro. I am trying to convert a polygon shapefile into a raster dataset, then export a raster dataset to a PNG format via arcpy.RasterToOtherFormat_conversion. From .shp to .tif ...
0
votes
0answers
36 views

Rasterizing point file in QGIS

I have a point file of a vegetation species which I'm trying to convert into a raster for a species distribtuion model. But everytime I run the tool (Raster -> Conversion -> Rasterize) I just end up ...
2
votes
0answers
34 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 ...
0
votes
0answers
30 views

Rasterizing QGIS python with selection features?

I am rasterizing a vector layer in a python console in QGIS, but I need to rasterize only on a selection of the input layer. My code looks like this. shape = r"C:\....\vectorlayer.shp" layer ...
2
votes
2answers
71 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
29 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 ...
0
votes
0answers
18 views

Unexpected values when projecting a shapefile from WGS84(DD) to UTM, and when using polygon to raster tool?

I am working with a shapefile of all the building footprints in Chicago, downloaded from Building footprints in Chicago. The goal with this dataset is to change the coordinate system to UTM Zone 16N ...
1
vote
0answers
49 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
45 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
150 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
0answers
26 views

Is there any other way to rasterize vector than conversion > rasterize?

Conversion > rasterize isn't working or just very hard to use. Best result so far is black square. I just want to draw 2 pixels wide rasterized line across the vector.
0
votes
1answer
34 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
0answers
23 views

Rasterizing/Building Overlays in R?

I'm currently attempting to build a grid-like dataset in R based of census data (at the block or block group level, but I imagine the method would be same for any level of granularity). My initial ...
0
votes
2answers
63 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
65 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
56 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
32 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
0answers
70 views

QGIS 3.2 Rasterize with a target

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
136 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
41 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
0answers
35 views

Using rasterize in Qgis 3.2, how to keep the resolution from the vector points?

I am new to QGIS and I am struggling a bit. I have a list of coordinates With Z values that I have imported using the layer text import tool, the output I get is then points (vector). I would really ...
0
votes
1answer
21 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
45 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
26 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 ...
0
votes
0answers
25 views

Rasterizing 3 dimensional dxf to mask netCDF?

I have difficulty in rasterizing 3 dimensional dxf (single building) to mask netCDF using GRASS, Blender, or Qgis. I want the mask netCDF to have value 1 in interior of the building and zero value ...
0
votes
0answers
20 views

Python Rasterize Sum Variable

I'm trying to reproduce the R rasterize function in python to streamline my code and am having issues with summing multiple points in the raster. Essentially I want to sum the value of my variable for ...
1
vote
1answer
44 views

LecoS stalling - table not being generated

I'm trying to collect data along highway segments in northern Alberta. I took vector data from ABMI (http://www.abmi.ca/home.html) and rasterized this to work within LecoS. I had success in early ...
2
votes
2answers
109 views

Usage of interpolation methods with DEMs: Linear vs. natural neighbors

Using the ArcGIS tool "TIN to Raster" (3D Analyst Tools --> Conversion --> From TIN) to work on my Digital Elevation Model I was wondering about the interpolation methods. I can choose either or: ...
1
vote
0answers
36 views

Rasterize causes black background, need white to match BioClim data

I am using the rasterize tool to convert a polygon layer into a .asc or .bil raster layer. As it is a UK study, there is a lot of sea that when rasterized, turns black. I need it to be white to match ...
1
vote
1answer
59 views

Generate tiles from leaflet polygons

I have a set of shapes drawn in Leaflet (using Leaflet.draw). I need to rasterize these into a tileset and export it because I need to use the images elsewhere. My initial idea was to go through ...
0
votes
1answer
54 views

Raster with wrong extents when using Polygon to Raster

I am trying to use the "Polygon to Raster" tool on a building extents polygon file to create a raster with the exact extents and cell size as an existing flood depth raster. Even though I have added ...
0
votes
1answer
88 views

Rasterize vector to presence-absence raster incorrect in R

I want to create a presence-absence raster out of a shapefile (vector) with the rasterize command of the R-package in R. Until now I only get wrong results. The raster should just distinguish ...
1
vote
0answers
133 views

QGIS 3.2 - Poor conversion from high-resolution vector to raster

I have a shapefile with polygons with several sizes, and I want to convert it to a raster with 30mx30m pixel resolution. Although I was able to obtain the raster with the pretended resolution (using ...
0
votes
0answers
21 views

Rasterizing curvilinear gridded data

I’m attempting to rasterize a NetCDF dataset that contains data on a curvilinear grid. The dataset has a 2D matrix of longitudes, a 2D matrix of latitudes, and several 2D matrices of data variables. I ...
4
votes
3answers
114 views

Remove background when using Rasterize in QGIS

I used Rasterize (vector to raster). The result is shown below. There is a bright yellow background around the map after I used Rasterize. I want to know how I can remove this. The value 0 can be ...
1
vote
1answer
195 views

Gdal RasterizeLayer Python

I'm attempting to rasterize a layer of a raster by using the different features inside a shapefile(In this case the different features are lines). The problem I am running into is that ...
2
votes
1answer
290 views

Rasterize Point layer Error: Wrong value for -outsize parameter

I am trying to create a Euclidean distance raster from a point layer (in QGIS 3.0.3). From reading up on this topic in this forum I found that I should rasterize the point layer first. I also ...
2
votes
1answer
126 views

Ordered Weighted Averaging problem

I want to do an Ordered Weighted Averaging (OWA) analysis using SAGA in QGIS (not by using pyqgis) as a suitability assessment for recreation/restoration of specific habitats. There's a number of ...
1
vote
1answer
161 views

Processing vector to raster faster with R on Windows

I tried this example Processing vector to raster faster with R on Windows, where the option "FORK" for makeCluster is not available. Defaults to "SOCK" or can be set "PSOCK". When running into the ...
0
votes
1answer
87 views

Rasterize shapefile according to another big raster using gdal_rasterize

I want to rasterize a shapefile into a raster according to another raster (97284, 154208, 15001971072 (nrow, ncol, ncell)). Since the raster is very big, I am using gdal_rasterize following the ...
0
votes
0answers
85 views

Set order of polygons to burn into a raster with GDAL?

I have intersecting polygons with an attribute that I'd like to burn into a raster with GDAL. In this simple example, the attribute Value from three polygons in one shapefile is to be transferred to a ...
0
votes
1answer
497 views

Rasterize a shapefile generate a black TIFF

I run the following codes in jupyter notebook to rasterize the shapefile: building.shp, but it generates a black TIFF, which in QGIS shows only 0 and nan values. Here are the source codes Could ...
2
votes
0answers
67 views

Creating raster layers, weighting them, and combining them in QGIS [closed]

I'm looking to create raster layers from vector layers, rescale them, weight them then finally combine them for a final result. I'm really not sure about the process to do this. On Arcmap it's ...
1
vote
0answers
42 views

Issue with gdalUtils vs. raster in gridding data in R

I have irregularly spaced data (XYZ) and I'm trying to grid it in R using 2 different libraries, gdalUtils and raster. I'd prefer to use gdalUtils as I have more options, but the output looks off. ...
0
votes
1answer
52 views

ArcGIS points to raster conversion with multiple fields in the attribute table

I have 2,000 points each containing fields like day, month, year, time, brightness, name, serial, etc. But when I try to convert them to raster, only 1 field will be considered. Is there a way I can ...
3
votes
1answer
280 views

Convert gml to raster in QGIS

I have a dataset of type citygml (*.gml). It includes information about buildings and their rooftypes. you can find a sample file here: https://www.opengeodata.nrw.de/produkte/geobasis/3d-gm/3d-...
1
vote
0answers
40 views

rasterize in qgis based on foreign table data

I have a few tables imported into QGIS as vector layer. These tables are linked to a vector SHP file with foreign keyas 1:M relation. So, the data structure is as follows: shp file linked to table1 ...
1
vote
0answers
91 views

Estimating processing time for rasterize or polygonize tools in QGIS?

I often rasterize or polygonize large layers (flood modelling results). Is there a way I can estimate how long the tool will take? Sometimes, I'm not sure whether it will take 10 minutes or 10 ...