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

learn more… | top users | synonyms

1
vote
1answer
54 views

How to calculate zonal statistics from multi-band raster for each polygon using python?

I want to calculate the zonal statastics from multi band raster for a polygon layer. When I am using this snippet of code: vectorlayer=qgis.utils.iface.mapCanvas().layer(0) rasterfile = ...
1
vote
1answer
81 views

How to get smooth contours from points or IDW raster in QGIS

Hello I'm an artist trying different ways of drawing contours in QGIS using points with income values. I've been able to import a shp file with the data, create a layer with centroids of the census ...
2
votes
0answers
16 views

Sampling raster by line in QGIS

I am quite new to GIS, and was wondering if you might be able to help me out? I have a raster layer for gradient as well as a line created from GPS tracking points(using the point connector tool). Is ...
0
votes
0answers
24 views

Spatial segregation from a raster of racial distribution in the USA

I am trying to measure the degree of racial segregation at some geographic level (let's say the county level, for simplicity) in the USA. I have a shapefile with these geographic units. To do so, ...
0
votes
1answer
34 views

Importing TIF raster in QGIS, default color band

Where can I change the default color bands for importing raster images? When I import a TIF image the green color band is not set causing a purplish image. When I set it in the properties it views ...
3
votes
1answer
55 views

What's going wrong when I reproject raster in EPSG:32115 in QGIS?

I wish to make a QGIS project with an orthoimagery layer and a vector layer of GPS points. I'm using QGIS 2.8.2, 64 bit, in Windows 7 on a Lenova t430 laptop. Raster is in EPSG: 32115 (mercator, ...
0
votes
1answer
57 views

Geoserver renders reprojected raster only as transparent images

Trying to reproject WMS layers in geoserver from the default of EPSG:4326 to EPSG:3574 Using the default projection works fine. url = ...
0
votes
2answers
30 views

How do you insert values into custom fields when adding to a Mosaic Dataset table?

I have a mosaic dataset (file geodatabase) with an additional field added to it (id that is integer) and I'm trying to accomplish in ArcPy what I can do manually--which is: Add a new raster (single ...
1
vote
2answers
55 views

How to sum values of overlapped pixels in thousands of rasters layers and clip it using a polygon in QGIS?

I have a lot of rasters files (more than 6000), each one represents the presence and absence of a species (1 for presence and NoData for absence). The set of rasters covers the whole Latin America ...
0
votes
2answers
43 views

Why do my raster pixels not align?

I am working in ArcMap 10.2.2. I am trying to project a NED 3m dataset from a Geographic Coordinate System to a Projected Coordinate System. The output rasters pixels do not overlap the original ...
1
vote
0answers
32 views

Assigning Raster Cell data to Point data

I have 23 sets of raster data for different types of habitat (which I have performed Block Statistics on in Arc10.2, in order to create a 1km grid). I also have 5 different Sets of point data showing ...
1
vote
0answers
42 views

How to align hundreds of rasters quickly

I'm hoping to accurately align hundreds of aerial images that are slightly off-kilter. The images cover the same area on different dates (several acres). They contain identifiable features around ...
2
votes
2answers
39 views

Converting NoData to 0 values in ArcGIS Desktop?

I have a raster of landcover that I have reclassed and the different land cover classifications are now represented by numbers which correspond to fertilizer inputs. Using ArcGis 10.3, I am trying ...
0
votes
0answers
38 views

Aggregate / Calculate Cell Statistics >1000 Rasters

I'm looking for a tool/script that does simply what "Cell Statistics - Mean/Sum" in ArcGIS does but for more than 1000 Rasters (TIF) (I need to process ~10000 Raster at once). I'm not used to use ...
1
vote
0answers
37 views

How to obtain an euclidean distance raster from a vector file in QGIS?

I'm trying to obtain a raster of Euclidean Distances from a vector layer I have of a river in Spain. I did it very easily with ArcMap using Euclidean Distance, but I don't know how to do it in QGIS. ...
1
vote
0answers
34 views

Where can I download a raster dataset with the latitude and longitude of each pixel in geographic projection?

I want to do raster calculations in QGIS based on the latitude and longitude of each pixel. The calculations will compute the area of the pixel, but also do other calculations for various projections ...
0
votes
1answer
41 views

How can i import raster image to GRASS GIS without losing RGB Values?

I am using GrassGIS 6.4.2, How can I import raster data to GrassGIS without losing RGB Values? The raster image format is TIFF, the below commmand is using to import raster image: r.in.gdal ...
1
vote
2answers
87 views

Clip Raster to Polygon Grid?

I have a polygon grid file and want to clip my raster imagery to the shapes outlined by it. I am using arcmap and was wondering if there was a tool directly for this? I would like to also be able to ...
0
votes
1answer
43 views

Adding pixel value data from a raster layer to a number of buffer polygons ArcGIS

I have created a layer of polygons with buffers around my points of interest, all of the same size, in Arc GIS. I also have a raster layer of nighttime lights with pixel values between 0 and 63 ...
2
votes
2answers
79 views

Suitable Raster processing methods to extract field boundaries from images

I'm trying to extract field boundaries and features from a lot of aerial images of agricultural land - and avoid digitizing these features manually. I've managed to get a crude raster file of the ...
1
vote
0answers
25 views

Invalid drop item: Calculate statistics

I have a number of rasters that I need to calculate histograms for. These are continuous rasters from 0 to 294.208 - many decimal places. I need to be able to classify the histogram down to at least ...
0
votes
1answer
46 views

Extracting Data from Raster based on Aspect Raster file

I have 2 rasters, ones shows aspect and another shows date of snow thaw. I want to extract the date of snow melt based on values from the aspect raster. For example I want all the snow thaw dates from ...
3
votes
1answer
94 views

Difference between gdalwarp and projectRaster

I am trying to project a Raster. In R there is the projectRaster() function to to this (below a fully reproducibly example) : # example Raster require(raster) r <- raster(xmn=-110, xmx=-90, ...
0
votes
0answers
34 views

Cannot find information about my.table table in raster_columns

I am running PostgreSQL 9.4 and PostGIS 2.1 and have loaded a small piece USGS SRTM data for North America successfully into my database. I am attempting to export a small piece of of the rasters I ...
0
votes
0answers
45 views

How should i combine these rasters?

I have two buffers that i want to combine. I tried overlay with fun=function(x,y){return(x*y)} but 0*5 = 0 so it produces NA's.I don't know how to combine them the one buffer should be 500 and the ...
0
votes
0answers
30 views

Reclass by Table giving output with only 8 catergories

I am attempting to reclass a raster from a table (using the Reclass by Table tool in Arc 10.3). The output value field I am trying to reclassify to is long integer format with values ranging from 0 ...
0
votes
0answers
17 views

What is the recommended approach to client side clipping, by geometry, of an ArcGISImageServiceLayer?

I have an existing Esri Silverlight application with an ArcGISImageServiceLayer and we need to add the ability to clip that raster, by a geometry. And ideally, do this on the client side since the end ...
1
vote
2answers
52 views

Editing .tiff rasters in Python

I am triying to edit .tif rasters in python, but I have some issues regarding the tiff to array converstion. I read there are multiple options for opening rasters (gdal, PIL, matplotlib), but which ...
2
votes
2answers
64 views

How to sum pixel values of a floating point raster in ArcMap?

I have a floating point raster with values from 60 up to 95 (with decimals), it has 7077 pixels of 250x250m size. Is there a way to sum all pixel values of this raster? For example, if the raster had ...
-1
votes
1answer
71 views

How to reclassify a raster in R?

wet<-readOGR(dsn=".",layer="shp") #wetlands r.raster <- raster() extent(r.raster) <- extent(wet) res(r.raster) <- 100 wet.r <- rasterize(wet,r.raster) #rasterize plot(wet.r) ...
2
votes
3answers
65 views

Combining rasters to calculate total inputs

I am working on creating a map of total chemical inputs into a study area. I have several raster layers of different inputs with values stored in the attribute tables. I am having a hard time ...
3
votes
1answer
79 views

Split raster into tiles

I have a raster that needs to be split into tiles (each tile a new raster). I have a Shape file with multiple polygons (these polygons are how I want the raster split). I have Gdal and QGIS. Any ...
2
votes
1answer
38 views

how can I get the majority (dominant) class of a raster to an area (polygon) using qgis?

I have a vector layer with many basic units of planning (zones), a raster layer with three classes of geology and other raster layer of geomorphology with five classes. How can I update the ...
0
votes
0answers
37 views

Combining tiff with shapefile

I have a geotiff image with a D_WGS_1984 Datum of land cover for the continental US and I want to be able to merge it with a US counties shapefile. What is the fasters and best way to do this? My ...
1
vote
1answer
102 views

How to reproject a raster from lat/lon to UTM in R?

i have to turn it into a UTM in order to make the buffer functional. wets<-readOGR(dsn=".",layer="shapefile") r.raster <- raster() extent(r.raster) <- extent(wets) res(r.raster) <- 100 ...
0
votes
0answers
54 views

Raster map source for desktop, commercial application

We develop desktop, commercial application for Architects (c++). In a future update, we would like to provide our customers with the option to automatically create a 3D terrain with appropriate ...
0
votes
1answer
54 views

How to rasterize a vector dataset in R?

I would like to compare vector vs raster data. So i try to fix a problem using both ways. I made it in vector first : coastline<-readShapeSpatial("shp") wets<-readShapeSpatial("shp") ...
0
votes
0answers
36 views

Problem with calculating slope in QGIS

Ive downloaded DEM form earthexplorer. But after calculating slope I only have blac img. with same value in min. and max. When calculating aspect or relief, DEM works correctly. Have you met with ...
1
vote
0answers
21 views

Replacing white or black by alpha channel in raster in QGIS 2.8

I'd like to replace black or white in black and white raster in QGIS 2.8. I perceived that in some other raster where "nan" value automatically occurred and only white or black is being displayed.
1
vote
0answers
46 views

calculate Z~F from polygon and raster

I have a polygon shapefile and raster layer. How I can calculate the elevation and area (Z~F) relationship for each polygon by using QGIS or ArcMap?
5
votes
1answer
227 views

Create raster with grid cells values based on area covered by polygons

I have a polygon data with area covered by the forests (data is here - https://www.dropbox.com/s/zgckliydalljw6a/sp_data.zip?dl=0). I want to convert polygons to raster. The value of each grid cell ...
4
votes
2answers
123 views

Dissolving/Unifying Ill Behaved/Irregular Polygons in R

I'm working on a project involving bringing together multiple subjects circling difficult to find parts of an image. The output from users is pretty awesome. Cool, right? However, what I want is ...
4
votes
1answer
121 views

Raster to vector (polygons) with generalisation

I have created rasters showing different types of vegetation (bushes, trees, open land) with help from lidar data. Now I'm looking for a method to turn these images into polygons. I'm using a Mac ...
0
votes
0answers
44 views

Converting a (WAsP) vector map to a raster map with GRASS GIS

i'm quite new to GIS and i need to convert roughness data which is available in a vector format to a raster format. The final data should be on a simple 2-dimensional uniform grid with a constant grid ...
0
votes
0answers
22 views

“Mosaic to new Raster” just stop working

I have been using the command "Mosaic to new raster" so far successfully. Now, without changing any option from before, it just doesn't work anymore. It is something it already did: pretending to ...
0
votes
0answers
28 views

Raster NoData Issue

I have three landCover maps (2000,2006 and 2012),I am using ArcGIS 10.1, I converted them into raster (from polygon to raster 100x100 cell size), I guess because it is remote sensing maps (obtained ...
1
vote
1answer
25 views

How to get the upstream average of a raster data layer that falls into a river network?

I have a raster layer of a network of rivers and a raster layer of data I want to extract. For each pixel of the rivers, I need to know the upstream average of the data layer that falls into the ...
1
vote
1answer
34 views

zonal statistics sum on raster with same values

I was wondering if anyone knows what exactly zonal statistics sum does if all my input value raster have the same values. For e.g. Lets say I have a finer resolution raster with 10 pixel each having ...
1
vote
0answers
53 views

PostGIS: intersection of a polygon with 2 rasters

I'm trying to get the intersection of a Polygon with 2 raster layers in PostGIS. The rasters have the same size and pixel size and I'd like to retrieve for the polygon a list of something like that: ...
0
votes
3answers
46 views

Selecting parcels in vector map from raster layer using ArcGIS for Desktop?

I am relatively new to Arcgis and I am stuck. I have a parcel map (vector) and a land cover map(raster). My land cover map is only 1's and 0's, flood and no flood. I want to be able to highlight or ...