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

learn more… | top users | synonyms

7
votes
0answers
187 views

Add attribute table to a raster in postGIS

I would like to add attributes to a raster stored in a postgis database. I use the following command to insert the raster in the database: raster2pgsql -s 4236 -I -C -M /home/user/mysrc/outlabeled....
6
votes
0answers
158 views

Postgis database query optimisation

I have a set of rasters in DTED format which I load into postgis database using raster2pgsql command line tool. Each of rasters is simply stored in a row and described by rid and a value of raster ...
5
votes
0answers
41 views

QGIS becomes non-responsive when adding jpg raster layer

When trying to add a raster layer (georeferenced jpg-files) QGIS becomes non-responsive. I have tested the jpgs and they are not corrupted, sometimes they appear and it works for a little while before ...
5
votes
0answers
128 views

Merge Raster Layer Specific Order in Graphic Modeler

I'm using the Graphic Modeler/Processing Modeler to automate a process. The last step in this process is Merging three different Raster Layers. I'm using the "Merge Raster Layers" from Saga 2.0.8. Is ...
5
votes
0answers
282 views

How do I parse the file format for attributes in Raster Product Format (RPF) maps and imagery?

I'm trying to implement an open-source NITF reader (using only java, no external libraries such as GDAL or NITRO), and its mostly going OK. However I'm having trouble understanding the RPF extensions, ...
5
votes
0answers
521 views

How to convert a raster (array) to a NetworkX graph and do a * search?

I want to use a slope-raster for a a_star path analysis in NetworkX. I am using Python for this project. My test raster looks like this First I read in the raster with GDAL input_raster = "slope5....
4
votes
0answers
94 views

Raster calculator creates strange output

I am trying to combine two raster layers (one is nighttime satellite data, the other is the GPW population density data). I am using raster calculator to combine the two (the following is for a ...
4
votes
0answers
50 views

How to get NIR values into a LAS file then a CSV?

We are trying to deliver a LAS file with NIR values added for each point. The NIR comes from a raster captured at the same moment as the LiDAR, and is stored as an 8bit number along with RGB in 8bit. ...
4
votes
0answers
78 views

Crop raster based on another raster R

library(raster) How can one clip one raster based on another raster? RasA: class : RasterLayer dimensions : 459, 533, 244647 (nrow, ncol, ncell) resolution : 10000, 10000 (x, y) extent ...
4
votes
0answers
39 views

Stretch to MinMax results in blank render output in QGIS?

I am a new QGIS user, and I can't figure out if I encountered a bug. If I have a multi-layer image, and "Multiband color" -> "Stretch to MinMax" selected I get the following behaviour. QGIS takes a ...
4
votes
0answers
249 views

How to remove nodata values from XYZ output with GDAL?

I have a buffered line route that is overlayed on a DEM: I've clipped the DEM to the buffered line, and exported it as an ADF ESRI grid file. I then used gdal_translate to convert it from the Arc/...
4
votes
0answers
88 views

Why does @data@values slot for RasterLayer only contain logical(0) and not the actual values?

Trying to get to the bottom of why, when I read in a raster of NDVI, the @data@values slot does not contain the actual values until I set them manually. For example: NDVI <- raster("./filename....
3
votes
0answers
43 views

How to build a raster (population density) dependend diagram in QGIS?

I'm using QGIS and trying to solve the following problem. I got 2 layers: 1. population density raster 2. point layer with the information about number of people could be hosted/served etc in this ...
3
votes
0answers
72 views

GDAL_merge - Stacking Files - Nodata Value wrong

I masked a large raster stack by separating the stack in 18 chunks, masking each and writing each chunk to a file (due to memory problems). Then, I use gdal_merge to stack the 18 GTiff files. All ...
3
votes
0answers
75 views

Clipping raster with Postgis raster

I'm using Postgis 2.1.5 on Ubuntu 15.04. In my system there is a second disk mounted with the raster data as /media/name1/data/rasters/*.tif. The *.tif are good looking when I watch the metadata with ...
3
votes
0answers
78 views

Get counts in grid cell for multiple values

I have 500+ polygon shapefiles with nationwide coverage. Each shapefile has possible record values of 0-4. I want to get the value that intersects each grid centroid and then get a total count for ...
3
votes
0answers
60 views

IR as 4th band in RGB composite (ArcGIS)

In Symbology tab of a raster in ArcMap, in the section of Pan-sharpening, there is an extra option to check at the bottom: "4th-band Infrared Image" along with its weight: I guess I have to add ...
3
votes
0answers
87 views

How To save Geo-Tiff image in PostgresSQL?

I have a Geotiff image, which I want to load into a PostgreSQL database. Currently I am using the command line code for saving this image to my database : raster2pgsql -I -C -e -Y -F -s 26986 -t ...
3
votes
0answers
38 views

Create ArcGIS Raster Catalog with date/time fields from directory of NITF images

I have a directory of NITF files, each with the idatim (timestamp) field set. In the ArcMap properties, it shows up as "acquisition date" in the Key-Metadata table. I would like to be able to create ...
3
votes
0answers
45 views

How to calculate average value of a raster, that is clipped by multiple polygons?

I am using QGIS 2.12.0. I have a raster of coherence value (SAR interferometry) and a land use shape. I wish to calculate mean coherence value for those areas with a specific land use. I split land ...
3
votes
0answers
55 views

LasDatasetToRaster does nothing to the Raster Layer

I have been trying to figure out how to clip and rasterize a LiDAR map file programmatically (Not through arcpy) I use C# but read many languages. So far I have been able to access and assign the LASD ...
3
votes
0answers
97 views

Using QGIS' “network protocol” to import data from OPeNDAP

After looking at the OPeNDAP documentation I assumed I could import data into QGIS by downloading the .ascii file OPeNDAP generates. However the downloaded OPeNDAP .ascii doesn't seem to be compatible ...
3
votes
0answers
165 views

Selecting all pixels above a given value in a raster in PostGIS

I have a raster with one band whose value represents the date of the occurrence (a sequential integer). This raster file gets updated regularly, and each time that happens, I need to run a process ...
3
votes
0answers
352 views

Align vector and raster layers with D3

I have a geocoded raster image that I want to use as the background to a vector map with D3.js. The screenshot shows the layers in QGIS (grey is raster). Here's the markup for the map: <div class="...
3
votes
0answers
184 views

How to calculate areas in raster files

I got three files. The first is a shape file for country boundaries and the second and third are two raster files with the global land covers for 2005 and 2009. I'm thus encharged to calculate the ...
3
votes
0answers
225 views

Subset two rasters with different extent and origin (and resolution) only where there are data in both in R

in R, I have two rasters with different extents and origins (and possibly even resolution). How to efficiently take the subset of each of them only where there are data in both of them? Here is a ...
3
votes
0answers
53 views

How to set m parameter of clusterR function in R?

I want to manage a clustered computation on raster and thus use the "clusterR" function in R (package 'raster'). However, there's a tuning m parameter to set, but the only explanation about this ...
3
votes
0answers
41 views

Need to run a Groundwater Analysis Based on Points to a Raster

The title sounds daunting, but this task really isn't. I have well samples over a decade in certain locations through an area. These samples contain a value of that element at that point in time. I ...
3
votes
0answers
77 views

Distortion in projected raster

I am having a frustrating problem with something that I think should be very simple. I have a number of DEMs from the National Elevation Dataset (NED), that come standard in the NAD83 coordinate ...
3
votes
0answers
128 views

ArcMap - Adding Multiple raster datasets to mosaic dataset (for temporal change)

I have a number of raster datasets containing lake water temperature data. I am looking to make these time enabled as to be able to scroll through them. I have converted them to .TIFF format and have ...
3
votes
0answers
226 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
91 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 ...
3
votes
0answers
78 views

Raster loaded in ArcMap 10.2.1 not showing decimal places for value

I have an IMG format raster that I am loading into ArcMap 10.2.1. The pixel type and depth, as reported by the Source tab in Layer Properties is 32-bit floating point. The values, as reported in the ...
3
votes
0answers
140 views

How to create cost surface for least cost water transport analysis?

I am working on a project to derive least cost pathways between sites by dug out canoe travel. Has anyone worked on a similar project or found a function like the Tobler hiking function that can be ...
3
votes
0answers
359 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: ...
3
votes
0answers
161 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
3
votes
0answers
179 views

Calculate surface elevation from DEM of pit and known volume with which it is being filled

I am using ArcGIS 10.1. I have a DEM of a pit. I have a known volume of material that I want to put in the pit. I want to know what the elevation of the flat surface of this material will be ...
3
votes
0answers
317 views

Image classification for a study site falling over two adjacent Landsat 8 scenes (qGIS or ArcGIS)

This question concerns work-flow rather than specific methodological problems. I will be using GRASS to classify Landsat 8 images to create a vegetation map for a study site that happens to fall over ...
3
votes
0answers
698 views

Extract values from raster based on weighted average area using polygon grid

EDIT: I am using Armap 10 sp 5 I have found similar questions but they were either unanswered or somewhat different to what I am asking. I have a raster with cell values 1-5 and a polygon shape file ...
3
votes
0answers
264 views

python.multiprocessing and “FATAL ERROR (INFADI) MISSING DIRECTORY”

I have a question which is closely related to this old question here: python.multiprocessing and "FATAL ERROR (INFADI) MISSING DIRECTORY" I have also looked at this, which seems to relate ...
3
votes
0answers
60 views

simple raster format to use in Web applications?

I'm building a Web application in which users create and edit very coarse raster data. They're assigning values to cells in a georeferenced grid. Right now I'm storing the values in a multidimensional ...
3
votes
0answers
195 views

Can extracting raster values work in polygons' CRS without raster resampling?

I am trying to extract raster values using polygon layer with different CRS. Raster is in WGS84 (EPSG:4326) and the polygons in UTM (EPSG:23031). 1. If I want to work in the projection of the ...
3
votes
0answers
720 views

Novel ways of filling in missing values in a raster

I am looking for robust ways to fill in missing values in some rasters. They all have a single layer. Missing values consist of single pixels to medium sized patches. Rasters are around 1000 x 1000 ...
3
votes
0answers
227 views

Why are my raster mean and standard deviation -1?

I have a set of about 25 rasters whose descriptive statistics I have been examining. The data in the rasters were calculated in Python and the rasters were created using Python-GDAL. In all but one ...
3
votes
0answers
234 views

QGIS - Android, loading a .tif file

I have a .tif file I would like to use as my base map on the Android version of QGIS. However, when I try and load it as a raster layer, it states that this is not a correct raster source. Is there a ...
3
votes
0answers
838 views

Weighted Average of several raster “zones”

thanks for the visit! Suppose I have two rasters, A and B. I want to determine the value of a certain "zone" in raster A by taking the weighted average of several other zones from raster B, that ...
3
votes
0answers
383 views

How to create raster attribute table to a raster data using gdal python?

I classified a remote sensing data and saved it as a raster using Gdal python. I want to create a raster attribute table for this classified result.. my classified raster has five classes with 1,2,3,4,...
3
votes
0answers
82 views

arcpy adding time to Raster Mosiac Footprint

I am trying to create a raster mosiac for use in animating data over time. The current workflow is: Create .gdb (arcpy.CreateFileGDB_management) Create Raster Mosaic (arcpy....
3
votes
0answers
781 views

Are there any examples of WCS getcoverage requests done using ajax?

I am looking through openlayers to try to figure out a consistent format for generating views of coverages that can satisfy any wcs server, but mainly I'd like to get geoserver coverages. While I've ...
3
votes
0answers
169 views

How does Zonal statistics handle pixels that are on the border of the polygon?

I am using the plugin zonal statistics to calculate the sum of the raster cells within polygons. How does this plugin handle pixels that are on the border of the polygon, are those cell values ...