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

learn more… | top users | synonyms (1)

7
votes
3answers
4k views

How to calculate raster statistics for polygons?

how can I calculate sums, averages etc of raster-points (multi-band) per polygon of a vector-layer. I was told that this is called "zonal statistics". I tried that with QGIS first. There is a way to ...
8
votes
2answers
470 views

Python, GDAL and building raster attribute tables

I have an integer raster for which I would like to build a raster attribute table using Python and GDAL. I can create a GDAL raster attribute table in Python as follows: >>> rat = ...
1
vote
1answer
119 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 ...
1
vote
0answers
46 views

How to use USGS Bulk Download on EC2 linux Server?

I am interesting in downloading Landsat 8 rasters to an Amazon EC2 instance and would like to know how to do it. I already install USGS Bulk Download but I do not know how to use it in terminal mode ...
0
votes
2answers
36 views

References to code IDW algorithm

Hi I'm new to interpolations. I'm looking for documentation to understand how inverse distance algorithm works and how to code it. My intention is to code IDW algorithm in JavaScript to see if it is ...
1
vote
1answer
65 views

Counting points in a raster

Is there a way to select points in a raster dataset by raster classification? I have a floating point raster created from the points, classified into 4 ranges by standard deviation. I want to find out ...
2
votes
0answers
30 views

Define uphill side of roads and buildings

I have a big raster of a mountain region and I need to extract the uphill side of roads and buildings, from these elements to the pick of mountains. For a road I know the uphill side changes in ...
3
votes
0answers
62 views

R Raster package loop over pixels

I want to perform a trend analysis for each pixel over it's time dimension. Therefore I wrote a loop over each pixel doing the calculation but this is extremely slow. I am sure there must be a faster ...
0
votes
0answers
18 views

How do I randomly alter a raster with som correlation

I need to randomly alter an existing raster. The original raster is essentially a topography map that measures its values around a normal distribution ranging between 0.5 and 1.5 The new raster ...
1
vote
0answers
9 views

write rasters from estudm2spixdf with significant digits

I have estimated my kernels using kernelUD from the adehabitatHS package which produces information from multiple animals as a class estUDm. I am trying to write out from R to get into ArcGIS the ...
0
votes
0answers
16 views

Cell Statistics in QGIS

Cell Statistics in ArcGIS will calculate the mean (or statistic of choice) among multiple rasters on a cell-by-call basis. Can QGIS do this? If so, how?
1
vote
1answer
41 views

Raster Multiplication - Can't Multiply Sequence by Non-Int of Type “Float”

I am trying to multiply a list of GRID raster datasets using a different value for each raster. The value is in the raster name. Some examples are [wse_1979_5,wse_1980_0,wse_1980_5], where 1979_5, ...
5
votes
1answer
317 views

Copy and Paste symbology in Raster?

Hi all, I am trying to figure it out how can I take a preserved color from a raster I already set up before and then apply the colormap to a new raster file? Here are the details of what occurred: ...
0
votes
1answer
69 views

QGIS 2.0 Howto copy raster data from a QgsRasterDataProvider to an OpenCV matrix

I'm hacking the half day arround a problem and that I' thought it was simple one. I'm using C++ (QtCreator) QGIS 2.0 und openCV2 on an 64 bit Workstation runnig Debian Wheezy. The Application I try to ...
2
votes
0answers
33 views

Does QGIS support .sld style files for raster layers?

I'm currently looking at the documentation for geoserver, and I'm trying to load a raster and .sld file in QGIS to see if I can edit .sld files for raster layers. The .sld and raster are located here: ...
2
votes
1answer
103 views

Georeferencing an image with GDAL, based on QGIS Georeferencer Plugin

I would like to georeference an image with GDAL. The image already has a spatial reference set (EPSG:31276). For the georeferencing, I have a list of 4 ground control points (also in EPSG:31276). ...
2
votes
2answers
934 views

How can I specify the CRS of a raster layer in pyqgis?

I manipulating netcdf raster data from the QGIS python console. The metadata of my netcdf file does not provide the Reference system. However I know it is 'EPSG:4326' I am writing a python script to ...
0
votes
2answers
38 views

Arcpy GetRasterProperties returns odd results

I have this simple piece of python code to test whether a raster has integer values or not: res = arcpy.GetRasterProperties_management(ws, 'VALUETYPE') res = res.getOutput(0) ...
0
votes
0answers
18 views

Convert raster_stats list output to array / csv file

I usually program in R, but recently I have started to use python for most of my spatial programming. My python skills are still limited, and please excuse the simplicity of the question. I am ...
0
votes
0answers
20 views

Android app where i can import image and set waypoints by GPS

Hello i'm looking for an application for android where I can upload a large image raster and apply for it `these GPS waypoints. We would like to count the trees in the area, we have the exact raster ...
1
vote
1answer
63 views

Why does a raster with resolution 5x5m not create a grid with these dimensions? [closed]

I created a 5m x 5m raster using ArcGIS 10.0 Spatial Analyst from a point file. As can be seen in the screenshots of the image and the table, the resulting grid has a higher resoluation than is ...
6
votes
1answer
91 views

GDAL equivalent of ArcGIS Mosaic

The word 'mosaic' is often used for quite different things within the worlds of ArcGIS and GDAL. With GDAL and it's downstream applications like Qgis it is common to see mosaic used in the context ...
0
votes
0answers
8 views

How can I add Raster Map as permanent layer òr Level to Microstation .DGN file

Hei Am having Raster Map and would like to visualize permanently whenever the DGN Opens , I dont wish to attach them as reference in Raster Manager but rather save it as one of the Level in ...
1
vote
2answers
33 views

How to show cell values of raster in ArcGIS

I would like to know if it is possible to display a raster cell value in the center of a cell with ArcGIS in the same way that SAGA-GIS does when you zoom in.
1
vote
3answers
49 views

Is there an iOS app to display several offline raster maps with transparency?

There are several iPhone apps displaying offline maps. Some of them can show custom maps, for instance loaded as MBTiles or sqlite files. Galileo-app does this pretty well. But it is only possible ...
0
votes
0answers
37 views

Create Image Mosaic JDBC datastore in command line

I would like to publish raster from PostGIS database, and I found this tutorial http://docs.geoserver.org/2.1.4/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html , everything works fine, ...
8
votes
3answers
169 views

R, rasterVis and RGL: how to prevent reflective surfaces?

I have been experimenting with digital terrain model files in ESRI ASCII grid raster format. Despite zero experience with this type of data I found it very easy to load into R, as per code below. The ...
3
votes
1answer
72 views

PostGIS: convert point data to raster

I have a table of points and I'm trying to visualize their distributions. Each point has a POINT geometry (WGS84) and some numeric attributes: a, b, c. | id | geom | a | b | c | ...
8
votes
7answers
9k views

Get boundary of raster image as polygon in ArcGIS 10

I have a rectangular raster image in ArcGIS. My question is: how can I produce a polygon which is just the extent of the raster image? That is, I want to have a polygon layer with a single ...
0
votes
0answers
36 views

Turn vector layer in raster layer based on cost

Hy, I am trying to rasterize some vector layers into raster layers and I know this is possible with QGIS by using the rasterize function in the raster menu but I don't know how to do the following ...
2
votes
2answers
365 views

R Raster package: write NetCDF with time dimension

I am writing a rasterbrick with multiple layers to a netcdf file using the raster package in R: writeRaster(gridfile, "Data", "CDF", overwrite=TRUE, ...
2
votes
0answers
24 views

Create custom raster pyramid using arcpy in ArcGIS 10.2

I have a arcpy script that runs the Point Density tool several times for the same extent, using the same number of neighborhood cells, but with cell size increasing at an multiple of 2 with each pass. ...
1
vote
1answer
24 views

GEOTIFF Binary File with Color Display Issues

I have a GEOTIFF in QGIS that shows values of 0 and 1 and I want the 0 values to have no fill so that background vector layers can show through and so I can easily overlay things in a print composer ...
0
votes
0answers
32 views

I want to reproject data from 0-360 to -180 - 180 [duplicate]

I've been downloading data from NOAA in a CRS that goes from 0-360. The rest of my data is in -180 to 180. What's the easiest way to reproject or shift the data in QGIS? It took 30 seconds in ArcMap, ...
2
votes
0answers
89 views

Per-pixel calculations on a raster stack using GDAL

In R, it's relatively trivial to perform per pixel calculations based on a raster stack (e.g., get std.dev for each pixel on a 12 layer GeoTIFF). Unfortunately, the speed is less than desirable when ...
0
votes
1answer
46 views

gdal's polygonize function (via qgis) is not turning monochrome rasters into readable shapefiles regardless of inversion of color scale

I've tried polygonizing this monochrome bitmap as this: and this: and either way it ends up looking like this when (zoomed in) after gdal's polygonize operation: Is there any way I can tell ...
0
votes
2answers
74 views

How can I see average of raster value over certain area, marked by mouse?

I have a raster in Quantum GIS and I am just exploring it. How can I see average of raster value over certain area, marked by mouse? In other words: How can I select particular area in QGIS? How can ...
1
vote
2answers
258 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 ...
1
vote
1answer
48 views

QGIS combine Vectorlayer and Rasterlayer to one shapefile

I have to create some Thematic Maps, especially Choropleth Maps on Matlab. Therefore i've found a shapefile which I can use, but need to draw some lines there. I've imported my shapefile as a Vector ...
1
vote
1answer
93 views

How to extracting raster data to multiple polygons?

I have a reclassified raster dataset (10 classes) and I want to find out the area of each class contained within multiple (hundreds-to-thousands) polygons. I have all the polygons in the same ...
5
votes
2answers
830 views

How to export a PostGIS raster to PNG?

I have a raster which is split into 30 tiles and I want to dump them all into PNGs. I've read the documentation http://postgis.net/docs/RT_ST_AsPNG.html but still don't know how to dump it well. If ...
1
vote
1answer
60 views

How do I stop Kernel Density from cutting off symbology?

I need help configuring Kernel Density so that is does not cut off symbology on hot spots. (See pic below) I'm assuming it has something to do with the extent but I could not get it to display the way ...
1
vote
3answers
105 views

How to use the GeoServer REST api to get a PNG representation of a layer?

Does anybody know if I can retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api: When I send: ...
2
votes
1answer
31 views

How to properly combine and export (as raster) vector lines on top of raster

I have a georeferenced TIFF with building plans on it. I then laid topo lines on top of it. it looks right in QGis. I now want to export this as an image (i.e. with the topo lines overlaid). How do I ...
5
votes
2answers
166 views

Raster: mosaic first, or project first?

I have a thousand raster tiles in un-projected decimal degrees from which to build a seamless mosaic in a metres-based coordinate system. The final image will be about 70,000px by 50,000px. Which is ...
2
votes
2answers
225 views

Can Geoserver return the raster value of a lat/lon point

I have a GeoTIFF published by Geoserver 2.2 and being used by Leaflet via WMS. How can I get Geoserver to return the raster value at a lat/long point? I'm guessing it has to do with using WCS, but ...
3
votes
2answers
84 views

Handling hundreds of raster tiles in ArcGIS 10

I have 650 individual raster tiles (MrSID format) representing aerial imagery of a county. Each one is approx. 72 MB in size. As with a lot of aerial imagery, I use this as a base image for other ...
1
vote
0answers
26 views

Can I tell QGIS to load/show only a part of an image?

can I tell QGIS to load/show only a part of an image without to extract this region as an extra/ new image?
0
votes
2answers
48 views

How to get information about only one data point?

I have a vector-point shapefile. The data are not dense (about 1 x 1 degree). Lets say that every point includes value of average wind speed. I would like to create a interactive web-map so that ...
0
votes
1answer
18 views

Find Distance within each Raster contiguous cell block

I was asked to find for each Individual Contiguous Forest Block the distances INSIDE of each where it would be the farthest (aka the most isolated) from each forest cell block's respective edges. I ...