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
1answer
44 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
1answer
20 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
2answers
35 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 ...
1
vote
1answer
115 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
0answers
16 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
113 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
2answers
152 views

How to import R-generated .gri/.grd raster files in GRASS?

I received data in .grd + .gri format, where the first one is a small text file and the second one (having the same name) is a binary file. I am unable to open them in GRASS/QGIS. Any hint ? Missing ...
1
vote
1answer
32 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
0answers
18 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 ...
1
vote
1answer
13 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
3
votes
1answer
337 views

Why is Orthorectify button not active in Image Analysis Windows in ArcGIS10?

I wanted to Ortho rectify GeoEye HR imagery using existing RPC and IFSAR DTM in Image Analysis. According to ArcGIS Resource center ...
0
votes
1answer
49 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() ...
1
vote
1answer
266 views

mosaic raster to file geodatabase yields missing raster sections

Since upgrading to ArcGIS 10.1 (SP 1) from 10.0, I've been encountering an issue when running the arcpy.MosaicToNewRaster_management() tool with output to a file geodatabase. I'm principally working ...
7
votes
2answers
587 views

Extracting roads out of Landsat raster images

For a study into the expansion of road networks in the rainforest I am trying to extract roads out of Landsat images. We already have sharp and cloud-free composites on which the roads are clearly ...
5
votes
0answers
30 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 ...
1
vote
0answers
15 views

splitting polygons by semi-automated classified raster and into multipolygons

I am studying glaciers. Most of them in my case are partly covered by debris (i.g rocks) and partly not. So I ran an automatic classification to recognize these two type of coverages and produced a ...
2
votes
3answers
320 views

Stuck in loading raster to PostGIS

I am running running Mac OS X (10.7.5), PostgreSQL (9.2) and PostGIS (2.0.2) (installed via Postgres.app). The PostGIS extension seems to work perfectly with vector and raster layers. Once I enable ...
0
votes
1answer
99 views

QGIS Scripting problem updating contrast enhancements for raster layers using bandStatistics

Found this function to update statistics for a raster layer : rlayer.setContrastEnhancement(QgsContrastEnhancement.StretchToMinimumMaximum, ...
6
votes
1answer
239 views

How to extract vectors from map using QGIS?

I am trying to extract building footprints from a raster map (as shown in the example below). Please note that the maps are out of copyright, have been scanned and georectified by a library and have ...
2
votes
2answers
36 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 ...
1
vote
1answer
34 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 ...
2
votes
2answers
637 views

Python problem in conditional combining of multiple rasters and produce one output

I have two rasters for same spatial extent and need to compare both rasters cell by cell and produce one output raster. Each has 10 land cover classes. Based on those 10 classes the comparison should ...
2
votes
1answer
131 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
1answer
229 views

Raster map in different zone () than region ()

I am new to QGIS (just installed QGIS 2.0.1) and am having problems running any spatial analysis tools. I followed the instructions on how to call GRASS tools into QGIS, but when I try to run the ...
2
votes
1answer
14 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
36 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
0answers
21 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 ...
1
vote
0answers
27 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
18 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
1answer
33 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 ...
0
votes
1answer
88 views

Convert a KML ImageOverlay to World Files with GDAL

I have many raster outputs from an Open Source radio transmission topographic path tool called SPLAT, georeferenced in KML image overlay format. I have figured out an easy way to use tools to ...
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 ...
1
vote
2answers
376 views

GDAL/proj4 equirectangular projection coordinate system units assumed by OGRSpatialReference and GDALDataset::GetGeoTransform()?

How do I configure my OGRSpatialReference object to specify an equirectangular projection system http://en.wikipedia.org/wiki/Equirectangular_projection where the affine geo-transform matrix (provided ...
1
vote
1answer
59 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 ...
1
vote
1answer
89 views

Tabulate Area for large datasets

I have been struggling trying to use Tabulate Area in Arc 9.3 for a large raster dataset. I have one raster with 8 land uses and another vector layer with zones (which I converted to a raster with ...
2
votes
1answer
27 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 ...
1
vote
1answer
123 views

Floating point calculations in QGIS

How do I manage floating point calculations in QGIS? I have carried out 3 consecutive calculations on landsat bands. I end up with 32 bit floating point rasters on which I can't carry out a 4th ...
3
votes
0answers
32 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
48 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 ...
1
vote
1answer
96 views

Rasterizing polyline data with QGIS/GDAL: custom line width

I need to make a raster from a polyline shapefile. However, when I use gdal_rasterize (either directly or through QGIS), all my lines are drawn one pixel wide, while I need them to be drawn with the ...
1
vote
0answers
66 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 ...
5
votes
1answer
213 views

R raster Package Moran's I interpretation

I am using raster package to calculate the local Moran's I . The example gives the range of Moran's I between - 1 to 2.47. On my own data I have see the value range -3.070423 - 7.228558 How can ...
3
votes
1answer
132 views

How to count and rasterize polygon overlaps in QGIS?

I have a large number of polygons that are overlapping. I'd like to create a heat map and plan on using raster calculation to do this. My plan: to give each polygon a raster value of 1, and adding ...
9
votes
2answers
1k views

How to count and rasterize polygon overlaps in ArcGIS Desktop?

How do you take a vector layer with overlapping polygons and turn it into a raster where each cell counts the number of polygons containing that cell? We are looking at polygons of fire burn areas ...
0
votes
0answers
27 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?
0
votes
1answer
100 views

Building attribute table from raster in ArcMap 10.1

I have a NetCDF file containing the latitude, longitude and porosity for the entire US. I am trying to add another value (wilting point) which depends on the porosity. I wanted to extract the netcdf ...
2
votes
1answer
336 views

Problem about converting raster to polyline and calculating total length

I have raster file of line segment. I need to convert it to line and get the distance of that line. How can i do using Python and ArcGIS 10? I have tried with GIS tools Convert Raster to Polyline but ...
2
votes
2answers
58 views

Display two-dimensional color gradient for two different quantities

I have two overlapping raster layers. One contains quantity A from 0 to 100, and the other contains quantity B from 0 to 100. I'd like to create a map displaying both sets of data at once based on a ...
1
vote
1answer
27 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 ...
2
votes
2answers
138 views

How do I stop null values from being assigned extreme color values?

I have a raster surface that I kriged in Surfer and imported to Grass GIS but when I view it in QGIS, the null values outside of the interpolated surface take an extreme value and wash out the ...