Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
45 views

How can I transform raster to vector in ArcGIS?

I want to convert from raster data to vector dataset using ArcGIS. Raster data consists of pixels and center of z values. Vector data sets consist of points, lines and polygons and x,y values. When I ...
1
vote
0answers
15 views

Calculation of RMS between two grids [duplicate]

I want to calculate the RMSE of two grids based on their z-value: a calculated and a reference grid. I do have the statistics: Cells, Range, Min, Max, Sum, Mean, Variance, St.dev. How could I solve ...
1
vote
1answer
62 views

Error on 'Extract raster values (CSV)' - Error executing algorithm 1 'Dataset' object has no attribute 'mapToPixel' See log for more details

I would like to extract raster values at some locations (point shapefile) in 'csv' format. I use 'Point Sampling Tool' and it works well for a raster file. However, I have hundred of raster files ...
2
votes
1answer
60 views

How to create header files for multiple rasters in R

I have nearly 1000 generic binary images, i.e., headerless, band sequential and binary (16-bit signed integer). I have been succesfully able to load these with package 'raster' only when I create an ...
1
vote
1answer
49 views

Adding a grid and selecting random cells from spatial polygon in r

I have a fairly similar question to this: Similar Question I am working with a map of Denmark or more a subset of a Denmark Map. This file comes from the Global administrative areas site GADM site ...
0
votes
1answer
38 views

Combining raster images? [closed]

I've decided to work on GIS implementation in transportation. I've these small tiles of images, with world files. I want to combine them to create a base map. I don't know coding/programming, so ...
1
vote
2answers
38 views

Get raster expression

In Arcmap I have made a new raster with ArcToolBox -> Spatial Analyst Tools -> Map Algebra -> raster calculator. Now, months later, I have forgotten the source formula expression. How can I ...
2
votes
1answer
88 views

Getting Uncompressed Size of Raster using ArcObjects?

How can we get the Uncompressed Size of a raster as shown in the layer properties below using ArcObjects?
4
votes
1answer
120 views

Why covariance values are different in R and ArcGIS?

I've calculated covariance between 7 rasters using R and ArcGIS. It gives me different results. Each times covariance values from R are approximately 1.874 times higher than ArcGIS values. R - ...
1
vote
1answer
65 views

How to create the attribute table for a raster that was produced by the Slope Tool (ArcGIS10)?

I use the Slope Tool (Spatial Analyst Tool – Surface) of ArcGIS10 by ASTER GDEM (that was exported to UTM projection). The program produce new raster (with slope value), but the resulting raster ...
6
votes
3answers
165 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 ...
0
votes
0answers
61 views

How to correctly render a raster Layer to GTiFF with QGIS python console?

I am trying to render a map from a raster layer. As recommended in pyqgis cookbook and here(osgeo.org) I use QgsMapRenderer(). I am able to produce a picture but it has not appropriate extent and ...
2
votes
1answer
83 views

Export raster from QGIS 2.4 to PostGIS

How can I export a raster file out of QGIS (version 2.4) into a PostGIS database? I am looking for a module or python script.
1
vote
1answer
53 views

Converting rasters to polygons through cell centers

With arcgis, it is possible to convert a raster image to a polygon representing the boundary of the raster using the Raster To Polygon tool. The output polygon will follow the cell edges of the ...
1
vote
0answers
19 views

Changing extent on a raster in QGIS

I rasterized a shape. The resulting raster (lets call it raster 1) has a different extent. I made a virtual raster with the original polygon and I tried to multiply the virtual raster with raster 1 ...
1
vote
1answer
23 views

DEM error when trying to do topographic correction in GRASS

I'm new to GRASS gis and I'm trying to do a topographic correction (i.topo.corr) of 9 ASTER bands using SRTM dem. I keep getting this error message: ERROR: Illumination model is of CELL type Is ...
3
votes
1answer
69 views

Underwater terrain modeling

My task is to model the surface of a lake bed, calculate volume of it and visualize it as 3D a surface. I have acquired depth measurements in a small lake using echosounder. The precision should be ...
0
votes
1answer
39 views

Is it possible to create one raster elevation layer from two different point layers in QGIS?

I have two layers with X,Y,Z data. The data overlay only partly. Is it possible to create one raster layer with elevation data using the 2 sets of data but without merging them first?
1
vote
1answer
88 views

Stretched raster symbology not working in ArcGIS for Desktop?

I have some DEM rasters (from the same data source so I think they're uniform in all file specifications) that I'm symbolizing using the same stretched color ramp. I set the stretch type to min-max, ...
2
votes
2answers
42 views

How to get for a given pixel the values from different overlapped rasters?

I have a few rasters representing different soil properties, like soil pH and sand content. The rasters overlap perfectly, have the same dimensions and same coordinate reference system. I would like ...
0
votes
1answer
60 views

Create Georeferenced Raster For JPEG file with Mapnik Python

I am able to use Mapnik generate_image.py to generate image with a BBOX and projection. Also, I have added a python script to generate a JGW file. But to completely georeference the generated image. ...
1
vote
1answer
51 views

How to calculate area of respective pixel?

I wants to create NDVI Map, In which it shows an area of respected pixel value lies in map.I have NDVI value within -0.6 to 0.7. Suppose,I wants to calculate area of 0.5 NDVI value with scale of ...
2
votes
0answers
81 views

Failing to merge rasters in QGIS

I am new to QGIS but have some familiarity with other GIS software (namely ArcGIS). I want to merge a number of LiDAR digital elevation model (DEM) tiles (specifically, 30 individual tiles) to ...
2
votes
0answers
38 views

How I can create a raster and have the same overlay as another raster in QGIS 2.4?

I have made a graphical model in QGIS 2.4. I have to create a raster equation to rasterize a polygon shapefile. I want to rasterize my shapefile and I want to ensure that this new raster will ...
1
vote
0answers
32 views

ArcGIS Viewshed's show no visibility to south east

I'm using ArcGIS 10.2.2. I've been running some viewsheds using DTM files from EDINA Digimap and data that I've imported using .csv files. These files only contain the X Y details and a code for each ...
2
votes
1answer
128 views

How to create a catchment from a point using a DTM raster in QGIS?

I need to find a better way to delineate a catchment from a given point on a watercourse using a DTM - currently I am either using FEH, or if the catchment is too small using contours to draw ...
0
votes
1answer
104 views

Combining two overlapping rasters (combine cells, retain both values) using ArcGIS for Desktop?

Using ArcGIS 10.2, I am trying to combine two rasters which are identically overlapping in shape and extent, but with different values and counts. As an end result I would like each cell to retain ...
0
votes
2answers
70 views

Geostatistical Analyst raster export looks completely different

I'm having trouble trying to re-create how a Kriged layer looks when interpolated using Geostatistical Analyst. I like the level of generalization (smoothness) of the filled contours in the ...
2
votes
3answers
47 views

Mosaic to New Raster tool fail

I'm trying to merge 24 DEM files, after applying the tool (Mosaic to New Raster) only 11 out of the 24 merged. All the original files are in the same projection, pixel type, band, etc. I also ...
2
votes
0answers
42 views

Python and gdalwarp: change resolution of raster

I am new to GDAL and have been having some hard time figuring out how to change a raster's resolution and how to align it to another existing raster. I have come to the point where I have a raster ...
4
votes
1answer
199 views

Example of a “bleeding” raster in GIS?

I was reading an ArcGIS Help page recently on Polygon to Raster (Conversion) GP tool. There is piece of information there that I became interested in: If "bleeding" or stripes occur in the output ...
1
vote
1answer
40 views

Different ST_AZIMUTH results for ST_PROJECT points along the same original bearing

I'm trying to develop some way of determining line of sight (LOS) between two geographical points about 1km apart or less using ST_3DINTERSECTS or something similar. BASIC PROBLEM: Along the way, ...
4
votes
1answer
94 views

Convert ESRI Shapefile to Raster using R - biggest polygon area to raster cell value?

I want to create a raster from an ESRI shapefile. Multiple polygons may exist in one raster cell. If so, I want to assign the attribute variable which occupies the biggest area of the raster cell. ...
2
votes
1answer
24 views

Finding DEM/HIllshade sources California

Creating watershed maps for schools. I want to color ramp the elevation to show low and high points. What kind of files do I need and where to find them?
1
vote
1answer
42 views

How to calculate percentage area cover using Focal Statistics

I am trying to produce raster outputs in ArcGIS for later use in MaxEnt to model species distributions, and want to produce variables with statistics on the percentage cover of different habitat ...
1
vote
1answer
45 views

Kriging with Raster Data in ArcGIS

I have MODIS satellite imagery that depicts a range of surface temperatures. However, many of the cells are missing values. I think I need to perform Kriging in order to obtain an average value for ...
2
votes
2answers
69 views

Batch Conditional Test - For Loop with a Group of Rasters

Edit: Question was answered. Please scroll to see fixed script. Thank you everyone who helped! How do I ask a “for loop” to operate on groups of three files folder (e.x. files A, B, C), then files ...
1
vote
1answer
34 views

Preserve polygon boundaries when vectorizing a raster according to a polygon vector

I have a raster which I clip by some polygons and then convert to polygon. I would like to obtain the same number of polygons in both my vector files. The problem is that some areas in the vector ...
1
vote
0answers
41 views

Urban Heat Island USING ENVI

I have downloaded MODIS images for a specified area.. Its my first time that I am working on UHI (Urban Heat Island).. I need to know the methods to work on it.. I am using ENVI for this.
2
votes
0answers
43 views

Why does my clipped raster seem to be slightly moved?

I'm having some problems with clipping rasters. I started clipping my raster using extents, but I saw that the clipped raster is different from the original raster. I created a virtual raster to use ...
1
vote
2answers
71 views

How can you create a depth raster from a DTM and a polygon in QGIS?

I have a DTM raster and a flood outline in polygon format - how do I create a depth raster for the flood outline (i.e. flood level minus DTM level)?
1
vote
1answer
57 views

how to calculate area verses each NDVI value?

I created an NDVI map, I want to calculate area of vegetation verses the respective NDVI value of the given map. Which tools are used for this process and what steps are required?
2
votes
1answer
41 views

Is this a known issue in gaps between masked raster and spatial polygon in R with mask command?

This is my codes raster file: RAD polygon(shape): ws_sfc RAD.sub <- crop(RAD, extent(ws_sfc)) plot(RAD.sub) RAD.sub <- mask(RAD.sub, ws_sfc) plot(RAD.sub) plot(ws_sfc, add = TRUE) ...
1
vote
1answer
97 views

What's the reason for this Invalid Layer “Cannot open GDAL dataset …” error

When adding a rasterfile with QGIS python console there appears an error when the first letter of a rasterfile to be added is not written in capital letters. Why this behaviour? Example case1: ...
0
votes
1answer
47 views

removing spurious lines in raster before or after vector conversion?

I'm looking for a feature/function in either python opencv/ndimage/gdal/etc. or qgis/saga/grass that will help clean up a skeletonized image that I'd like to vectorize into a shapefile of ...
2
votes
1answer
50 views

Intersect shapefile with raster, then determine proportion of each raster value?

Using the arcpy module in Python, I want to find the proportion of each pixel value within the boundary of an overlaying polygon. (The polygon is in a shapefile.) For example, there are 10 possible ...
0
votes
1answer
34 views

Using ArcGIS Polygon to Raster tool does not divide resulting raster on cells?

I try to create raster composed of small (5x5 m) cells (pixels) from a polygon in ArcGIS-10. I created a polygon (as a single object), and use Feature to Raster Tool and Polygon to Raster tool (of ...
1
vote
0answers
27 views

TIMESAT input image requirement?

I tried to work on TIMESAT but always facing a problem. Here is the method I have used. Seems correct, but I get a warning at the end. I have created a NDVI file from ENVI 4.8 >> Transform >> NDVI ...
3
votes
0answers
48 views

How to calculate 90% confidence interval in a raster stack

I have a stack of grid files (23) in ASC format from a MODIS sensor and I need to calculate a 90% confidence interval, mean, min, etc, for each one in R, how can I do that? specially the interval. ...
9
votes
5answers
401 views

Raster diff: how to check if images have identical values?

Is there a means to check to see if any 2 given raster layers have identical content? We have a problem on our corporate shared storage volume: it's now so big that it takes over 3 days to conduct a ...