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

learn more… | top users | synonyms

6
votes
1answer
336 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
7answers
5k views

How can I align two non-coincident equi-resolution raster grids?

I have two rasters: a digital elevation model (DEM) and a Landsat band. The grid resolution of both is 30 m, but the grids are not coincident (see image: the dark raster on top is the DEM; the light ...
6
votes
1answer
212 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
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
462 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
3answers
2k 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
760 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
234 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
605 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
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
326 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
1answer
2k 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
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
2answers
103 views

Is there an open standard for raster information?

For geographic vector data (Features) there is an OGC standard that defines geometries and their different annotations such as WKT and WKB. For raster image data however, I was not able to find ...
6
votes
2answers
3k views

How to make RASTER from irregular point data without interpolation

I was trying to make a raster image from an irregularly spaced point database. The data looks like- > head(s100_ras) x y z 1 267573.9 2633781 213.29545 2 262224.4 2633781 ...
6
votes
3answers
4k 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
3k 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
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
1answer
2k views

Count number of unique raster pixels in polygon using ArcMap?

I have a polygon shapefile and I want to generate a table of a count for each pixel value in each polygon. My main goal is to find out what pixel is most abundant in each polygon. I am using ArcMap ...
6
votes
1answer
440 views

Normalizing and adding kernel density rasters

I have 4 years of road kill data for one road, though each year has a different sample time frame (i.e. May-June vs. April-October) and therefore each year has a different number of surveys and totals ...
6
votes
1answer
435 views

QGIS composer - How can I eliminate striping across transparent raster layers?

I have downloaded QGIS dev version 1.7.0-114 and I have come across some weird behaviour in the composer. I create a map with a hillshade and a transparent DEM ontop of it, pretty standard stuff. ...
6
votes
3answers
373 views

How to combine raster and attribute table in QGIS?

I have some rasters representing string categorical variables. Each raster contains integers, used to translate the categorical variables. I have also the .csv tables giving the meanings of the ...
6
votes
1answer
231 views

Simplest way to limit the memory that the raster package uses in R

What's the easiest way to limit the memory the raster package uses in R to 5GB of RAM? Ideally I want any raster that exceeds this size to be written to the hard drive and analysed from a temporary ...
6
votes
1answer
473 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
943 views

Python equivalent of gdalbuildvrt

Is there a way to perform the same task as the gdalbuildvrt utility using GDAL Python bindings? So far I have not found any way to do this other than creating a vrt of a single dataset and manually ...
6
votes
1answer
186 views

Is there a difference between projecting shapefiles then rasterizing & rasterizing shapefiles then projecting?

I currently have a project where I rasterize shapefiles into simple presence/absence (1 & 0) rasters and then add each one to a running total to create a total richness raster at the end. The ...
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
1answer
1k views

How to display dynamic raster (lidar) data on a Web map?

I have some high quality LiDAR data. I need to process it dynamically, and update a field (not elevation field) depending on my input and elevation at that point. Once this is done, I need to display ...
6
votes
1answer
754 views

In QGIS, how do I remove a band from a raster?

When I process a raster in QGIS it creates a second band. It appears that band has no useful data. I like to use the Raster Colours Tool and it will not accept a raster with anything more than on ...
6
votes
1answer
942 views

QGIS WKT Raster Plugin error, what does this mean?

I have been playing with the WKT Raster plugin. I have installed the WKT Raster experimental binaries in PostGIS successfully and followed the instructions in the read me to the letter. When i am in ...
6
votes
1answer
1k views

Counting NoData values in raster using ArcGIS Desktop?

I have created a raster in ArcGIS Desktop 10 with a large number of holes (NoData) in it. I want to fill the holes using something like the the following: rOut = ...
6
votes
1answer
286 views

GDAL equivalent of ArcGIS Mosaic

The word 'mosaic' is often used for quite different things within the worlds of ArcGIS and GDAL. With GDAL and it's downstream applications like Qgis it is common to see mosaic used in the context ...
6
votes
1answer
232 views

Add raster paths to shapefile with Python (ArcGIS)?

I have a problem and maybe someone is able to help me or give me some hints how to start. Situation: I have a lot of raster and of every raster I have the center coordinate. Out of this coordinate I ...
6
votes
1answer
264 views

Raster aggregation in ArcGIS Desktop?

I'd like to aggregate a raster from 1m to 6m in ArcGIS with a custom rule. For example, each cell value of aggregated raster = mean value of 5 highest cell values from 36 aggregated values. How do ...
6
votes
3answers
1k views

Find a proper path between two nodes in a grid

This question is about finding a proper path (route) between two nodes (P,Q) in a grid (i.e., graph, network, ...). In our concept, we define a path proper (nice) if it is the most similar* to the ...
6
votes
2answers
1k views

Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new ...
6
votes
3answers
1k views

How to display row and column indexes for an image in ArcGIS?

I have been struggling with how to find the row number and column number for particular points in any raster map. My raster details: columns and rows: 720 360 cell size (0.5, 0.5) How can I ...
6
votes
2answers
4k views

How to extract road and building features from raster data?

I work with raster data and my task is to digitize a big image. This consumes much time just for digitizing roads and buildings! I'm looking for tools to simplify working on raster data to digitize ...
6
votes
1answer
126 views

How to perform a non-linear regression pixel by pixel?

Using nlsLM from Package ‘minpack.lm’ is straightforward for a simple example like this: MODEL:y=(exp(a*x+b*z+c)+d)^f x=c(0.5,0.3,0.2,0.4) z=c(0.1,0.6,1,0.9) y=c(0.2,0.3,0.9,0.9) ...
6
votes
1answer
180 views

What resampling technique should be used to reproject an altitude raster?

Does anyone know whether I should choose: nearest, bilinear, cubic or majority when projecting the WorldClim altitude raster layer?
6
votes
2answers
3k views

Using individual bands from a multi-band image in ArcGIS 10 raster calculator

I'm trying to use individual bands from a multi-band TM image (IMG file) within the raster calculator in ArcGIS 10 (SP2/3). I can add individual bands to my MXD, but raster calculator will only use ...
6
votes
2answers
489 views

Confidence interval from raster data

I have raster data that represents a probability distribution, i.e. each cell has a probability value (in my case the probability that an animal may be found in the cell), and all the cells add up to ...
6
votes
1answer
4k 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 * ...
6
votes
3answers
882 views

Converting point data into a weighted raster

I am completely re-writing my question as i think it was quite confusing before: I have a number of different points, each point has a -z value. I need to create some sort of raster or a series of ...
6
votes
1answer
735 views

Is there a way to get the percentage of different landuse types upstream of a given point?

I'm a fairly novice GIS user and know just enough to get in trouble in a lot of cases. I am trying to look at the connection between several measured parameters at a few hundred stations along ...
6
votes
1answer
215 views

Assigning costs to a road network : use raster or vector?

I have a road network in a PostGis database (db_routing). In another database (db_environment), I have some spatial features of the surrounding environment (trees as points and water bodies as ...
6
votes
1answer
1k views

ArcGIS 10: Adjust custom grid intervals based on map scale?

I am preparing a pmf which includes a custom grid overlay. To clarify: a custom grid overlay is marginalia, not a feature class with geometry (so a scale dependecy inside a layer won't work). The ...
6
votes
2answers
536 views

Histogram Matching Python

I am trying to do histogram matching using Python to improve the mosaicking process of multiple overlapping rasters. I am basing my code on that found at: ...
6
votes
0answers
507 views

What is the correct syntax for using gdal_rasterize with a PostGIS datasource [closed]

I have a multipolygon layer in PostGIS and I would like to use gdal_rasterize to generate a raster. I cannot find the correct syntax to specify PostGIS as the data source. $ gdal_rasterize -a ...