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

learn more… | top users | synonyms (1)

3
votes
0answers
38 views

Raster loaded in ArcMap 10.2.1 not showing decimal places for value

I have an IMG format raster that I am loading into ArcMap 10.2.1. The pixel type and depth, as reported by the Source tab in Layer Properties is 32-bit floating point. The values, as reported in the ...
1
vote
1answer
33 views

Placing a cost raster in Arcmap Table of Contents in 10.2.2

We have a set of routines that have been used for writing rasters to the ArcMap table of contents from our tools. The code that always worked is this: /// <summary> /// Used for ...
2
votes
2answers
67 views

Group adjacent polygons with similar (but not same) attributes

In ArcMap 10, I have a few dozen tiffs with cells that represent habitat area that has been burned. Each burned cell has a Julian date of the fire associated with it. I want to end up with polygons ...
2
votes
1answer
30 views

Extract all raster cells outside a polygon

How does one perform the very simple task of extracting all raster cell values outside a polygon? I've been looking through QGIS for hours with no solution to this simple problem.
2
votes
0answers
99 views

Problem loading output layer QGIS

Every time I run operations with temporary file output from the graphical modeler, I get the following error message: Oooops! The following output layers could not be open CLIP: ...
1
vote
1answer
34 views

Finding coordinates of the image corner

I have a .bmp image with a map. For creating image i used a Ingeo 4.4 and function MakeImage() What i know: Height an Width of bmp image dpi Map Scale Image Center's coordinates in meters. What i ...
4
votes
0answers
55 views

Save fails on raster object created from NumpyArrayToRaster [closed]

I am trying to save an ESRI grid built from a numpy array and am getting an error I've never seen before: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ...
3
votes
1answer
92 views

SAGA raster calculator, ifelse command syntax problem?

I am trying to get the saga raster calculator in QGIS to spit out all values of a raster that are inferior to 10, and make all other values zero. I think the syntax is correct but I keep getting the ...
1
vote
2answers
55 views

Is there any efficient way to create a raster with pixel value representing a unique id calculated based on pixel lat/lon?

I have 10m raster for each state in US. Current pixel value represents something. I want to have 'same' raster but pixel size representing a unique id calculated based on pixel lat and lon. I am ...
3
votes
2answers
76 views

How are kappa and overall accuracy related with respect to thematic raster data?

I recently calculated kappa (using confusionMatrix{caret} in R) between a thematic raster dataset at 1m spatial resolution and another at 30m spatial resolution. I was interested in quantifying the ...
1
vote
0answers
26 views

Multiply Rasters with Scalar Numbers as Input in QGIS Modeler

I built a little model in the QGIS modelbuilder which uses the raster calculator with the command gt(a,threshold) I need to run the model with varying thresholds from 2 to 30 so it would be ...
3
votes
2answers
196 views

How to generate wind direction raster using its U and V components in arcgis?

I have two raster layers representing the U and V components of a vector wind. I could generate the magnitude raster by applying (u*u+v*v) in Map Algebra in ArcGIS. Now I need to generate the ...
1
vote
1answer
183 views

QGIS GRASS Missing Dependancy

I want to perform a view shed analysis in QGIS using GRASS 7 r.viewshed. When I double click on r.viewshed in GRASS GIS 7 commands in the processing toolbox of QGIS I get the following message: ...
1
vote
1answer
40 views

Problem with batch mode Saga Raster Calculator

I have to do a couple of raster multiplications for which the batch mode would save me a lot of time. But the only thing I get are rasters that contain nothing but nan values. If I multiply the ...
1
vote
0answers
26 views

Easy way to extract raster cells OUTSIDE a vector (Mask) layer in QGIS?

I have a raster file but am only interested in the cells outside a certain polygon. This polygon is very iregular and scattered across the raster. Is there any easy way to extract only the cells ...
2
votes
1answer
91 views

Levelplot(RasterVis) two marginal plot scale?

How can I add/display scale to two marginal plot? RAD1998.all <- stack(list.ras) list.files <- mixedsort(list.files(paste(getwd(), "/1998bil/", sep = ""), full.names = F, pattern = ...
1
vote
1answer
33 views

Deleting vector lines beyond image extents using QGIS?

I am using QGIS 2.2 I have one vector line layer (roads) that stretches beyond my base image (see below). I wish to have the roads "clipped/trimmed or deleted" right at the edge of the image's ...
1
vote
1answer
22 views

How can I shift raster layer for making cloud-shadow mask?

I want to make cloud shadow mask in QGIS. I have raster cloud mask and I have to shift it by X,Y coordinates. Is there any easy solution? Many thanks, Helena
6
votes
1answer
77 views

Graphically depict statistical difference between thematic rasters

The graph shows a regression between two raster datasets with classified tree canopy cover: class 1 = 0-10%, class 2 = 10 - 20% ...class 6 = >60% (Figure 1, Figure 2). The spatial resolution for ...
0
votes
1answer
57 views

levelplot index issue

levelplot with static index works fine but not in a for loop. What's wrong with my code? Static index: png(paste("1998",outlist[[1]],".png",sep="")) levelplot(RAD1998.all[[1:4]]) dev.off() ...
0
votes
2answers
85 views

R -plot 12 images per plot or save 12 images per image file in R

Here is R script and my question is How can I plot 12 images per plot or save 12 images per image file because I have total 864 images. RAD1998 <- raster(paste(getwd(), "/1998bil ...
1
vote
1answer
80 views

AttributeError: 'unicode' object has no attribute 'save'

I'm trying to multiply my raster to 100 from my ListRasters. I've adapted the code (especially the for loop portion) also from this site. Now, I'm encountering an error at the last line, when saving ...
3
votes
1answer
141 views

Highest DEM pixel in polygon

I'm working with QGIS and have a big DEM raster layer with height information and a vector layer with many polygons, representing 1 x 1 degree tiles. Now I want to find for every polygon the highest ...
2
votes
0answers
40 views

(How) can I write string data to a raster with Python/GDAL?

In Python, I have a NumPy array of string values (categories of some variable) that I'd like to write to a raster file (.tif or .img) using GDAL. The impression I get is that it's not possible to ...
2
votes
1answer
28 views

QGIS raster clip error: Cutline not of polygon type

I have a raster file and want to clip it, but I'm getting this error: "ERROR: Cutline not of polygon type" what does this error mean and how can I resolve it?
2
votes
0answers
35 views

Align & Sum Grids in Python

I have two grids. One, call it A, is 4320x2160 cells and spans the whole globe. The other, call it B is 8640x3432 and spans the circumference of the globe, but is clipped toward mid-latitudes. Both ...
2
votes
2answers
47 views

Reclassify a rasterList and sum the reclassified value from each Pixel

I'm trying to write a script in arcpy which reclassified a List of Rasters. This rasters are made by another tool before so there is already a loop. Actually I get the error 000582 and before this ...
3
votes
1answer
59 views

How can units be defined in QGIS for the Rasterize tool?

I am using QGIS 2.4 (Chugiak) via the kyngchaos build for OS-X. My question is--when using the Rasterize tool to convert a point vector layer to a raster and using the "Raster resolution in map units ...
1
vote
0answers
42 views

PostGIS Raster functions not working

Hopefully I have a simple question that I'm not phrasing correctly in google. I'm trying to learn about storing and producing rasters in PostGIS. There are tons of examples and documentation online ...
1
vote
1answer
29 views

Java how to create geotiff from points

I have an array of objects where each object has three fields: lat, lon, and category. It is essentially pixels that have been given a land use category. I cannot figure out how to turn this data into ...
3
votes
0answers
36 views

Looking for a QGIS solution to make aerial imagery ArcSDE compatiable

Would like to avoid having to use 3d Analyst and use free raster tools in QGIS or elsewhere to make aerial rasters ArcSDE compatible. This 18 page work flow is what I am trying to use. Any suggestions ...
1
vote
1answer
52 views

Speeding up loading raster

I georeference a tif image and then I clipped that image in a mosaic. I did a index of these images but when I load them is very slow(7 seconds or more to display the first tile). How can I do to go ...
2
votes
1answer
38 views

Error reading large virtual raster with rasterio: “Cannot invert degenerate transform”

I've created a virtual raster using gdalbuildvrt, which covers a large extent (England) at a high resolution. The data is fairly sparse, focused around the coastlines with no files covering inland ...
0
votes
0answers
28 views

How to smooth raster data? [duplicate]

I want to print a map of an island based on SRTM data but the basic raster layer looks pixelated especially at the transition to the ocean. Is there a way to smooth it?
1
vote
0answers
77 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 ...
2
votes
2answers
43 views

Setting background RGB value to invisible for multiple rasters in ArcGIS Desktop?

I'm using ArcGIS Desktop 10.0. I need to set my background rgb value of 255,255,255 to transparent. In the layer-Properties Windows > Symbology I can do it for one layer, but can I batch set this, or ...
1
vote
1answer
104 views

how to use gdal_rasterize? how to know which attribute to burn with ogrinfo?

I have a vector layer I need to rasterize. I guess this is a basic operation, but I haven't found the information I need yet. First, I have reprojected the vector shapefile: ogr2ogr -s_srs ...
2
votes
0answers
50 views

Is it possible to change the default raster style of newly created rasters in QGIS?

If I do calculations on rasters with the raster calculator or other tools, the resulting rasters displayed in my canvas are always in the same default style (singleband gray, black to white...) so ...
2
votes
0answers
46 views

How to add a TIF raster layer programmatically?

This is my code whenever i try to load .tif image it shows layer is not valid,QgsRasterLayer always return invalid layer (I am using linux 12.04). QString myFileName = ...
2
votes
0answers
37 views

How to group a multiple rasters in MapServer?

I had a map files for each state (raster file) of India. Now I want group all mapfiles to show a single raster or single map file? How I can do in using qgis or any platform?.
1
vote
2answers
54 views

Is there raster equivalent to vector Intersect?

The intersect tool that is used on vector data cannot be used on raster data. What tool can I use for my two rasters that does the same as the Overlay > Intersect tool?
1
vote
1answer
32 views

Determine changes in land cover of isolated features over time?

I have a a study area of 2 Landsat scenes from 2013 which were classified for a specific natural community, and these areas have been isolated and extracted and digitized into vectors so that they can ...
0
votes
0answers
56 views

Merge/mosaic categorical rasters in QGIS/GDAL

I am attempting to make yearly bins of some monthly MODIS data for all of the US. The cells of the raster are defined with Julian dates indicating the date at which a burn event took place. After ...
3
votes
2answers
81 views

Use Values from Raster Statistics (e.g. sum of all cells) in Raster Calculator

I need to do calculations on raster layers which require the sum of all cells of the raster. I've used the zonal statistics tool for that but it gets a little annoying to do those extra steps (run the ...
1
vote
1answer
39 views

Con() does not recognize raster values

I have a problem when using the con() argument. What I want to do is to remap all raster of a raster file ("Red_SL") cells with values larger than 40 to the new value 5. All other values should be ...
1
vote
1answer
49 views

Iso Cluster tool in script failing to open clip raster

I have been coding in Python for only a few months, so maybe I'm just overlooking a minor detail as a newbie. I have written the script below for a class project. It is supposed to clip two rasters, ...
1
vote
0answers
24 views

Problem with adding mosaic layer via arcpy

I have a mosaic layer that I want to add to my map in ArcMap. When I add this layer manually (i.e the "Add Data" button), a raster image, a boundary, and a footprint are added to my table of contents. ...
0
votes
1answer
37 views

Cannot get 2 raster files of same cell size to align ArcMap 10.2

I have two raster files that are the same cell size but I cannot get them to align properly. (I want the black to line up with the pink) When creating the black raster file (from using polyline to ...
2
votes
1answer
134 views

How to find the projection of an image?

Instead of georeferencing the image and deforming it, I'm trying to find the projection used by the author of the image. I've got tens of these distribution maps to digitize. The idea is to avoid ...
2
votes
3answers
85 views

Use GDAL command line to copy projections

I have two images, a georeferenced Tiff and a second Tiff without a reference. The second image is a copy of the first, but it lost its reference. Now, I want to copy the reference from the first Tiff ...