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

learn more… | top users | synonyms (1)

24
votes
4answers
7k views

What raster smoothing/generalization tools are available?

I have a DEM that I would like to smooth or generalize to remove topographic extremes (chop off peaks and fill-in valleys). Ideally, I would also like to have control over the radius or level of ...
11
votes
5answers
6k views

How to perform Raster Reclassification in QGIS?

Is there a way to do reclassify a raster image to Qgis? In Arcgis you can do that in Spatial analyst Tools→Reclass→Reclassify Any ideas?
19
votes
3answers
16k views

How to clip a raster with vector boundaries?

I am using QGIS. I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the geoprocessing tools seem to be usable only for vector data. How can ...
7
votes
2answers
2k views

How to build an artificial 'dam' across a river?

I have a DEM. Created all files related to watershed including accumulation, direction, streams etc... I'm stuck creating a dam. I request you to please let me know how to build an artificial 'dam' ...
10
votes
3answers
12k views

How to convert a vector layer to raster?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
22
votes
2answers
2k views

How to represent trend over time?

I have a time series of rasters where the cells of each raster represents some value at a certain time. I'd like to generate a map that highlights the magnitude of positive or negative trends in this ...
20
votes
3answers
1k views

Packing Polygons within polygon

I have a Boolean raster. In the grey areas of the raster I would like to fit a given size polygon within a contiguous extent. Basically, I have an irregular polygon, and i would like to "fit" a ...
15
votes
2answers
4k views

How can I convert data in the form of lat, lon, value into a raster file using R?

I have a data set of values over a km grid in the continental U.S. The columns are "latitude", "longitude", and "observation", e.g.: "lat" "lon" "yield" 25.567 -120.347 3.6 25.832 ...
7
votes
7answers
4k views

Extract raster values at points

How can I extract values from a raster by points. I prefer not in Arcgis. I prefer in Qgis or Mapwindow or other open source gis.
2
votes
2answers
636 views

Iterate through multiple Raster files and compute statistics using Zonal Statistics

I have a large number of raster images. What I'd like to do is to compute statistics on different sections of these raster files using a polygon. I think everyone is suggesting Zonal statistics. ...
27
votes
5answers
49k views

What are Raster and Vector data in GIS and when to use?

What are raster and vector data in the GIS context? In general terms what applications, processes, or analysis are each suited for? (And not suited for!) In answering someone's question today, I ...
14
votes
4answers
15k views

How do you decide what interpolation method to use for resampling raster data?

The question pretty much says it all; are there hard and fast rules about which interpolation methods are suited to each kind of raster data? Any Golden rules, rules of thumb? Good books or articles ...
9
votes
2answers
2k views

How to count and rasterize polygon overlaps in ArcGIS Desktop?

How do you take a vector layer with overlapping polygons and turn it into a raster where each cell counts the number of polygons containing that cell? We are looking at polygons of fire burn areas ...
8
votes
3answers
2k views

Using polygons to apply unique value to all raster cells within those polygons?

In ArcGIS 9.3, I have a raster file that I would like to "mask" with polygons, giving a single value to all the raster cells that overlap the polygons. How can I do this? Here's a screen shot, ...
8
votes
1answer
2k views

How to reproject a raster file in QGIS with datum transformation?

I want to reproject a tiff raster file from projection A (ETRS89/UTM Zone 32) to projection B (DHDN/Gauss-Kruger zone 2). The two projections have a different datum so I have to use a datum ...
8
votes
3answers
4k views

How to find the locations of the highest values in a raster?

Using ArcGIS 10, I have a raster where I would like to find the pixel with the maximum value in the raster and return its location (center of pixel) in decimal degrees. I would like to iterate through ...
5
votes
2answers
4k views

Interpretation of ArcGIS Kernel Density legend parameters

In ArcMap 9.3 I've used Kernel Density to map various incidents, but the resulting shapefile doesn't display any units of measurement. Is there a good, not-to-technical source that would explain in ...
5
votes
1answer
643 views

Identify Polygons on raster image

I have OS street view mapping as raster images. Is it possible (without the obvious of tracing each dwelling) to identify all polygons on each tile. To clarify, My ultimate aim is to produce a ...
11
votes
2answers
3k views

Clipping a raster in R

I am building a map for the northeastern U.S.A. The map background needs to be either an altitude map or a mean annual temperature map. I have two rasters from Worldclim.org which give me these ...
14
votes
2answers
2k views

Performing Raster Noise Reduction and Edge Smoothing?

I have a raster image like this I want to delete the isolated noise point and smooth the edge (say the white single points, and I want the edges of the entity look smooth). How can I do this in ...
12
votes
6answers
6k views

How do I create a shapefile showing footprints of Rasters?

I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to ...
5
votes
1answer
2k views

Calculating distance to points in QGIS

Is there a way of calculating the distance to the nearest points in QGIS? In ArcGIS there is a function called Euclidean Distance, which can take an input vector or raster, and generate a raster of ...
3
votes
1answer
835 views

ArcGIS - make linear regression across multiple raster layers

I have a series of 5 rasters which represent a value for 5 consecutive years. Is there a way to create a linear regression for each cell over the 5 layers and output the slope? The result would be a ...
3
votes
1answer
794 views

Get a pixel value

How can i do this operation: I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python. What operators should i use? (for example in qgis's Python Console) ...
0
votes
1answer
287 views

How to conditionnally assign a new value to pixels of a raster image?

Given a topographic GIS raster of one country crop.tif: Given a know pixel value such as elevation (z) is +73 : $ gdallocationinfo crop.tif 1 1 -valonly > 73 Given an elevation threshold n = 50 ...
5
votes
4answers
3k views

Quantum GIS and ECW images?

How might I enable Quantum GIS to read ECW imagery? At the moment I'm mostly concerned about this on Ubuntu 10.4 amd64, but I also use WinXP & Win7.
14
votes
1answer
905 views

Are there any general rules of thumb for selecting a transformation for Georeferencing?

There are several transformations that can be used when georeferencing a raster: 1st order Polynomial (affine) 2nd order Polynomial 3rd order Polynomial Spline... etc Are there any specific rules ...
9
votes
1answer
384 views

How do I randomly alter a raster map of habitat types?

I have a raster of habitat types for a specific area in Scotland. I need to create future habitat scenarios with changes in habitat to assess the population viability of a bird species. For example, ...
7
votes
6answers
14k views

How to get X Y coordinates and cell value of each pixel in a raster using Python?

I’m really new to Python and I would like to know whether there is a quick method to get cell values of a raster pixel by pixel and the coordinates (map X Y coordinate of centre of each pixel) using ...
8
votes
2answers
421 views

Creating randomly shaped clumps of cells in a raster from seeds of 1 cell/pixel?

As my title says, I wish to "grow" clumps of cells from seeds within a raster. My base raster is full of 1's and 0's, 1's indicate land and 0's sea/NA areas. From the 1's I wish to select 60 random ...
11
votes
5answers
3k views

Get Raster Values from a Polygon Overlay in Opensource GIS Solutions

I have two layers. A polygon-shape-layer with many tiles and a raster-layer containing CORINE 2006 land cover with many categories in a colourmap. I want to obtain for each polygon in the shapelayer a ...
7
votes
3answers
5k views

How to calculate raster statistics for polygons?

how can I calculate sums, averages etc of raster-points (multi-band) per polygon of a vector-layer. I was told that this is called "zonal statistics". I tried that with QGIS first. There is a way to ...
5
votes
1answer
3k views

How to resample a batch of rasters using OGR/GDAL?

I'm looking for a function similar to GRASS r.resample. I have a folder full of TIF files and want to reduce their resolution ("scale them down") to reduce file size.
5
votes
2answers
1k views

Exporting DEM-derived rasters to CSV from QGIS?

I have been able to import into QGIS a set of raster topographic maps and the associated DEM raster maps. It registered the two for me. From there I have calculated the associated slope raster map. ...
0
votes
2answers
359 views

How to Iterate through Bands of Raster using ArcGIS 10.1 ModelBuilder?

I have a large number of rasters with 3 bands (R,G,B). What I want to do is add all 3 bands of each raster together to end up with a single band image with the summed R,G,B values in each pixel but ...
0
votes
1answer
285 views

Gdal: How to get a pixel's value from raster image?

Given a topographic raster image. Given a pixel's coordinate in pixel/lines or geocoordinate. How to get it's pixel value ?
7
votes
7answers
861 views

seeking “Available Sky” implementations

I'm looking for implementations of an algorithm called "Available Sky". ArcGIS (Spatial Analyst or GRID) is preferred, but solutions in GDAL, SAGA GIS or others are perfectly acceptable. The ...
4
votes
1answer
740 views

Getting a constant background color for transparency

I am creating a series of tif files at 1:10k scale over a vast area (760 tiles) using arcpy.mapping.ExportToTIFF and then stitch them together to create a single ecw. The output looks ok but when I ...
4
votes
3answers
1k views

Convert an arbitrary meta-data-free map image into QGIS project

My background: experienced programmer, amateur historian, complete beginner to GIS (so I'm using QGIS). I did learn to use the QGIS georeferencer tool though. The input: suppose I have an image like ...
4
votes
2answers
1k views

How to find the area of raster values within polygon zones?

I'm using ArcGIS 9.3 and I just can't seem to get this right - I've tried tabulate areas, zonal stats, converting to polygons, etc. I'm missing something somewhere. I have a USGS impervious surface ...
3
votes
2answers
817 views

How to calculate the area of rasters in QGIS?

I have been working with some rasters and would like to know how to calculate the area occupied by one element of a raster in Qgis.
2
votes
0answers
78 views

Problem loading output layer QGIS

Every time I run operations with temporary file output from the graphical modeler, I get the following error message: Oooops! The following output layers could not be open CLIP: ...
14
votes
6answers
1k views

Creating simple image from vector data

Can anyone suggest a quick (and preferably open source) way to create an image from a shapefile. For example, I have a shapefile containing parcel boundaries, I want to create a png file depicting ...
20
votes
3answers
4k views

What is Lanczos resampling useful for in a spatial context?

GDAL includes a resampling method beyond the normal mix of nearest neighbor, bilinear, cubic and splines: "Lanczos windowed sinc resampling". I understand that its a convolution filter, but unlike ...
23
votes
7answers
2k views

Work flow for georeferencing imagery using open source tools?

Does anyone have a recommendation for a work flow for georeferencing high resolution aerial photography using open source tools? Comparison of user friendliness and robustness between Quantum GIS ...
19
votes
5answers
2k views

What is Change Detection and how I can perform such analysis with open source tools?

From wikipedia page: Change detection for GIS (geographical information systems) is a process that measures how the attributes of a particular area have changed between two or more time periods. ...
13
votes
2answers
2k views

How to smooth/interpolate a raster in python using GDAL?

This is my first post so please feel free to critique where necessary. Background: I am developing in Python and using GDAL from OSGEO to manipulate and interact with rasters and shapefiles. ...
11
votes
1answer
1k views

Random sampling of raster using R

Is there a straightforward way of randomly sampling a raster so that the output of the process is a raster? I'm using an example that I found on the r-sig-geo list and I have also tried the ...
7
votes
1answer
5k views

Converting a polygon into a raster using R

I'm trying to convert a shapefile into a raster within R. My approach is to read in the raster as follows: library(rgdal) # Loads SP package by default demo <- readOGR('F:/data/', 'shapefile') # ...
6
votes
2answers
2k views

How to extract values from rasters at location of points in R?

My question is about extracting values from rasters at the location of points. With the function extract this is very easy, and the function gives me a dataframe with the values of all the variables ...