Questions tagged [rasterization]

The process of turning a vector into its raster equivalent

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Converting Vector To Raster

I have a polygon layer of Sassari region. The name of the layer is "ProtectedAreas_Sassaricomuni_mergedvector". I want to raster this by simply giving the value 1 if the green patches exist,...
Bilgeyts's user avatar
0 votes
0 answers
23 views

QGIS DXF points to raster

I have a dxf file that contains points with heights. When I import into a QGIS dxf file I don't see the elevation in the open attribute table. My goal is to get a raster from that dxf. However, after ...
GeoS's user avatar
  • 1
0 votes
1 answer
38 views

Proximity Map from Line Shapefile (Line to Raster)

I have this cycling route and I need a proximity map that shows the proximity to this route: I have the route as line shape, and I turned it into raster (using vector to raster). Following this exact ...
Bilgeyts's user avatar
0 votes
0 answers
23 views

Vector grid to raster error

I try to raster grid layer using layer attribute and I get rasterization error. Initially I have a layer with a grid and a line layer with several lines. The line layer has an attribute ("az"...
redhat's user avatar
  • 347
0 votes
1 answer
13 views

Rasterizing misaligned grids [r - terra]

I'm working with satellite data and trying to convert it to a raster in R. The downloaded product from NASA was vectorized on their end which is frustrating. The problem is that the satellite is ...
Kevin F's user avatar
0 votes
0 answers
36 views

QGIS rasterize with field as value, outcome only captures part of values in the field

I have a vector file with multiple polygons with a column named all_cert. I want to rasterize this data but everytime I do, the resulting raster file only contains pixels with values for certain areas ...
Evelina's user avatar
0 votes
1 answer
50 views

Raster layer doesn't match vector layer

I convert vector layer to raster layer using Geo Units. But result of rasterization doesn't match the source vector layer. Why is it hapenned? The layers have same CRS. Is it because pixel size? I ...
redhat's user avatar
  • 347
0 votes
0 answers
32 views

Adding conduits and barriers to friction surface in QGIS

I am in the starting process of A LCP archaeological project and am still new to QGIS and I've hit a issue. I am adapting the methodology of this: and have almost immediately hit a barrier. I am ...
Eath2468's user avatar
0 votes
1 answer
39 views

Rasterizing a Boolean vectorial file

When I try to rasterize a Boolean vector file in QGIS I just get the ones values, what can I do to get both values (0,1)? There is no "nodata" values in the file.
user's user avatar
  • 153
0 votes
0 answers
38 views

Using 'rasterize' to create raster of overlapping polygons

I have found similar questions, but most use different packages. I have a shapefile with 20 multipolygons, with a few attributes. All I want is to create a raster whereby each raster cell's value is ...
Beardedant's user avatar
1 vote
0 answers
55 views

From points to raster - how do I set a gaussian function with a cutoff

Context SMAP's user guide states: "We use Gaussian weighting to interpolate the L2B estimates onto the map grid with a search radius of approx. 45 km and a half-power radius of 30 km.". ...
J Lal's user avatar
  • 11
0 votes
1 answer
76 views

Rasterizing more than 11000 polygons in QGIS

I'm using QGIS 3.28.3. I have more than 11000 species ranges, which I want to transform into binary rasters (1 for species occurence, 0 for species non occurence), with one raster for each species. I ...
Spectron's user avatar
  • 127
0 votes
0 answers
24 views

Rasterization (Vector to Raster) in QGIS overwrites Maxima values of the vector

I am working on macroseismic intensity maps in QGIS 3.30. My data are in the form of a point vector. In this case, each point has an attribute corresponding to the maximum intensity which was ...
bryce's user avatar
  • 1
0 votes
0 answers
26 views

Rasterizing vector layer based on the polygon area in each grid cell

I have a (complicated) WGS84 vector layer, which I would like to rasterize to a target grid based on the total polygon area within each target grid cell. The target grid is a non-standard 1/12° ...
Plagioclase's user avatar
0 votes
0 answers
17 views

Raster consists out of strips when using rasteriz

When rasterizing X,Y,Z data from points in Qgis, I get a raster that consists out of a set of strips along the points. How do I generate a raster that fully covers the entire range of points (i.e. ...
Lucas's user avatar
  • 1
6 votes
1 answer
480 views

What could be causing these crazy pixel values when I rasterize a polygon?

Here's the weird output, looks like min and max possible values for the data type? Here's my inputs, all pixel values should be set to 0.
I'm not a robot's user avatar
2 votes
0 answers
36 views

QGIS: Problem to rasterize track

I'm not able to rasterize a GPS plot in QGIS (layer Chemins in red which is interpolation of GPS points) , the output is empty even though it works when I tried with a new simple layer with two line (...
user234137's user avatar
2 votes
0 answers
109 views

Efficient and quick way to rasterize very large polygon (20GB)

I´m currently working on a large (> 20 GB) vectorized dataset (Geopackage format) holding land cover classification information for an entire country. I´m looking for an efficient and quick way to ...
G. Arruda's user avatar
1 vote
1 answer
72 views

Creating raster layer with pixel values which are sum of overlapping polygons in single vector layer

I am using QGIS. I have a vector layer with about 600,000 overlapping polygons, each with an assigned risk value as attribute. I want to create a raster layer which shows the total risk value at each ...
I'm not a robot's user avatar
0 votes
0 answers
31 views

QGIS rasterize changes extent of output raster and doesn't burn-in attribute values

I have a vector layer made of polygons colored below based on their integer value (ranging from 0-3) for the attribute "env_int". The layer's CRS is EPSG:32616/WGS 84 UTM zone 16N. This was ...
albondiga's user avatar
2 votes
0 answers
52 views

Using rasterio to rasterize vector data to a GCP referenced image

I am working with Sentinel-1 SAR images of a coastal area in ground range geometry (GRD product), which is defined by a geolocation grid of 10×21 ground control points. For further analysis, I need to ...
Christoph's user avatar
  • 121
0 votes
0 answers
65 views

Saving my Geocube object as a raster is way too big

I am rasterizing some polygon data with make_geocube and exporting the result as a .tif file. It works, but my file sizes are orders of magnitude larger (10-20x) what I am expecting them to be after ...
Vance's user avatar
  • 1
1 vote
1 answer
74 views

QGIS Rasterize tree polygons - giving priority to higher trees

I used points of trees and created buffers around them based on their canopy widths. I rasterized these polygons and burned tree height as a value (later to be used for shadow modeling). Important is ...
Mat_114's user avatar
  • 23
0 votes
0 answers
27 views

Rasterizer is not working properly

I am working with the following dataset: "https://drive.google.com/drive/folders/1HRUhNwsnxc64KYYQ4GqttbzvUleEl0uI?usp=sharing" . I would like to rasterize the vulnerability data. However, ...
Rahul Das's user avatar
0 votes
0 answers
16 views

Exporting raster from R changes the scale of extent

I have converted a shapefile to a raster in R using both terra and raster packages. When I export the raster and try to open it in QGIS the scale has shrunk making the whole shapefile only 1 m across ...
user3390486's user avatar
0 votes
0 answers
41 views

Creating Raster from CSV in QGIS - Huge filesize

I am attempting to create a magnetic map of Northern Ireland using this dataset (https://www.opendatani.gov.uk/@geological-survey-of-northern-ireland/gsni-tellus-regional-airborne-geophysical-survey-...
Nemactual's user avatar
1 vote
1 answer
32 views

Setting nodata from no polygon

I am trying to convert polygon to raster. The polygon class are from 0 to 4. There are many spot that no polygon. It means, I don't create polygon. I try use QGIS, using Raster > Conversion > ...
mega saputra's user avatar
0 votes
1 answer
144 views

Rasterize (vector to raster)_Resolution [closed]

I have been trying to use "Rasterize (vector to raster)" tool but I am a bit confused in the rationale of defining the Width/Horizontal resolution & Height/Vertical resolution with ...
Alaa Torkey's user avatar
0 votes
0 answers
47 views

Best settings to rasterize vectors in QGIS

I set 20*20 for my resolution, but the result just ran as below pixel size (the pixel size just become 3734.611609999999928,-4489.000505000003614). I just have no idea how to fix it. Below link is the ...
Bridgit Wu's user avatar
0 votes
0 answers
33 views

Converting polygon vectors into raster which is percent of pixel which is covered by polygon using ArcGIS Pro

I have maps of fish farms which I think might be relevant for my species distribution mode. However these maps are essentially just polygons drawn over individual fish cages. I’ve also got data on ...
PowellHall's user avatar
0 votes
0 answers
99 views

Converting polygon vectors into raster which is percent of pixel which is covered by polygon using QGIS

I’ve got maps of fish farms which I think might be relevant for my species distribution mode. However these maps are essentially just polygons drawn over individual fish cages. I’ve also got data on ...
PowellHall's user avatar
0 votes
1 answer
189 views

Creating “distance to” raster using QGIS

I imagine there’s a proper term for what I’m trying to do but, if so, I do not know it. I have a map of populated areas, as polygons. I can rasterise that, but what interests me isn’t the effect of ...
PowellHall's user avatar
1 vote
0 answers
62 views

Can I rasterize a population data (the population data is joint with district)

I have tried rasterizing the population data, which is joint to the district vector file. A new file is generated but I cannot see anything. Was just wondering if it's the symbology problem or the ...
user226033's user avatar
-1 votes
1 answer
329 views

Converting point data to raster layer using QGIS

I have a point dataset with Eastings and Northings in meters, each point regularly spaced at 1000 m apart with a value representing mean wind speed in that km squared. I want to convert this file to a ...
I'm not a robot's user avatar
0 votes
1 answer
29 views

Why does the function rasterize change my coordinates?

I need to import a shapefile into R and turn it into a Raster object. I am using the following code: map <- readOGR("path and file name") r <- raster(ncol=4001, nrow=4001) r <- ...
Chantel's user avatar
1 vote
1 answer
123 views

Rasterize (vector to raster) Error 4 - problem converting CVS point grid to raster [duplicate]

What I want to do: I have data with point-coordinates (integer) and composite probability (decimal). I want to convert this to raster data to be able to compare it to other layers. The cvs file is ...
kar-g's user avatar
  • 15
0 votes
2 answers
85 views

Rasterizing point data

I downloaded point-source data of the bumblebee distribution in Europe (Suppl. material 5 from https://doi.org/10.3897/oneeco.3.e28143). I'm only looking at the composite probability and want to ...
kar-g's user avatar
  • 1
1 vote
0 answers
93 views

Encoding a Boolean raster from polygons in QGIS

Polygons become invisible when rasterised, and raster has very odd values. Can I correct this so raster has 1 for polygon and 0 for non-polygon? I have drawn polygons over a feature for a species ...
Birdman's user avatar
  • 61
0 votes
0 answers
39 views

NodeJS map rendering libraries other than Mapnik

I'm looking for a library to call from Node that can render a fairly simple map (a single polygon, with text labels along edges) from GeoJSON to a PNG. I have a working solution using Mapnik, but that ...
Steve Bennett's user avatar
2 votes
1 answer
94 views

Problem by rasterizing in QGIS 3.28.4: resulting raster is only white

I have a shapefile with one polygon (trajectory of a rockfall). The last column contains the max altitude of the polygon (calculated with the function Zonal Statistics). I want to use the raster ...
Charlotte's user avatar
1 vote
1 answer
509 views

Python running out of memory when writing a raster using Rasterio

I am working on a script in which I am rasterising a vector using Rasterio. When I try to write the raster to a tif file, my cluster runs out of memory and crashes about 30 seconds after the job ...
A.N.'s user avatar
  • 153
0 votes
1 answer
98 views

How to make multiclass color mask based on polygons (osgeo.gdal python)?

I know how to make binary 1-band mask in python with osgeo.gdal.Rasterize(src, shp_file_name, burnValues=[1]) But what if I have several classes and want to make 3-band mask with different colors for ...
Nikita Artemenko's user avatar
0 votes
0 answers
82 views

Vector to Raster cannot get output resolution to approximate input points spacing

This issue is about the usage of the Raster > Conversion > Rasterize (Vestor to Raster) tool, including Georeferenced Units vs Pixels and the error when choosing Georeferenced Units. I am ...
kelleysislander's user avatar
0 votes
1 answer
280 views

Rasterize sf object in R (desired cell values 1 and 0)

I have a vector file (multipolygon) in class sf, which I want to turn into a raster of a certain extent. I need all the areas where polygons are located to be value 1 and all areas where no polygons ...
talocodat's user avatar
1 vote
1 answer
61 views

Assigns geographical locations to the pixels in isolate drone image in R

In my example, I have a single dji image in *JPG: library(terra) single.image <-stack("https://github.com/Leprechault/trash/raw/main/DJI_0274.JPG") plotRGB(single.image, r = 3, g = 2, b =...
Leprechault's user avatar
0 votes
1 answer
85 views

Convert smoothened contour in QGIS ( vector) to raster for use in HECRAS

I have generated contours in QGIS using point data (AutoCAD file) and I had to also smoothen the contours and remove noises (smaller contours) from the contour generated. I need to get this contour ...
Usha's user avatar
  • 137
1 vote
2 answers
62 views

Deriving a new raster attribute layer from a polygon layer

I am trying to discern how I can accomplish the following at the command line with GDAL and could use some guidance. I have a GeoTIFF containing data from the National Land Cover Database and I would ...
Chris's user avatar
  • 171
2 votes
2 answers
167 views

How can I get 16 bit global elevation maps?

I'm a 3D artist working on a procedural planet generator, based on colour and height textures from real-life areas. I've been using the GeoTIFF files from NASA Visible Earth, but they all seem to be ...
Taliesin River's user avatar
1 vote
0 answers
124 views

Create a raster image from multiple vector layers within a specified polygon

In ArcGIS Pro 3.0 I am creating a map using 11 vector layers including point, line, and area features. I have it all symbolized and displaying nicely at the design scale, and would like to take that ...
Alex's user avatar
  • 21
0 votes
1 answer
69 views

QGis - Multiple vectors into mulptiple rasters

I have a list of 50 vectors I need to rasterize on QGIS. Would you know if it is possible or if there is any script to run them in only one batch or do I need to do the vector>raster process to ...
Let Souza's user avatar

1
2 3 4 5
10