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
23 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
1answer
44 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?
1
vote
1answer
108 views

Analyse slope gradient from LiDAR .asc data

I'm new to using QGIS. I have purchased some LiDAR data which downloads as .asc format, is there a way to analyse the terrain slope angle from this data or does it need to be converted into DEM? ...
2
votes
1answer
31 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 ...
1
vote
0answers
18 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 ...
0
votes
1answer
141 views

Merging Raster: ImportError: No module named _gdal_array

When I try to merge rasters I got following error message: _gdal_array = swig_import_helper() File "C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 18, in ...
1
vote
1answer
48 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: ...
2
votes
1answer
32 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
0answers
104 views

NAs not allowed error message in attempt to plot raster object in R

I have imported a clipped raster (performed in ArcGIS 10.1) from the National Landcover Dataset into R, but when I try to plot I get the following error message. Error in .readCellsGDAL(x, ...
0
votes
1answer
35 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 ...
0
votes
1answer
25 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 ...
0
votes
2answers
27 views

Aggregating rasters with GDAL

I have a set of files that have been mosaiced into a global VRT in a particular projection and resolution. However, I have a need to report statistics on a (say) one degree grid, where the reported ...
3
votes
0answers
27 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. ...
3
votes
0answers
67 views

Classified Images of RandomForest-Classification look clustered

I performed a RF-classification. I have 6 bands, ~250 trainingpoints in a shapefile, OOB estimate of error rate: 1.56% Picture of take trainingpoints added. My code: ...
2
votes
1answer
47 views

Processing RGB+NIR raster into RBG?

I have a Geoeye 1 satellite photo that's a 4-band multispectral B,G,R,NIR, 11 bit raster. Ultimately I want to publish this raster as a web service (using Mapserver). I opened up the raster in Qgis ...
9
votes
5answers
340 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 ...
2
votes
3answers
49 views

How to increase raster extent by filling extent with no data using ArcGIS Desktop without Spatial Analyst?

I am using feature to raster to rasterize water polygons. It only makes a raster the extent of the features in the polygons, whereas I would like it to be the extent of another existing .tif image. ...
2
votes
1answer
580 views

Problem in importing raster data from PostGIS to Geoserver

I am using Opengeo Suite 3.0.2, PostGIS 2.0.3 and PostgreSQl 9.2. I am trying to import raster data from PostGIS to Geoserver but facing an error. I follow this tutorial link to import the raster ...
2
votes
0answers
33 views

How to Interpolate very large datasets in QGIS

I am working with a very large set of point data, (XYAttribute) which I wish to display as a raster. I've been using Interpolate, this is successful but very slow. I have other programmes that simply ...
0
votes
0answers
57 views

Error: .asc is not a supported raster data source

I am new using QGIS and struggling with this error "...... .asc is not a supported raster data source" when trying to add a ."asc" file as a raster. I downloaded the files from ...
1
vote
1answer
39 views

Flow accumulation raster loading in QGIS 2.4.0 with null values (but flow direction loading ok!)

I have been tasked with creating an open-source hydrology dataset for a community group. To do this I have exported the flow direction and flow accumulation rasters from ArcMap as TIFF files and then ...
3
votes
2answers
70 views

Merging raster and vector not working

I have 1 vector layer (counties) and 1 raster layer (population density). I have tried merging these two, so that I can examine population density within a county, but I have had no luck. It just ...
2
votes
0answers
41 views

Using R to subtract the polygon area of one shp file from another

I'm looking to produce a map from two separate maps in R. My Maps files are as follows: ftp://ftp.cpc.ncep.noaa.gov/GIS/us_tempprcpfcst/610prcp_20140822.zip #Map1 ...
0
votes
0answers
28 views

IMG and geoTIFF raster extraction

everyone. I'm very new to GIS technologies. Somehow, i need to extract raster(RGB data) data from geoTIFF and IMG files. What is the fastest way doing it?
3
votes
1answer
225 views

How do I write XML metadata with Python?

Some Python software I have written generates raster files via GDAL. I would like the software to create an XML metadata file for each raster so that I can include details about how the raster was ...
3
votes
1answer
48 views

How to model a geodesic grid in PostGIS?

Abstract I've decided to use PostGIS for a hobby game project. It requires a lot of units allocated on the surface of a planet. I'd like to model not only the units (simple points), but also their ...
3
votes
1answer
227 views

Can ArcGIS handle missing values to create a contour map?

I am trying to create a contour map for a waterbody. It turns out that in several locations there is no data. I just don't want to use the missing values as zero in ArcGIS because it would create ...
1
vote
2answers
51 views

How to produce “SpatialPixelsDataFrame” from stacked RasterLayer?

How to produce "SpatialPixelsDataFrame" from staccked RasterLayer ? I have a stacked rasterlayer and I want to convert them to SpatialPixelsDataFrame. RasterLayer information is > RAD.all[[1]] ...
0
votes
1answer
170 views

How to draw a custom map on top of base layer

I'm looking for the easiest way to draw a custom layer and export it as a tile cache. Basically what I would like to be able to do is load a base layer, and then draw objects and annotations on top ...
4
votes
3answers
517 views

Finding outliers with wrong Z values in LIDAR data

I have more than 2000 XYZ (only ground points) .txt files and I have to do Quality Control (QC). Let's say I have file, which I converted to multipoint (or even singlepart feature). I have mean Z ...
1
vote
0answers
31 views

Postgis Raster Unions Color Issues

Can someone explain to me what I am doing wrong here as I think I do not properly understand postgis raster bands. I have a set of geometries that I want to merge with a raster and created a raster ...
2
votes
2answers
105 views

Reprojecting Natural Earth raster into natearth projection with gdalwarp causing black squares?

I'm trying to reproject the Natural Earth 2 raster layer (http://www.naturalearthdata.com/downloads/10m-raster-data/10m-natural-earth-2/) into the natural earth projection ...
1
vote
1answer
112 views

Step-by-step: How do I extract Raster values from Polygon overlay with Q-GIS or R?

I am writing my master thesis at the moment and am having the exact same problem as user Curley in this question: I first need to overlay a Corine 2006 raster with a polygon layer (2638 polygons). ...
4
votes
2answers
75 views

How to access raster NoData value?

I am trying to programmatically access the NoData value in a raster dataset as shown in the screenshot. Two tools that come to mind to describe raster properties do not seem to be able to describe ...
0
votes
2answers
74 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 ...
0
votes
1answer
99 views

I don't find the mistake in my RandomForest-classification

I am trying to make a RF-classification of aerial-imagery to specify tree-species. I extracted 3 bands and made a .csv file with columns: band1 band2 band3 x y class The band columns include ...
2
votes
1answer
50 views

Map algebra from files in multiple directories

I'm a rookie in python programming. I want to do map algebra for multiple rasters but these rasters are in different folders. Here's the code ive created so far: #Importing modules import arcpy from ...
2
votes
1answer
80 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 = ...
2
votes
1answer
34 views

How to read raster datasets from ESRI geodatabase with FME?

I have a file geodatabase (10.2) with gdb feature classes as well as geodatabase raster datasets. I am using the Esri Geodb API reader in FME Desktop 2014 to read feature types from this geodatabase. ...
0
votes
0answers
31 views

Ortho-rectification of Aerial Image

I took an aerial image of our farm using RC quadcopter. How am I going to orthorectify this image? Please can you help me with detailed instructions/methods involving the process.
2
votes
1answer
46 views

Rasterizing Contours - How to remove 0 values

I want to convert vector contours to a DEM. From other posts, I wanted to utilise the Grass r.surf.contours tool. Initially I converted the vector contour layer to a rasterized contours using the ...
3
votes
2answers
62 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 ...
2
votes
1answer
31 views

How to assign CRS to RasterLayer in R

I have a layer with coord. ref. : NA. How can I assign coord. ref. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 to coord. ref. : NA? class : RasterLayer dimensions : ...
2
votes
2answers
42 views

How to add updated tiles to ArcGIS mosaic

I have several hundred aerial imagery raster tiles (in ecw format) that I have loaded into a mosaic dataset. I would now like to 'replace' or 'overlay' an older aerial imagery layer with this dataset. ...
6
votes
2answers
2k views

How do I layer stack rasters in QGIS?

I have some multi-spectral data, where the individual bands are separate Raster files. How do I layer stack these rasters so that I get one raster with 3 bands instead of 3 different rasters? This ...
2
votes
1answer
40 views

Error reading Esri Grid format using GeoServer?

Using GDAL I can extract information from an ArcGRID raster, just by giving the name of the grid folder: gdalinfo -stats grid_folder All the statistics show up. I have tried with many arcGRID files ...
1
vote
2answers
279 views

combine raster with another raster mask file - gdal

I have 2 rasters in GeoTiff format. One has all of the land and water and the other is a mask file that shows either 0 for water or 1 for land. I basically want my output to just have the land values ...
6
votes
2answers
175 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 ...
1
vote
1answer
35 views

Density slice/Colour slice in QGIS?

Can you do Raster Color Slices (like in ENVI) in QGIS? I.e. Where the histogram can be divided up into discrete units to represent different classes based on the values of the pixels.
2
votes
2answers
42 views

Rasterize line shapefile

I'm trying to convert a line shapefile to a raster image at QGis, but my attempts have been unsuccessful. I've tried to use Raster/Conversion/Rasterize and SAGA/Grid - gridding/Shapes to grid, but to ...