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

learn more… | top users | synonyms

4
votes
1answer
1k views

Why does QGIS's Clipper tell me “Computed -srcwin falls outside raster size” and how do I address it?

I'm trying to clip a heightmap to a small area that I'm interested in. When I attempt to use Raster > Extraction > Clipper I get an error dialog with the message ""Computed -srcwin falls outside ...
3
votes
4answers
313 views

Convert line shapefile to raster, value=total length of lines within cell

I have a line shapefile representing a road network. I wish to rasterize this data, with the resulting values in the raster showing the total length of the lines that fall within the raster cell. The ...
8
votes
2answers
3k views

How do I layer stack rasters in QGIS?

I have some multi-spectral data, where the individual bands are separate Raster files. How do I layer stack these rasters so that I get one raster with 3 bands instead of 3 different rasters? This ...
7
votes
4answers
4k views

How to install “1-band color raster color table”?

I would like to use the "1-band raster colour table" extension. I'm using QGIS Wroclaw 1.7.4. In the plugin installer I can't find this extension, even I quote for third party extensions thing. Does ...
7
votes
1answer
7k views

How to crop raster layer?

Can anyone tell me how to crop a raster layer in QGIS? I want to make contours from a section of a layer, and including the whole layer will create far more data than I need and slow down the ...
7
votes
3answers
3k views

Creating a raster surface of overlaps from vector polygon shapefiles?

Basically what I'm trying to do (in ArcGIS 10) is to compare three vector files in order to create a 'comparison' raster layer. I tried using Data Comparison (under Data Management tools) but it ...
6
votes
4answers
2k views

How to sum up pixel values in QGIS?

I need to know the value of the sum of all pixels in a raster. However, in the Statistics section of the Metadata tab in Properties, under Sum of All Cells it always indicates 0.00. I have tried with ...
6
votes
3answers
6k views

Clipping a raster using a polyline or polygon

I have a large raster created from values that cover the whole United States and Alaska which are both polygon and polyline features, this raster was caluclated using Spatial Analyst IDW ...
5
votes
1answer
427 views

Create a point at the highest value in a raster ArcGIS 10.1

I am trying to find the location of the highest value pixel in my Direct Solar Radiation Raster. I can see the extent of the data in my raster but don't know where the highest value pertains to. Is ...
5
votes
3answers
858 views

Finding outliers with wrong Z values in LIDAR data

I have more than 2000 XYZ (only ground points) .txt files and I have to do Quality Control (QC). Let's say I have file, which I converted to multipoint (or even singlepart feature). I have mean Z ...
5
votes
3answers
4k views

How to combine information from raster and vector layers?

in QGIS I have 1 raster-layer (elevation) and 1 vector-layer (administrative units). Now I would like to be able to query one of the administrative units and see the mean and min/max of the elevation ...
4
votes
3answers
942 views

Is there a Raster Equivalent of the Split tool?

I have the DEM of a State in ERDAS Imagine (.img) format. I have a shapefile containing the counties of that state. I want to split the whole raster into DEMs of the individual counties. The counties ...
4
votes
3answers
919 views

Loading raster data to postgis

I'm a newbie in GIS technology and need some help in loading a rainfall radar raster data into PostGIS. The raster image is shown here: What I need is to store in the database the radar ...
4
votes
1answer
3k views

In ArcGIS 9.3, how do I split a 3-band raster (.tiff) file and summarize the band values?

Using ArcGIS 9.3, I would like to make a new, single-band raster file that includes only one value: a summary of the three existing bands. The composite band is currently a composite .tiff file. ...
4
votes
2answers
1k views

Calculating Net Primary Production (NPP)?

When I calculate Net primary production (NPP) for a local scale, what kind of software should I use? I always use ENVI, ERDAS IMAGINE, ArcGIS for Desktop and IDRISI. Is it possible to use these ...
4
votes
1answer
629 views

affine transformation on geotiff

I have a bunch of geotiffs stored in a PostGIS DB that i am mounting on my OpenLayers map. They all have the geoTransform information in them. I just want to know how i can mount them on my ...
3
votes
1answer
74 views

Processing large amounts of Rasters in R

I have 6500 processed and clipped rasters that indicate snow levels on a daily basis in the northern hemisphere. I need to create a raster that represents a sum of the snow for the season. The winter ...
3
votes
1answer
425 views

Area precipitation using IDW

I'm having the following problem with IDW automation. I have a catchment and several gauging stations measuring daily precipitation amounts. I would like to interpolate the precipitation amounts from ...
3
votes
1answer
1k views

How to Calculate Utilization Distribution Overlap Index (UDOI) in ArcGIS Desktop?

I was wondering if any of you happen to have any information on how to calculate the Utilization Distribution Overlap Index (UDOI) in ArcGIS 10? If I understand it correctly the UDOI takes two kernel ...
3
votes
2answers
380 views

Determine density or cover from a raster layer that has been clipped by a polygon

I am a very new GIS user using ArcMap 10. I have a raster layer of tree canopy that I have clipped so that the layer is in a polygon that is a circle with a 2km radius. I have done this for four ...
3
votes
3answers
4k views

How to get values of each cell in raster attribute table?

How do I get the values of each cell in the raster attribute table. Usually the attribute table gives you the value and number of counts. But, in my case I want each cell listed and corresponding cell ...
3
votes
1answer
586 views

How does cost allocation work?

Why, when I use the cost allocation function of Spatial Analyst, is space not allocated in all input source locations (as shown in image below)? In particular, the input raster has 18 spots while the ...
2
votes
2answers
193 views

How to translate (reposition) a .tif raster layer?

I'm starting to use QGIS for my thesis (environmental physics) and have to admit I'm pretty ignorant about it - I've always used Mathematica or Matlab. My problem is: I have a raster layer, in .tif ...
2
votes
1answer
408 views

How can I dynamically trim the informational border off of FAA sectional raster charts?

I'm trying to write a script that can automatically use GDAL to crop the informational border from the FAA's published sectional charts (GeoTIFF) found here: I know that I can use gdal_translate ...
2
votes
1answer
2k views

Raster Version of Spatial Join (one to many) [duplicate]

I have two raster layers that are identical in shape (they overlap exactly) and I need to perform the raster equivalent of a Spatial Join (one to many). My files need to stay in raster format ...
2
votes
1answer
358 views

Raster as Attribute Field Error

I'm using Arc 10.1. I am creating a parcel inventory where I would like to have a photo of the property attached as an attribute and view-able with an HTML popup. I have a polygon feature class built ...
2
votes
2answers
881 views

Conditional combining of multiple rasters to produce one output using Python?

I have two rasters for same spatial extent and need to compare both rasters cell by cell and produce one output raster. Each has 10 land cover classes. Based on those 10 classes the comparison should ...
7
votes
1answer
193 views

Finding largest number of observations within a given radius

I have the following problem: Given the location of insured properties (say houses with fire insurance), i have to find the largest sum of insured values which fit into a 300m radius. Now, my first ...
6
votes
3answers
2k views

How do I extract a raster's extent in python?

I am looking for an easy way to extract a raster's extent in python. Currently, I am using gdalinfo and then parsing out the corner coordinates. The problem with this approach is that gdalinfo is ...
6
votes
2answers
4k views

Reclassify raster values of 9999 to NoData, leaving all other values alone, in ArcGIS Desktop?

I have a raster in ArcGIS which has a number of cells with the values 9999, showing that the data could not be generated for that cell. I want to convert all of these 9999 values to NoData, so that ...
5
votes
1answer
563 views

Creating field with specified slope projecting from 3D polygon?

I am trying to figure out how to create a elevation raster from a known location (3D polygon) that projects at a specified slope (1%) for a specified distance(1-2 km). Does anyone have any idea how ...
5
votes
2answers
5k views

Convert x, y position in georeferenced image (with world file) to longitude, latitude?

What steps do I need to do in order to calculate longitude and latitude for a specific pixel in a georeferenced image? For example this image ...
4
votes
1answer
972 views

Continuous color band for a raster legend in QGIS composer legend

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
4
votes
2answers
1k views

Is there a Focal Statistics (spatial analyst) tool in ArcGIS equivalent in QGIS?

I'm attempting to use QGIS v2.0.1 to accomplish the same tasks that I can do using ArcMap v10.1 and I'm running into some trouble finding equivalent tools. In ArcMap I am using the Focal Statistics ...
4
votes
1answer
868 views

How to sum or even perform more complex mathematical operations (multiply, add a constant, …) two GDAL grids?

I have two grids with same cell size, same starting position (top left) and same grid size. I want to sum the grids and create a sum grid as an result: e.g. grid A + grid B = grid C How can I ...
4
votes
1answer
2k views

Can I access a raster attribute table in QGIS?

I have some Python code that makes Raster Attribute Tables for GeoTiffs using GDAL. In ArcGIS I can see these attribute tables fine and they behave how I like (as classifications). But in QGIS the ...
4
votes
2answers
3k views

Simplify Raster Contours ArcGIS 10

Does anybody know a way to simplify a number of contour polylines derived from a raster dataset? I need to generate a map that shows contour polylines at relatively small scale. With the contour ...
4
votes
1answer
567 views

Can you use arcpy.RasterToNumPyArray() to Graph a Raster with matplotlib?

Can you use arcpy.RasterToNumPyArray() to Graph a Raster with matplotlib? I'm looking to graph a raster with X, Y, and Z values in a 3D bar graph. I just can't seem to translate the numpy array to ...
4
votes
2answers
1k views

Translating grid to USGS .dem in C# via GDAL

I am attempting to translate ArcInfo binary grids to USGS DEM format (.dem). I have installed the GDAL .NET bindings thru this build installer. I can get to GDAL in my C# add-in I am working on. ...
3
votes
1answer
146 views

Reprojecting a raster image using gdalwarp

I am trying to reproject an ECW Orthophoto from 25830 to 23030 srid. I tried the following but I am getting an error: C:\Program Files (x86)\FWTools2.4.7>gdalwarp -s_srs 25830 -t_srs 23030 ...
3
votes
1answer
72 views

What is the replacement for 'setColorShadingAlgorithm' in QGIS 2.6?

I have been struggling with setting the colorshadingalgorithm for a raster layer in QGIS with no success for the past few days. The QGIS cookbook seems to be pretty outdated. Anyways, the code that I ...
3
votes
1answer
1k views

Re-project raster image from Mercator to Equirectangular

I have a raster image of the world map in Mercator projection, square 1:1 format. I want transform the image into an Equirectangular projection accurately. I assumed from my research that GDAL would ...
3
votes
0answers
141 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
3
votes
4answers
2k views

Clip a raster using a shapefile into multiple rasters?

I have a raster file representing a large area and a shapefile of 30 polygons representing watersheds. I would like to clip the raster with the shapefile to create 30 rasters representing each ...
3
votes
1answer
470 views

NOAA Nautical Charts .bsb format

Is it possible to load a nautical chart from NOAA into QGIS that has the .bsb format? Didn't have much luck with mrSID format. using QGIS(dev) on ubuntu 13.04
3
votes
2answers
825 views

Round Raster to next higher or lower int

I am using ArcGIS 10.1. I am searching for a solution to calculate a raster. The values are like: 0.2 0.6 5.3 i.e. How can I now get 0.2 as 0 and 0.6 to 1 and 5.3 to 5? In the end integer numbers. ...
3
votes
1answer
59 views

How to always see all band values with Identify Features of QGIS?

Does anyone know if it is possible to get the Identify Features tool in QGIS to show the band values for all the layers shown in the results window? To clarify, whilst I have several bands "showing" ...
3
votes
2answers
4k views

How to export a raster layer for external processing?

Is there a way to export all values from a raster to for example a cvs or other textfile or dbf or xls and later import (changed) values from that file back into the raster? For vector-files this is ...
3
votes
2answers
776 views

Overlaying GPX data on rasters in QGIS

I have a series of raster map images that I would like to use in QGIS and overlay some simple GPX routes over the top to produce a custom map image. This is all quite new to me so please bare with ...
3
votes
1answer
501 views

How to get the Flow or directional raster map using GRASS?

Aside from using r.fill.dir in GRASS, is this the script to produce the Flow or directional raster map? Is this the output for the script ...