Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27694

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

2 votes
1 answer
3k views

How to set the output extents of rasterization in QGIS

I am trying to rasterize a bunch of vector based shape files in QGIS. All these files are covering certain types of ground use in a city (houses, street, open field,...). I need these files to be ra …
Peter Vanvoorden's user avatar
2 votes
2 answers
4k views

From RGB raster to grayscale

I have been searching for a way to rasterize shp files (Unexpected output when using gdal_rasterize) and it worked with a little help. Now, my code is first rasterizing the largest sip file and than u …
Peter Vanvoorden's user avatar
1 vote
1 answer
2k views

Unexpected output when using gdal_rasterize?

I used the following code for converting my layer into raster format but I get a tif file that is completely black or white... … from osgeo import gdal, ogr # Define pixel_size and NoData value of new raster pixel_size = 1 NoData_value = 100 # Filename of input OGR file # vector_fn = '/Users/PeterVanvoorden/Desktop/GRBgis_322/ …
Peter Vanvoorden's user avatar