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

learn more… | top users | synonyms (1)

2
votes
1answer
37 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
70 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
42 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
38 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
32 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
23 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
32 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
357 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
59 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. ...
3
votes
0answers
70 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
0answers
35 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 ...
2
votes
1answer
50 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 ...
0
votes
2answers
28 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 ...
1
vote
1answer
42 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 ...
0
votes
0answers
34 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
2answers
75 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
52 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 ...
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 ...
1
vote
2answers
60 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]] ...
4
votes
2answers
84 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 ...
2
votes
1answer
39 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. ...
2
votes
2answers
112 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 ...
0
votes
0answers
34 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
49 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 ...
2
votes
1answer
38 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 : ...
0
votes
1answer
107 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
60 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
2answers
44 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. ...
1
vote
0answers
32 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
1answer
45 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
1answer
38 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
52 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 ...
3
votes
0answers
41 views

ArcPy: Initialize zero valued grid Raster and iteratively increment

I'm jumping right into ArcPy to help out a friend who needs to automate some ArcGIS work. The problem at hand can be reduced to the following pseudocode: accumulationRaster = SomeZeroedRaster for ...
1
vote
0answers
52 views

GDAL WMS in QGIS 2.4

I'm trying to add in QGIS a layer shown here : propluvia When I watch in my console I see this request corresponding to the layer I need. The server is not able to respond to a getCapabilities ...
1
vote
0answers
49 views

Mapnik PGRaster Plugin creating 8x8 tiles with visible boundaries

I have used the latest addition to Mapnik PGRaster plugin (https://github.com/mapnik/mapnik/tree/2.3.x) by Strk(https://github.com/strk/mapnik/tree/2.3.x-pgraster) and merged recently. I am able to ...
2
votes
1answer
102 views

Random-Forest Classification of 10cm Imagery for species-distribution in R (no point-shapes)

I'm actually trying to classify 10cm-resolution images with the RF-package. I do this to separate some species in the forest, seen on my images. While I was searching for an answer, I found the ...
2
votes
0answers
43 views

Error in polygonising raster data with QGIS on Mac

I'm using QGis Chugiak on a Mac and I'm trying to converting a raster layer in a vector data by: Raster/Conversion/Polygonize. So, I select the layer needed from the drop-down menu, I give a name to ...
3
votes
2answers
85 views

GDAL (Python) Aggregate Raster Into Lower Resolution

I have a (continent-scale) raster with 30m resolution in an Albers equal area projection. Each 30m cell has a value 1-34. I would like to aggregate information from this raster into a 1km grid such ...
1
vote
1answer
29 views

QGIS create raster from cadastre (property lot data) polygon

I have a cadastre (property lots) polygon dataset of a region. Have used rule-base style in QGIS to show different groups of properties in the dataset classified based on their property lot size (ie. ...
2
votes
1answer
52 views

Smoothing raster map

I have a raster map of US Midwest which is very sparse, i.e. the pixels of interest are few enough to be almost invisble when viewed at a scale where all states of US Midwest are visible. I would like ...
3
votes
1answer
69 views

Max cell value from a stacked raster

How can I find a max cell value from a stacked raster. Rmax <- maxValue(RAD1998.all[[1]]) works fine but Rmax <- maxValue(RAD1998.all[[2]]) gives NA. Of course not in a stacked raster. ...
3
votes
3answers
103 views

Scatterplot, correlation of dependence and r-square between two rasters

I have two rasters of the same region and of same resolution and I want to plot in a scatter plot their values and compute the best - fit line with r-square. Any idea how can I do this on Arcmap or ...
1
vote
1answer
34 views

How to crop a vector shapefile according to raster?

I am trying to clip a vector shapefile- points according to a DEM in QGIS. I used GDAL function and polygonized the DEM. Then I ran the Vector-Geoprocessing tools-clip in order to crop the vector data ...
1
vote
1answer
26 views

How to show number of patches in a neighbourhood?

Given one raster file containing only one zone that indicates patches of vegetation in a city and a shape file containing neighbourhoods for the city, explain how you could create a map that shows the ...
2
votes
2answers
57 views

Open Raster stored in ESRI V10.0 Geodatabase in QGIS V2.4

Is there a way to open a raster that is stored in ESRI V10.0 Geodatabase in QGIS V2.4. I can open the vector layer, but there does not seems to be a way to open a raster.
2
votes
1answer
29 views

Get min-max values of a raster and populate two parameters with the values in tool validation script

I am customizing the script tool behaviour of a custom script and would like to get the min-max values from a raster self.params[0] and populate the next two parameters, self.params[1] and ...
4
votes
2answers
85 views

Plot a Raster of Weather data in Leaflet JavaScript Map without generating server-side tiles?

I want to show different weather data I have as binary arrays on a server using leaflet. But I do not want to generate tiles on the server. For each point in an a array I have the coordinates in ...
1
vote
1answer
45 views

raster files are not exact in extent after clipping

My two layers (chlorophyll-a and Bathmetry) are not exact after I clip my rasters. My bathymetry data (1) is reporting up to 10 decimal places where as chlorophyll-a (2) is only 3 decimal places and ...
3
votes
1answer
72 views

How to overlay a county boundary on a raster file?

I want to overlay California county boundary top of raster layer. Here is is my code: data(coastsCoarse) data(countriesLow) library(gtools) library(maps) library(maptools) library(sp) # Raster ...
2
votes
1answer
34 views

Convert polyline to presence absence raster in arcpy

I have a polyline that I am converting to a raster in arcpy. This is occuring within a loop and at each iteration I change the processing environment to a different area of interest. In this case it ...