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

learn more… | top users | synonyms (1)

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
2answers
59 views

How to decide how to “stretch” raster imagery?

I have to symbolize a digital elevation model. ArcMap offers many different setting for stretching the symbology which all give widely different results. Some stretch methods symbolize the data so ...
6
votes
3answers
2k views

How to efficiently read and reclassify many rasters in R

I've been tasked to create a suitability analysis of wave conditions in the Gulf of Mexico. I have 2 thousand or so raster files that are about 8 MB each (2438 columns, 1749 rows, 1km cell size). ...
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
198 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 ...
5
votes
1answer
368 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
263 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
2answers
450 views

focal statistics with variable radius

is there an easy way to do focal statistics on a raster, with a variable radius for the neighbourhood to be searched? As in: that search radius would be stored in another raster? i tried something ...
3
votes
1answer
366 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 ...
12
votes
3answers
286 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
615 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
14k 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
4answers
6k views

How can I export raster data from Arcmap to an R *.grd file format?

I want to work with raster data in R, but I have problems exporting my raster dataset from ArcMap. By "export data"/GRID I get a file with an *.aux extension. What I need is *.grd. Can anybody help ...
8
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 ...
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
769 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: ...
6
votes
2answers
272 views

Breaking apart a polygon layer by unique values, creating many new layers

I have a large dataset of habitat information that I need to calculate distances from animal locations to the closest polygon of each habitat type. The way to do this, that I understand, would be to ...
6
votes
1answer
198 views

What is the best raster format for large NoData areas?

Is there a good raster format for dealing with a large number of NoData cells? I do a lot of flood modeling and mapping, and recently I've been using rasters to show predicted flood depth and/or ...
6
votes
2answers
563 views

Raster to Vector

I want to map out moisture availability using satellite image but I do not know how to convert the raster image to a thematic map with limiting boundaries like state boundaries. I am using ArcGIS 9.3 ...
5
votes
4answers
4k views

Advanced colour palette for raster data

I'm working with satellite date namely chlorophyll and sst. Each geophysical parameter generally has standard colours to represent them. I'm importing geotiffs into Qgis and I'm having difficulty ...
5
votes
1answer
1k views

grib2 to raster? (grib2 -> raster2pgsql -> PostGIS 2.0 -> GeoServer)

I'm looking to implement import of US National Weather Service data for doing various sorts of models (www.soils.wisc.edu/uwex_agwx if you're curious about what we're doing with the data). The ...
5
votes
2answers
2k views

How do I calculate a weighted centroid with respect to a raster, e.g. population weighted centroid

In ArcGIS 10.0, how do I calculate the weighted centroid of a collection of polygons, where I want the weight to be a raster layer. In particular I am using a raster of population counts and would ...
4
votes
1answer
1k views

How to re-project ease( Equal Area Scalable Earth) grid with a ~25 km cylindrical projection to WGS84 0.25 degree? [duplicate]

I have nc (NetCDF) files for global soil moisture. From the metadata, the projection is cylindrical and the resolution is 25 km (it is based on authalic sphere based on International 1924 ...
3
votes
1answer
305 views

How to speed up band math in R 'raster' package?

I have some GeoTiff rasters with over 100 bands in total, but they are not huge: resolution is about 1200x600 and total size is less than 7 mb. I'm trying to do a simple NDVI calculation: raster ...
3
votes
3answers
1k views

How to Export Raster with same classification colors seen in ArcMap?

I have a single band raster, but i like to export it with the same colors as in Arcmap. Any help please.
2
votes
1answer
125 views

How to best remove rgb values outside of aerial image?

I have just converted RGB-TIF images to RGB-ECW for reasons of space and performance in ArcGIS. However, after the conversion, there are relics outside of the images which are not nodata values but ...
2
votes
2answers
236 views

SPOT NDVI time series

I have 423 spot.vgt ndvi from first April 1998 till 31 Dec 2009. I want to know how to stack these NDVI to have one image for time series analysis? Or better to ask how is it possible to analyze a ...
2
votes
2answers
883 views

GDAL Clipping (hack)

I am trying to use the python script from http://www.sparkgeo.com/labs/2010/07/07/gdal-clipping-hack/ to clip a raster based on many shapefiles. The script is using a mysql database an i would like to ...
9
votes
2answers
456 views

What is the correct way to convert a USGS Orthoimage from WorldImage format to tiled GeoTiff for GeoServer?

USGS provides different resolution orthoimage quadrangles in the WorldImage format (*.tif with an accompanying *.tfw world file). Some of these quadrangles can be used by GeoServer (2.1.0 - 2.1.2) by ...
8
votes
1answer
287 views

Where is this raster offset being introduced in the QGIS processing toolbox?

I'm using the (awesome!) processing toolbox in QGIS 2.0 to reclassify some NoData values in a raster from -9999 to 0, but at some point in the process there's an offset of about 0.2 degrees being ...
8
votes
3answers
991 views

calculate area of vegetations in a raster file

How do I calculate area of several vegetation types in a raster (.img file type) image. They are color coded. Am using QGIS (1.8.0) and ERDAS 9.2.
7
votes
1answer
666 views

How can I change the class of one pixel in a classified image?

I have a classified image (I did it in ERDAS) with six categories. There are some misclassified pixels (especially high-density urban category). Is there any way that I can choose one pixel and then ...
6
votes
2answers
424 views

How to generate TFW files for a list of images?

I have a few digital images that are not georeferenced. E.g.: Img01.tif Img02.tif ... Img99.tif On the other hand, I have a text file, which contains georeferencing information for these ...
6
votes
1answer
384 views

ModelBuilder: How to extract data by date, export to separate tables and interpolate tables to rasters

I've been using ArcGIS for a couple years, but when it comes to model builder I've only worked with very simple models. I'm hoping someone that is much smarter than myself can help me in building a ...
6
votes
1answer
1k views

Creating a mask with transparent pixels in python

I have a geotiff image with pixel intensities ranging between certain values. Lets say bewteen -2 and 2 (the image is normalized). I have a certain threshold which interests me, lets sat 1. I would ...
6
votes
1answer
5k 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 ...
6
votes
3answers
5k views

How to add Raster legends in QGIS map composer?

Is there a plugin or method to add legends for raster layers (with a custom colourmap) as an item in the print composer?
6
votes
3answers
3k views

Insert Raster to MXD using arcpy.mapping (ArcGIS 10)

What i want to do seems simple. But again i can't even find a workaround... I have got a lot of Raster-files (ESRI-GRID) which i need to insert into a layout mxd-file and then export the map to ...
5
votes
1answer
1k views

Save Visible WMS layer to file

Is there tool to save currently visible WMS layer to file in QGIS, or some place in QGIS where you can get needed xml to fetch it using gdal ?
5
votes
3answers
329 views

Create Zonal Grid in R

Suppose I have a n*n raster, and I want to create k square blocks (k can be divided exactly by n*n ) for zonal analysis: for example, when n = 4 and k = 4 a 4*4 raster is create with value 1 1 2 2 ...
5
votes
2answers
915 views

How to enclose clustered points with polygon?

I have a raster with forest (1), no forest (2) data. "1" is represent single/few trees and there is gaps between them. I want to create a polygon around these trees to a forest map. It is not a dense ...
5
votes
2answers
2k views

Using SearchCursor to access & export values in a raster table

I am desperately trying to export the values in a raster table to a .txt file. I've seen some other folk post about this, but for some reason can't get the code to work in my case. I have a raster, ...
5
votes
1answer
2k views

Coordinates of upper left corner in the world file?

According to Wikipedia and ESRI last two lines in the world file represent x and y coordinates of center of upper left pixel. Now, if I have a world file like this: 32.0 0.0 0.0 -32.0 691200.0 ...
4
votes
5answers
190 views

How to group individual groups of pixels into a single class

I have a raster image with certain pixel groups of equal area. Each group represents a single house. I want all the pixels near a group of houses to have the same pixel value, i.e., I want to name ...
4
votes
1answer
368 views

How to extract pixel value counts from a raster in QGIS?

How does one go about obtaining a summary of the counts of cell values within a raster in QGIS? I know QGIS is doing this, in order to provide the summary statistics and histogram in the properties of ...
4
votes
0answers
1k views

Loading raster from PostGIS DB into QGIS: succeeded yesterday, fails now [closed]

I have a PostgreSQL(v.9.2)/Postgis(v.2.0.3) database which includes raster layers (added through raster2pgsql). To open them in QGIS (v.1.8.0-Lisboa), the "Add Postgis layer" menu will not work; ...
4
votes
1answer
211 views

How to create cohesive Spatial Pixels from Spatial Points Dataset

I have a Spatial Point DF spo (covering an irregular shaped area of interest). The data are not on a regular grid due to crs transformation. My goal is a raster with predefined resolution and extent ...
4
votes
2answers
1k views

How to get an extent for Raster using python

I have to get an extent of a given raster so that I can save it and use the same to clip another raster with that extracted extent. As of now I am stuck in the extent part. import arcpy from arcpy ...