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
172 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 ...
6
votes
0answers
149 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
40 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
262 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
506 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 = ...
4
votes
0answers
67 views

Convert raster to smooth contour polygons in QGIS

I have had limited success creating smooth contour polygons from a raster layers. I have created contour lines and boundary polylines and then used QGIS Union. Then I use QGIS Polygonize. Then ...
4
votes
0answers
42 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
47 views

Is it possible to use a raster::click event within an interactive leaflet map?

Data Download: https://www.dropbox.com/s/f849ra8l6umo9d8/crops.tif?dl=0 I have various raster images of the world that I would ultimately like to plot within an interactive leaflet map; an example is ...
4
votes
0answers
70 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
36 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
205 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 ...
4
votes
0answers
73 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 <- ...
4
votes
0answers
121 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 ...
3
votes
0answers
52 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
61 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
61 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
48 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
71 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
32 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
40 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
54 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
83 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
332 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 ...
3
votes
0answers
174 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
192 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
51 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
38 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
72 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
119 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
209 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
84 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
76 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
128 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
347 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
159 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
171 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
305 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
675 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
261 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
58 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
184 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
694 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
221 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
225 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
818 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
374 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 ...
3
votes
0answers
80 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 ...
3
votes
0answers
753 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
168 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 ...
3
votes
0answers
121 views

Geoserver Raster layer cropped by polygon?

I've got a Geoserver raster layer which represents a satellite image. I use the Geoserver WMS to display the raster in OpenLayers. I want to display only parts of the raster - those within a certain ...