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

learn more… | top users | synonyms (1)

2
votes
1answer
793 views

How to calculate volume from a raster file?

I have a raster file containing the depth of water. I need to find the volume of water using that raster file. I need to find the area of each cell and multiply with the depth. How can I do it in ...
2
votes
1answer
724 views

Filtering a raster by pixel value ? (Qgis)

I have downloaded Globcover data in GeoTIFF format. I want to create a new grid which only has values where the Globcover data (the only band in the TIF file) has one certain value (==190). Can I do ...
1
vote
0answers
72 views

Correlation between point feature (disease) and elevation

I have a problem! How can I calculate the correlation between point feature and Dem raster? Hypothesis: disease prevalence in high altitude is more than low altitude. I must do this in ArcGIS 10 and ...
1
vote
3answers
150 views

What is the math behind rasterization?

I'm taking the first steps in QGIS (version 2.2 Valmiera) and I am having some difficulties in knowing what mathematical criterion that QGIS uses when converting polygons (shapefile) to raster. I'm ...
1
vote
1answer
755 views

Clip raster layer with *raster* mask layer in QGIS

Given two input layers 1. The clip layer - an arbitrary layer (though in my case it's a float 1 band geotiff) 2. The mask layer - a paletted raster in which every pixel is either NO DATA or a single ...
1
vote
1answer
381 views

How to clip an Openlayers OSM Background to a Vector Boundary?

I'm new to QGIS. In my project i have two layers: one is my vector (city boundaries) and the other is the OSM (obtained with the plugin). How can I cut the OSM along the edges of the vector? I want to ...
1
vote
3answers
2k views

QGIS Raster Calculater Syntax

I am trying to use the raster calculator in QGIS to combine a number of rasters. I want to calculate a mean, this is easy: (raster_1@1 + raster_2@1 + raster_3@1) / 3 I then want to create a max. ...
1
vote
1answer
653 views

1-band raster colour table workaround in QGIS

Does anyone know what the workarounds are for the 1-band raster colour table plugin in QGIS? Currently I find it will run once, then crash on the second iteration. The workaround I use is to delete ...
1
vote
1answer
456 views

How to eliminate small features in a grid?

(Update) My final goal is to take some logged point data (1 point about every 20 ft or so there are over 15,000 points) and interpolate that point data. Then I would like to convert the interpolated ...
1
vote
2answers
418 views

How to translate (reposition) a raster in Python?

I tried to use QGIS GeoReferencer to translate a raster layer, but somehow failed. It just goes to somewhere unexpected. Now I decide to do it myself, with python. I think some libraries like GDAL ...
0
votes
1answer
53 views

GeoTIFF created using ArcGIS for Desktop not displaying in Google Earth or Photoshop?

I originally had an IMAGINE Land Cover raster file that I opened in ArcMap. I used the Extract Feature from Raster to extract only the Developed class and saved it (still IMAGINE). Then I used the ...
0
votes
2answers
123 views

How can I fix a geoTiff with an incorrect CRS?

Trying to load and plot a raster (it's a DEM) in R, but having problems. Using R I read in a raster file: library(raster) dem <- raster("DEM_Victoria.tif") # >70 MB print(dem) class ...
23
votes
8answers
2k views

What raster-based GIS systems really work?

Raster GISes like GRASS, ArcGIS/Spatial Analyst, and Idrisi can perform a rich set of data processing and analytical procedures loosely known as "map algebra." In today's computing environment it is ...
10
votes
6answers
675 views

How do I iterate through every cell in a continuous raster?

See this link for more details. The Problem: I want to loop through a continuous raster (one that has no attribute table), cell by cell, and get the value of the cell. I want to take those values ...
9
votes
5answers
1k views

Multicriteria Analysis : how to?

I have to do a multi-criteria analysis to answer the question : "which is the best lot to develop". A few of the criterias are : distance of the nearest bus stop (point layer with bus stops) ...
8
votes
2answers
733 views

Resample binary raster to give *proportion* within new cell window

I would like to go from a binary raster of forest/non-forest at 30m resolution to a raster at 240m resolution with the value of each cell being the proportion of that cell forested - i.e. the data ...
10
votes
4answers
1k views

Problems with NA values when reading .DEM file with R 'raster' package in Windows

I am trying to read a raster file in a .DEM format on windows using the 'raster' package in R. I get problems with NA values, when loading the data into R in Windows 7, but I do not have the problem ...
6
votes
2answers
673 views

What Open Source (command line/API) method is there to orthorectify and georeference an aerial image given telemetry data?

How can I take an image and orthorectify it automatically with open source software? The information associated with each image is: camera specs latitude, longitude, elevation of the camera ...
10
votes
2answers
246 views

Count raster value in a bounding box (spatial extent)

I have simple question: given a bounding box, how can I count the number of specific values (say, I am interested in the number of value == 1 ) in a raster in 1) arcpy, or 2) raster package in R?
8
votes
3answers
256 views

R, rasterVis and RGL: how to prevent reflective surfaces?

I have been experimenting with digital terrain model files in ESRI ASCII grid raster format. Despite zero experience with this type of data I found it very easy to load into R, as per code below. The ...
8
votes
3answers
473 views

How to extract breaklines from a given DEM?

Breaklines are very useful for describing a terrain - for example to build an exact TIN. My question is, how to extract these breaklines from a given DEM? I calculated the curvature (vertical) - ...
7
votes
2answers
624 views

Extracting roads out of Landsat raster images

For a study into the expansion of road networks in the rainforest I am trying to extract roads out of Landsat images. We already have sharp and cloud-free composites on which the roads are clearly ...
7
votes
2answers
2k views

QGIS and Raster Mapping in 'Seamless' layer

I would like to use Ordnance Survey base mapping in QGIS. I would like to set up something like a seamless table in MapInfo. I think that the equivalent in QGIS is a Virtual Raster Table. The files ...
6
votes
3answers
2k views

How to make transparent the background of a topographic map in QGis 1.8.0?

I'm starting to use QGis 1.8.0. I have a raster topographic map, i.e. white background and black contour lines, houses, roads and so on. I want to make transparent the white background, so if I ...
6
votes
1answer
2k views

ArcMap 10 - Extract raster cells from imagery based on RGB value

I've got some aerial photography (format: IMAGINE Image) which is detailed enough to see to fire hydrants and a shapefile of fire hydrants which was digitized based on some CAD data. My project is to ...
15
votes
4answers
2k views

Where can I find examples of fuzzy logic applications in ArcGIS?

The last ArcGIS version (10) includes two arctoolbox tools for fuzzy logic (Fuzzy Membership, and Fuzzy Overlay). Does anyone know where can I find some examples showing how they can be applied? ...
13
votes
2answers
1k views

Good practice for generating contours from a DEM

We have just received a large set of DEMs at work and I would like to generate contours from them. The DEMs have a resolution of 1m and a size of 1kmx1km. Output from gdalinfo: Driver: ...
11
votes
4answers
587 views

Dikes extraction from DEM

I do have DEM of 1x1 meter and original LiDAR point cloud in .las, that DEM is made of. I need to extract river dikes (highest points of the dikes) to vector feature (point, polyline). Any idea for ...
11
votes
1answer
680 views

Method to shade or overlay a raster map to reflect time of day and ambient light

I have a daytime raster of my study area. I have 20+ counters in the study area that count "stuff" with a timestamp. Using PyEphem I determined the type of ambient light for each collected data ...
10
votes
2answers
712 views

How can I improve my Georeferencing results?

Background This is my second question related to georeferencing naked raster maps in order to re-visualize them on different coordinate systems and in conjunction with other data layers. The previous ...
9
votes
3answers
2k views

How to get hypsometric curve from elevation data?

I have my elevation data but cannot make an attribute table from it and so I'm not sure how to get any of that data into a table in order to make a hypsometric curve.
8
votes
5answers
308 views

How to ensure uniform colour for DEMs?

This is a silly question, but one I've been trying to figure out for a while. I have two Aster DEM tiles, one next to the other. How do I ensure uniform colour for both?
8
votes
2answers
3k views

How to fully load a raster into a numpy array?

I have been trying to check my filters on DEM raster for pattern recognition and it is always resulting in missing last rows and columns(like..20). I have tried with PIL library, image load. Then with ...
8
votes
4answers
1k views

Looking for a fast, open-source raster cost-distance function to use in code

I've been scouring the internet for a fast, open-source cost-distance function that I can embed inside my code. The functionality should basically work like the ArcGIS implementation where I can ...
7
votes
3answers
2k views

Make the nodata area of a resampled orthophoto overview white?

I have a set of orthophoto images which are each fully filled with data, but when placed together the coverage does not form a rectangle so there are nodata areas. In MapGuide, I need to be able to ...
6
votes
5answers
1k views

Is there a way to clip an image with the basic ArcView package (9.3)?

Is there a way to trim a geo-referenced air photo to an irregularly shaped boundary? I tried the clip tool shown in my attachment, but it didn't work. It looks as though the output extent field ...
5
votes
1answer
326 views

How can I create a pollutant dispersion raster in QGIS?

As my previous questions have indicated, I am working on an air quality problem where I have a dataset of industrial emissions that consists of a location (long, lat), and an annual volume of ...
4
votes
1answer
243 views

Raster to vector with gaps in Landsat ETM

I need to find size of water area from a raster (jpg) using QGIS 1.8.0-Lisboa. The raster is a Landsat image with gaps of data in it. I used Polygonize, but the output file shows wrong polygon size ...
4
votes
1answer
188 views

parallelization of raster mosaic

I would like to create a raster mosaic of the national USGS NED 30m DEM (~50 GB). I'd like to leverage parallel processing using python multiprocessing module where possible. I'm using ArcGIS 10.0. My ...
3
votes
1answer
343 views

How to cope with imprecision in floating-point grids?

I have a floating point grid/raster and will want to make all values rounded to the nearest tenth. I have converted to integer (added 0.5 for rounding), but the final floating point output grid is ...
15
votes
2answers
1k views

What resampling technique should be used when projecting aerial photos?

I'm doing some time-intensive projecting of aerial photos, and I'm curious - what resampling technique is best to use on aerial photos? In ArcMap, my options are NEAREST, BILINEAR, CUBIC, and ...
12
votes
3answers
283 views

What practices are available for modelling land suitability?

I currently use a "classic" raster based approach of dividing a study area into cells. All input layers are converted to rasters at the same cell resolution and given a suitability rating. A final ...
10
votes
1answer
553 views

What is some theory on the number of GCP when georeferencing?

Just wondering, is it always better to have more than 3 GCPs? Should the GCPs be spread out evenly? Where can I find some general resources on the theory of this? Other than trial an error, which ...
10
votes
3answers
11k views

Extract Raster Value into Polygon Attribute

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of ...
9
votes
2answers
2k views

Grid vs TIF vs IMG

As the title suggests both of the above three formats are raster files. In ArcGIS, apparently there's no difference between them. So what's the difference between these three formats?
9
votes
2answers
10k views

How can I join several raster files using QGIS?

I'm new to QGIS. How can I combine multiple raster layers into one layer? The raster images are of different areas with very little overlap. The goal is to bring numerous town plats into one project. ...
8
votes
3answers
2k views

R: Download a large DEM, change projection, and adjust to smaller scale

This is a process that takes just a few seconds in GIS software. My attempt to do it in R uses a large amount of memory then fails. Is there something wrong in my code, or is this just something R ...
8
votes
1answer
740 views

How to apply a Majority filter in GRASS GIS?

I was wondering if someone could help me write a majority filter for GRASS GIS. I have this map (see below) which I need to run a filter over to make the red areas a bit more dominant. I know I can ...
7
votes
1answer
1k views

Smoothing raster features into polygon

I have raster data representing urbanized areas, which I'd like to trace and convert to a polygon. Using ArcMap's Raster to Polygon tool, I'm able to get something close to that. Unsimplified: ...
7
votes
7answers
2k views

how to overlay shapefile and raster?

I have a shapefile with polygons. And I have a global raster file. I want to overlay the shapefile's polygons onto the raster grid and calculate the mean raster value for each polygon. How can I do ...