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

learn more… | top users | synonyms

1
vote
3answers
55 views

Raster algebra to tiled maps on a sever with open source solutions

Let's say I have a collection of data in raster format. It changes daily. Once each day I would like to do some fairly complex raster algebra on these datasets. I would like to be able to do the ...
1
vote
0answers
125 views

Reprojecting a population raster from LAEA to lonlat

I have a population density raster from the EEA which is based on the CORINE land cover 2000 data. ...
1
vote
3answers
261 views

Raster calculator to create single raster with 4 values from two binary rasters

I have two binary rasters showing habitat suitability (0 = unsuitable, 1 = suitable) under current and future climate scenarios. I am trying to create a raster showing: 0 = cells that are not ...
2
votes
1answer
486 views

Load the raster image which is in TIF format using QGIS API

I am quite new inthe field of GIS. I am interested in is to load the raster image which is in TIF format using QGIS API I have followed the steps given the in the follwing link to load shape file ...
0
votes
3answers
1k views

Save rasters created by loop operation to different directory?

I have a set of rasters. I crop them all using FOR loop. Then, I want to save new-created rasters in new directory, not in my actual directory. For one raster it is easy: writeRaster(raster1, ...
2
votes
2answers
609 views

Remove clumps of pixels in R

I would like to remove isolated pixels (or clumps of pixels <9) from my raster image. library(raster) # create some raster data r <- raster(ncols=12, nrows=12) set.seed(0) r[] <- ...
3
votes
2answers
75 views

Isolation and interpretation of vineyard multispectral data

I have 3 band multispectral raster imagery over a vineyard from which i have created a number of indices e.g. NDVI. The data is fairly high resolution (5cm/pixel) so shows a lot of along vine and ...
1
vote
1answer
151 views

How do you calculate a new field for a raster table based on value from a joined table?

I need to know whether it is possible to calculate a new field for a raster table based on a value from a joined table. Ideally I'd like to be able to accomplish this task without having to add table ...
1
vote
1answer
205 views

QGIS virtual raster - insufficient permissions

I'm trying to create a virtual raster in QGIS 2.6.1 64b on Windows, but I get the message: "The process failed to start. Either the invoked program is missing, or you may have insufficient ...
3
votes
1answer
162 views

How to remove spikes from grid in SAGA GIS? [duplicate]

I tried to get a grid by interpolating LAS file using Ordinary Kriging. But the product grid has many pixels which values strongly stands out from average surface - I mean one pixel sinks nad spikes. ...
2
votes
2answers
124 views

Getting raster values on grid nodes

I have my raster layers of Digital Elevation Model, aspect, slope and curvature for a certain region. In this region I want to apply a grid with a certain spacing in its nodes, and then get the ...
3
votes
1answer
754 views

How to write every raster from a list of rasters?

I have created a list of rasters - "norm" and run a several loops. Now I would like to write every created raster from "norm" (containing 1 layer) into one raster, having its specific name. # I can ...
3
votes
0answers
174 views

How to calculate areas in raster files

I got three files. The first is a shape file for country boundaries and the second and third are two raster files with the global land covers for 2005 and 2009. I'm thus encharged to calculate the ...
1
vote
1answer
256 views

How to change the raster format using QGIS translate?

I tried to change a raster format from .tiff to .asc using Qgis's 'translate'. As a result, I get 3 files: a PRJ, XML and a file without extension just a plain file... What could it be happening? I ...
1
vote
0answers
27 views

TIFFDirectory.getAsMetadata() is not including GeoTIFFTagSet. Any solution to this problem? — JAI

The source code appears to simply copy the TagSet List object to the IFD and then the TIFFMetadata. I don't understand where it is losing the tagset as it is in the list before the call. Anyone ...
8
votes
3answers
3k views

r - increase speed of crop, mask, & extract raster by many polygons

I'm extracting the area and percent cover of different land use types from a raster based on several thousand polygon boundaries. I've found that the extract function works much faster if I iterate ...
0
votes
1answer
28 views

Raster Files Sizes from Point Data Extremely Different

Using ArcGIS 10.1. I created rasters from several groups of point rasters using the Point to Raster tool. All of the points groups are similar size and extents. The first group of points had a file ...
1
vote
3answers
129 views

PostGIS raster maximum number of bands?

Is there a limit on the maximum number of bands you can store in a postgis raster? I cannot find documentation on this. As far as I can remember, a geotiff allows up to the max short integer (so ...
1
vote
1answer
58 views

Efficiently working with converting vrt rasters to greyscale in QGIS?

I have large raster tile sets working well in QGIS (Ordnance Survey UK data). Sometimes I want to grey/fade these to make my data clearer to see. Attempting to access properties on QGIS for the VRT ...
1
vote
0answers
127 views

Using the accCost() function in R: questions regarding the transition layer

I am trying to use the accCost() function from the gdistance package in R. I load my cost raster using the raster()function from the raster package. According to the documentation, I need first to ...
5
votes
1answer
2k views

How to import multiple stacked raster images in R?

I have (I suppose) wery easy and silly question but I can´t really find my answer... I would like to import all multiple mosaic rasters (each mosaic is composed by 7 layers) from indicated folder into ...
1
vote
0answers
144 views

How to run GAM with raster package?

When I am using the raster package to predict a surface probability map of species distribution using the following functions in R, the following error occurrs: CA132122200=raster("F:/CBG ...
2
votes
3answers
82 views

Raster symbolization in open source web gis

We would like to build a simple web map application that displays raster data (e.g. a digital surface model) and symbolizes values (e.g. height) using a color ramp. Is it possible to have the user ...
6
votes
2answers
194 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 ...
2
votes
2answers
1k views

Changing color of raster images based on their data values - gdal

Let's say I have 1 band raster images with Gray Color Interpretation and I want to change their color based on their data values. Data values -1, will be Blue, -0.5 will be Light Blue, 0 will be ...
2
votes
0answers
392 views

Calculate Euclidean distance to raster WITHIN multiple polygons

I am using ArcGIS 10.1 on a Windows x64 system. I am working in a study area where I have 360 000 locations of about 50 territorial animals. I have a shapefile containing 125 sometimes overlapping ...
2
votes
1answer
602 views

Export Geotif with transparent Background

i using Arcmap and i have a raster file, i need export this using a Geotiff file for use in Geoserver like a layer. My problem is, when i export the file always exist a color gray or white in the ...
2
votes
1answer
238 views

What am I not getting about JPEG 2000 coordinate systems?

I hate to ask this here because I suspect it is a very basic question, but after several days of scouring the web, I need some help with understanding JPEG 2000 imagery and coordinate systems. What ...
2
votes
1answer
88 views

Whats the best way to convert this tab data to a raster?

I have some grid data that is stored in a xls file. The rows are lattitude and the columns are longitude values in decimal degrees (see image). What would be a quick and efficient way to convert ...
1
vote
1answer
40 views

Error summing 2 different rasters?

I was trying to sum two different rasters and the final outcome is an error (image attached below)? The main goal is to sum the values of each pixel in those rasters (both raster files have the same ...
1
vote
1answer
659 views

Create raster with distance to feature

I'm new to GIS (and QGIS in particular). I'm trying to create a raster layer that contains the distance to shoreline for a certain region. I have both vector layers of the shoreline (line) and the ...
3
votes
1answer
487 views

Problems using r.reclass in QGIS: invalid reclass rule error?

I need to reclass some rasters, but i am having a couple of problems, i can´t generate a new raster with the reclassification using the r.reclass of GRASS. For the question here i´m using as example ...
1
vote
1answer
60 views

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
9
votes
2answers
574 views

Methodology for Hansen classification of Global Forest Watch?

I have just discovered amazing Hansen´s classification about forest loss and re-growth, available at http://www.globalforestwatch.org/, published in Science, 2013 as: Hansen, M. C., Potapov, P. V, ...
3
votes
1answer
414 views

Find local maxima with variable window search using ArcGIS Desktop?

I would like to find local maxima in different zones of raster file. I got five zones (zone 1, 2,3,4,5) and would like to find local maxima with different window search for each zone in arcgis ...
2
votes
1answer
1k views

Exclude Raster Cells with Value of Zero in ArcGIS 10.2 Raster Calculator Expression

I need to perform a simple calculation in ArcGIS 10.1 Raster Calculator. I am using a raster layer that contains many cells that have a value of zero. I need to exclude these cells in the expression ...
1
vote
3answers
270 views

Can I find out the exact areas which each category covers?

I have accessed a land use map and clipped the appropriate area I need to analyse. Is there a way I can find the exact areas which each category covers?
2
votes
1answer
233 views

ENVI 5: High resolution export of multiband imagery

I have to export some multiband Landsat imagery (Landsat channel combination 543) in high resolution in ENVI 5 for a Figure which I later will edit in Adobe Photoshop and Illustrator, best would be ...
0
votes
1answer
141 views

Clip .hdf (MODIS) rasters by shapefile

I am trying to do a temporal analysis on vegetation quality so I downloaded a MODIS .hds raster from earthexplorer. When I opened the file into ArcMap 10.2.2, it came as a group of 11 rasters. I stuck ...
0
votes
1answer
204 views

For loops + boxplot for raster

I have several Rasterstacks (b1_mask, b2_mask,...) of several layers representing only a determined pixel-intensity range. (So point "A" in some layers is "NA" - in others a "value" of that certain ...
0
votes
1answer
68 views

Extent from Centroids, Projection, and Resolution?

I have a file that defines a raster, although all the metadata was lost. I know the lat/long coordinates of the grid centroids, and that the grid is in a Mercator projection with a 1/12deg equatorial ...
2
votes
0answers
214 views

Arcpy script for summing pixel values in loop can't handle large number of rasters

I want to sum the pixel values of large numbers of rasters of different extents (ArcMap v10.2). 16GB RAM. I have the following code (with help from this site) which solves the different extent ...
2
votes
0answers
68 views

How to change values in a raster file at particular positions?

I have a collection of coordinates which comes from a QGSGeometry object. The shape is a polygon. example: qgsGeometry [[(75.2172,17.6566), (75.8499,17.9613), (75.5218,17.2113), (75.2172,17.4574), ...
1
vote
1answer
241 views

How to get a total amount of cells per classification type in a raster in ArcGIS 10.1?

I did an supervised classification for for this watershed. The attribute table doesn't have the count for total number of cell for each classification. I've created a field titled 'Count' with type ...
1
vote
1answer
258 views

Use field calculator to reclassify values from three different fields to populate a new field AND determine overlap with different raster

I want to reclassify values of 3 different fields AND determine if one of those fields is located inside a different polygon to populate the values of my new field. Everything is raster. I created a ...
1
vote
1answer
75 views

How to sum up values of neighbouring rasters? [duplicate]

I have a raster (25X25 meter) and I will make a new raster where each cell get the value of the sum of all the raster cells in a radius of 500m. I use QGIS. What is the best option to do this?
1
vote
0answers
130 views

QGIS Mac OSX version cannot batch write output files after rasterization

Happy new year everyone, I have been trying to batch rasterize a series of .shp files using QGIS for Mac OS X, and keep coming up against a strange problem. I am using the QGIS 2.6.1 user interface, ...
3
votes
0answers
193 views

Subset two rasters with different extent and origin (and resolution) only where there are data in both in R

in R, I have two rasters with different extents and origins (and possibly even resolution). How to efficiently take the subset of each of them only where there are data in both of them? Here is a ...
2
votes
0answers
139 views

ArcMap - Export raster symbology to a raster function template programmatically

I would like to programmatically export symbology for a raster dataset as a raster function template xml file, as can be done by clicking the export button in the symbology tab of the layer properties ...
1
vote
3answers
856 views

How to subtract rasters using the gdal_calculate command

I just want to know how to subtract two raster using gdal_calculate command? Or what is the proper way of subtracting using this? Any idea would be greatly appreciated. Note: gdal_calc is different ...