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

learn more… | top users | synonyms

7
votes
1answer
254 views

Looking for US National Grid to Lon/Lat Converter in Python, C, or C++

I see here that there is Fortran source code for going from USNG to lon/lat: http://www.ngs.noaa.gov/PC_PROD/USNG/ Is there some python or C/C++ code that does the same? My understanding that this ...
7
votes
1answer
170 views

How can I conduct Geographically Weighted Analysis using an exponential decay function?

I have some points (representing 30 study sites) and I want to calculate the weighted mean of several variables (landscape layers) using a negative exponential decay (weights function) to give more ...
6
votes
2answers
276 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
3answers
2k views

How can I select vector features that overlay raster in arcpy?

I have two datasets: point feature class and raster (stored in file geodatabase). The spatial extent of the raster is smaller than the point dataset. Is there a way I could select (or create new, ...
6
votes
2answers
2k 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 ...
6
votes
3answers
5k 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 ...
6
votes
2answers
1k views

Creating a multispectral image from scratch

I want to make a multispectral image from cero to do some tests on it. Something really simple like 5 completely uniform bands with salt and pepper noise on them or a square of different values at the ...
6
votes
2answers
999 views

Moving raster to different mapset GRASS GIS

I have a raster DEM that I created in one mapset but I would like to copy it to another mapset for another purpose. Is this possible within GRASS or can I just copy some files over in the ...
6
votes
2answers
2k views

How to change null values raster values to 0 in QGIS?

I need help... I'm having problems with QGIS. I have some rasters that appear to have null values, even though I reclassified them to obtain a boolean raster :( How can I change the NULL values to 0?
6
votes
2answers
7k views

Manipulate .asc files in qgis

I have an .asc file and I want to import in QGIS. The standard way to open it is from "add Raster layer" ("import Raster Layer"), there is another way? I know is strange that ask but I need it. And I ...
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 ...
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 ...
6
votes
3answers
3k views

Raster mosaic not displaying raster values ArcGIS 10

I have eight DEM tiles that I downloaded from the USGS National Elevation Dataset. The individual rasters are displaying correctly, but when I try to combine them in a Raster Mosaic I get arbitrary ...
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
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
2answers
453 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
3k views

Best Way to Handle Many Raster Files in QGIS?

I have a project with a large number of raster files, but it is becoming very slow. I wonder which is the best way to handle all this. I'm simply georeferencing these files creating .wld file (geoTiff ...
6
votes
2answers
578 views

How to simply label raster cells?

I think the title says everything but: I want to generate a small sample raster (eg. euclidean distance or cost distance) to explain the method of cost-distance analysis, and I'd like to label the ...
6
votes
3answers
3k views

ArcGIS Export Selected Raster Graphics

I'm having a problem exporting raster graphics using ArcGIS 10. It seems simple enough, but for some reason I cannot get ArcMap to work with me. Here are my steps: Add a raster to ArcMap Open the ...
6
votes
2answers
1k views

Easily find centre point of a raster in ArcMap 10 document?

If I have, say, a rectangular and georeferenced raster file loaded in an ArcMap 10 document (.tiff w/ associated tfw), how do I easily find its centre point and store that point in a points vector ...
6
votes
2answers
896 views

FOSS method to split raster into smaller chunks

I have a raster (USGS DEM actually) and I need to split it up into smaller chunks like the image below shows. That was accomplished in ArcGIS 10.0 using the Split Raster tool. I would like a FOSS ...
6
votes
1answer
656 views

How to modify the colors of a raster map to use only one color in varying shades?

I have a raster map in GRASS containing elevation values. I want to display the elevation values in only one color (specificaly blue) but in varying shades of blue. I tried the options in r.colors, ...
6
votes
2answers
79 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
3answers
3k views

Garmin etrex raster maps support

I currently use an excellent set of printed topographic route maps for mountain biking. I would like to scan the maps, georeference them, and upload the maps to a handheld GPS device. Does the etrex ...
6
votes
3answers
585 views

Suggestions for an efficient way to store raster files for lab use?

I'm trying to create a repository for our raster files from various sources and Im exploring the possibilities on how to store them and deliver them in our local intranet. I have come across rasdaman ...
6
votes
2answers
573 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 ...
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 ...
6
votes
3answers
3k views

Raster: How to get elevation at lat/long using python?

I was wondering if anyone has some experience in getting elevation data from a raster without using ArcGIS, but rather get the information as a python list or dict? I get my XY data as a list of ...
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
1k views

How to find the elevation differences between adjacent pixels in ArcGIS?

Is there a way to determine what the difference in elevation is between two adjacent pixels? I am using an SRTM DEM to map faults. I am using the vertical error (>16m) as a criterion for the ...
6
votes
3answers
5k views

Finding nearest raster cell value based on vector point?

I have two layers in ArcGIS: One is a vector point and the other is a raster layer. I want to append the value of the raster data grid to the vector point. The problem is the vector point is away from ...
6
votes
2answers
278 views

How to force 1-bit raster output in ArcGIS 10.1 for Desktop?

Any ideas on how to force a 1bit raster output in ArcGIS 10.1? By default, ArcGIS is being very dense about recognizing pixel depth. I have a binary raster [0,1] and a mask raster [1] and they are ...
6
votes
2answers
1k views

Best way to clip a large raster ECW file ?

I am trying to clip a large ECW (details below) but the raster file is too big to be processed entirely. Some details of the ECW below Driver: ECW/ERDAS Compressed Wavelets (SDK 5.0) file size: ...
6
votes
6answers
576 views

Interpolation of multibeam bathymetry

I'm trying to make a 3D map with multi-beam bathymetry (65536 features, xyz), but it seems that the interpolation methods are too rigid. I need to smooth the data so it looks more natural and ...
6
votes
1answer
240 views

How to create points around edge of viewshed results?

Is there a tool or module, or multiple tools, in ArcGIS that will allow you to automate the creation of points around the outer edges of a viewshed? What I am trying to do is gather data about the ...
6
votes
1answer
188 views

weighted mean across rasters in R

I have 2 rasters. One raster (bio1) contains temperature information across a continent. The other (sp) contains, for each cell, a probability of occurrence for a species. I would like to calculate ...
6
votes
1answer
495 views

Calculating “relative slope” per Mora-Vahrson method in ArcGIS

I'm a longtime lurker who finally decided to register on the forum (in no way driven by my need to have a certain question answered, of course...). I was contacted by a colleague asking for help ...
6
votes
1answer
3k 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 ...
6
votes
3answers
1k 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
3answers
2k views

How to smooth / “reinterpolate” a raster with GDAL?

Short: I want to change the resolution of a raster and smooth the gray ramp like shown in the images bellow. The preference is to use GDAL, PIL or Numpy. Description: I'm kriging points into rasters ...
6
votes
2answers
278 views

Wavelet vs Discrete compression for imagery

What is the main reasons to choose wavelet (jp2, sid, ecw) instead of discrete (JPEG) compression methods for raster data? Lets limit this question to aerial imagery and lossy compression. Why ...
6
votes
4answers
1k 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
1answer
199 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
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 ...
6
votes
3answers
165 views

How do I display a raster “Background Value” as hollow for more than one set of RGB values?

I have two overlapping .ecw layers of the same area, though one is clipped in the middle, with a white edge. When I set the background value to 255,255,255, and define it as hollow, it only hollows ...
6
votes
1answer
224 views

How to reclassify raster data by their sign?

I want to do the following: I have two data raster sets with different units and values. One results from measured metric data, the other from modelled grid values. What I want to compare is simply ...
6
votes
3answers
3k 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
3answers
2k views

Extract raster by mask output does not completely overlap the mask

I have a flow accumulation grid and a shapefile containing catchment areas. Now I want to do some calculations on them so I need to extract data from cells in the raster adjacent to certain catchment ...
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 ...