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

learn more… | top users | synonyms (1)

21
votes
4answers
6k 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 ...
19
votes
3answers
15k 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 ...
6
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' ...
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?
21
votes
2answers
1k 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 ...
8
votes
3answers
11k 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 ...
19
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 ...
14
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 ...
25
votes
5answers
45k 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 ...
12
votes
4answers
13k 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 ...
8
votes
2answers
1k views

How to count and rasterize polygon overlaps in ArcGIS?

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
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 ...
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
588 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 ...
1
vote
2answers
444 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. ...
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 ...
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 ...
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
644 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
721 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
238 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 ...
6
votes
7answers
3k 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.
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
850 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
378 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
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, ...
7
votes
2answers
372 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 ...
7
votes
3answers
4k 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 ...
4
votes
1answer
2k 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
281 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
200 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
825 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
660 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 ...
3
votes
2answers
698 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.
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 ...
19
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 ...
21
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 ...
16
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. ...
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 ...
6
votes
2answers
1k views

creating a raster of the residuals of a regression between two rasters

I am trying to create a raster of the residuals of a regression between two rasters. i.e. I would like to carry out a regression of one raster against another of the same extent and plot the residual ...
6
votes
2answers
1k views

Creating shapefile of satellite image footprints?

I'm looking for a tool or a workflow to compute satellite image footprints, for a large number of images across directories, and produce a shapefile. Ideal work flow would be: fire up tool point to ...
5
votes
1answer
3k views

How to import a raster into PostGIS?

I'm trying to follow the instructions here to load a raster into a PostGIS database: python raster2pgsql.py -s 4269 -I -r *.tif -F myschema.demelevation -o elev.sql I understand that I replace * ...
13
votes
5answers
2k views

Is Hillshade option in ArcMap rubbish or is it me?

Here is a pretty pic of the raster I am using - with no effects applied - just the color ramp and historgram adjusted to show out all the relief - all be it in a very 2D way! I have a raster layer ...
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 ...
9
votes
3answers
609 views

Creating raster by randomly choosing cell value from multiple overlapping rasters?

I'm using ArcGIS Desktop 10 with its Spatial Analyst extension. How do I combine multiple rasters into one, always choosing randomly from the values of overlapping cells? I have an image that may ...
9
votes
2answers
612 views

Scriptable alternative to ArcScan (particularly vectorising lines within tolerances)

Sadly the answer to this question suggests that it is not possible to script ArcScan from within a python script. Therefore, does anyone know of any alternatives to ArcScan (either within ArcGIS, or ...