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

learn more… | top users | synonyms

3
votes
3answers
2k views

Batch clipping rasters in QGIS?

I have been able to batch clip rasters in one directory using python in ArcGIS. However, I am not sure how to do the same in QGIS using the Python console. Is this possible?
1
vote
1answer
161 views

Segmentation fault while writing an output raster by blocks with rasterio

With the answer on my previous question, I was able to set up reading a raster by blocks. I did some computation and now I try to write the result into another raster. However, the program fails with ...
0
votes
2answers
665 views

Set Raster Cells Based on NoData from other Raster using ArcGIS Desktop?

I have just no clue on this problem. I want one raster to set its values to 0 or NoData based upon another raster noData or 0 values. It's like a reclassify, but between two different raster's. I have ...
2
votes
1answer
62 views

Extracting area from DEM Raster?

After applying constraints to the DEM I polygonised the raster (using GRASS r.to.vect.area) The result is shown below with a lot of vector with resolution = [30 * 30] Is there any solution to make ...
0
votes
1answer
171 views

How to use Orthoengine in PCI Geomatica to georeference Pleiades 1B TIFF to WGS 84

I am trying to use the orthoengine in PCI Geomatica 2015 to reference an image to WGS 84 (ESPG: 4326). Acquisition mode PX Spectral processing PA+XS (resolution is 70cm) I have the associated RPC ...
8
votes
4answers
5k views

How to convert raster to point in QGIS

I wanted to convert Raster into Point Vector in QGIS. Is it possible? QGIS have option to convert it into polygon but i didn't found any tool to convert it into point. can anyone help me?
4
votes
1answer
291 views

How to change field name in raster file?

I´m having a bit of an understanding problem with a DEM TIF file. I have a DEM TIF file which is served with Geoserver. When I click on the layer the WMSGetFeatureInfo gives me the following output: ...
0
votes
0answers
48 views

comparing raster values over one specific transect

I have a raster with water temperature data. I used various kinds of filters over it (smoothing, sharpening filter etc.) in various combination. I want to compare the results, to check which ...
0
votes
0answers
77 views

Project Raster: Resampling

Is this (optional) resampling technique in the Project Raster tool only being used if changing the grid resolution (cell size)? Or should I always select bilinear (or cubic) for continuous data even ...
1
vote
1answer
198 views

Save raster to file when using stack() in R

I'm working on a function for raster package. In the end of the function I have to use stack() to create a RasterStack. When I do this the data source is in memory. I want to have the data source on ...
3
votes
2answers
444 views

Snapping raster grids in R

I am trying to align two raster grids in R. Once aligned I would like to be able to add them together. I have tried to check whether making a stack would work: grid_snap <- stack(habi_sdw, ...
0
votes
0answers
90 views

Is there a “1-band color raster color table” plugin substitute for QGIS 2.10?

I'm currently using QGIS 2.10 and I'm having some difficulties with creating color tables for raster files. I've been looking for the 1-band color raster color table plugin or something similar but ...
3
votes
1answer
370 views

Is it possible to read raster files by block with rasterio?

I find rasterio much easier to use that plain ogr/gdal, so I'd prefer using it. However, I need to process large rasters, so reading rasters by block as explained in the Python GDAL course is ...
3
votes
3answers
192 views

Can a single raster pixel hold more than one value?

Can a single pixel of a raster hold more than one value?
1
vote
1answer
73 views

Convert Shapefiles into Raster — C++

I'm coding an algorithm which uses as an input a map from QGIS. The software has been implemented in C++ and my idea is to convert, automatically, a shapefile into a raster one. Is there any function ...
0
votes
1answer
144 views

How to extend a (river water level) raster, transfering its values to the added area?

Exploring the raster tools in QGIS and related software, I found raster buffer functions to surround existing rasters. The values of the raster buffer are restricted to be distances from the interior ...
2
votes
3answers
89 views

Grass GIS: ArcGIS' “Raster to polygon” equivalent

I've got a small clipped extent of a LANDSAT image and I need to have the single pixels as polygons in order to tell the overlap proportions of overlaying polygons. In ArcGIS I used "Raster to polygon"...
2
votes
0answers
67 views

Raster memory usage in R

I am working with raster/brick data in R and running into memory issues. I am basically trying to use raster objects to perform some simple agent-based modeling, but the objects keep increasing in ...
0
votes
1answer
156 views

How to speed up raster/map algebra in PostGIS?

I am testing map algebra with PostGIS (2.1 with PostgreSQL 9.3) on two images, and found it to be rather slow. For example, dividing two images of 7200 * 3600 pixels took 110 ~ 120s on a desktop with ...
0
votes
1answer
75 views

r.report giving only per-class cell count

I'm trying to extract the count of each pixel value in a raster, like in this question: How to extract pixel value counts from a raster in QGIS? However, when I run r.report (from QGis (2.10) ...
2
votes
0answers
109 views

How to tell if map service is fully vector or raster?

sorry if this is a duplicate, but I was wondering how to tell if a map service (in web browser) is vector based or raster based? What I think to understood so far is that Google Maps for example is ...
10
votes
7answers
23k views

How to get X Y coordinates and cell value of each pixel in a raster using Python?

I’m really new to Python and I would like to know whether there is a quick method to get cell values of a raster pixel by pixel and the coordinates (map X Y coordinate of centre of each pixel) using ...
3
votes
5answers
4k views

Adding Raster Layer without lyr file using ArcPy?

i wonder how i can add a raster layer to a remote (not the current) mxd file with arcpy. I need to not use a lyr file for that. For vector Layer i have the following lines working fine : mxdPath = "...
0
votes
2answers
95 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 ...
0
votes
0answers
71 views

raster data and polyline shapefile do not line up

I am working on an ArcMap .mxd encompassing the state of new mexico. I have a shapefile of the state boundary with the following coordinate system GCS_North_American_1983 WKID: 4269 Authority: EPSG ...
2
votes
3answers
98 views

Zonal average weighted by distance from point

I am using ArcGIS 10.2. I have a vector layer with points, which represent houses and a raster layer with values of 0 or 1, according to a certain threshold. In a buffer of 5 km around each of these ...
0
votes
1answer
80 views

16Bit Tif In Geoserver

-->Is there any way to publish 16 bit raster image in geoserver 2.7.2? Then i tried to publish 16 bit raster image,but i got different color variations in different zoom levels,If any solutions for ...
4
votes
2answers
277 views

Measuring distance to roads using raster data in ArcMap?

I am using ArcMap 10.1 on a Windows x64 system. I am trying to analyse the driving force of urban land use land cover changes. I have 7 raster files represents distance to roads, distance to river, ...
0
votes
1answer
218 views

Specifying number of columns and rows in a raster file

ArcGIS 10.2 I want to produce a raster file with a specific number of rows and columns - 300x300. This needs to be reproducible on multiple data sets/locations - so fixing the extent of the file won'...
1
vote
0answers
53 views

Raster Area within a Polygon

using ArcGIS, I have a layer of overlapping polygons and a raster grid underneath. The raster is not a continuous grid - the cells are spread out. I simply need to calculate the total area of the ...
7
votes
2answers
1k views

How to label raster cells using ArcGIS Desktop or QGIS?

I want to generate a small sample raster (eg. euclidean distance or cost distance) to explain the method of cost-distance analysis, and I'd like to label the pixels with the corresponding cost-value. ...
4
votes
1answer
220 views

Clip raster by raster with data extraction and resolution change

I need to stack multiple maps (tif) together and clip them all according to extent of one small raster map (second raster at the top of picture below). However, the size of pixels in each map is ...
4
votes
1answer
131 views

Raster cells with no data being generated by las2dem?

Anyone has an idea where these lines (with no elevation data) come from? They are generated while using the las2dem tool from LAStools. What needs to be done to avoid this? The raw data (.las file) ...
2
votes
1answer
46 views

Display 8-Bit Signed Rasters with Negative Values in QGIS / MapServer

When loading 8-bit signed rasters with values from -128 to 127 into QGIS or MapServer, negative numbers are not recognized. Is there a way to change the default display settings in QGIS and/or ...
1
vote
2answers
176 views

Mosaicking several TIFF files

I have around 20-30 tiff files all georeferenced and I am trying to mosaic the data however I can't seem to remove the border of these historical scanned images. I have tried shrinking the footprint ...
0
votes
0answers
25 views

Raster math with iterator (arcpy)

I know what I am trying to do here is wrong. But I was hoping for something similar that would do the job. Basically, I need a placeholder for values and raster calculations until I sum them ...
0
votes
2answers
67 views

Update raster pixels on a DEM

I have a DEM in the form of a raster that I would like to update in certain locations. Ideally, I'd like to be able to create a separate polygon or point shapefile with the values, in the correct ...
3
votes
1answer
111 views

Regarding the Python package PyGeoprocessing, does that need to be installed?

I have not found much documentation on PyGeoprocessing, but from what I have read, I would like to try it out. I downloaded the package from here . . . https://pypi.python.org/pypi/pygeoprocessing. ...
2
votes
1answer
294 views

Renaming rasters in directory based on field value of centroid feature class in ArcGIS Desktop?

I have a lot of rasters named like r001.tif, r002.tif and so on. There is a point shapefile with centroids of these rasters and their real name in the attribute table. I'm looking for a way or ...
2
votes
1answer
291 views

How to create header files for multiple rasters in R

I have nearly 1000 generic binary images, i.e., headerless, band sequential and binary (16-bit signed integer). I have been succesfully able to load these with package 'raster' only when I create an ...
2
votes
1answer
75 views

QGIS Treat null as zero in raster calculator

In QGIS - I have an irregularly shaped raster - I wish to clip an irregular area out of it (call it raster A) with that area set to null. I masked the area (vector polygon) I want to remove and used ...
2
votes
1answer
40 views

Adding separate distance files to calculate total distance in ArcGIS

I have two raster files: A raster of distance-to-outlet for a creek. Value = 0 at creek outlet (white), and the maximum value is at the beginning of the creek (black). A raster of Euclidean ...
2
votes
1answer
187 views

Retrieving proportion of pixels in R

I'm trying to retrieve the following pixel statistics: Proportion of zero value pixels: [nº of zero value pixels / (total nº of pixels - nº of NA pixels)] Proportion of pixels smaller than 3rd ...
2
votes
2answers
686 views

Las dataset to raster with ground points only

I'm trying to make a raster from a las dataset. I want to only use points classified as ground, but I can't figure out how to do this. What I've tried is: Create las dataset from 2 .las files. ...
0
votes
0answers
241 views

Merge raster layers error

Is there an issue with the SAGA-tool "Mosaicking rasters"? I tried it with different rasters. In Sage itself it works fine. Algorithmus Mosaick raster layers startet... io_gdal 0 -TRANSFORM -...
2
votes
2answers
812 views

Applying Stretch to Multiple Rasters in ArcGIS Desktop?

In ArcGIS Desktop 10.0, how can I apply a stretch, which I would normally do by selecting 2 standard deviations in the "Symbology" tab of Layer Properties, to 200 rasters simultaneously?
1
vote
1answer
1k views

Why does CON statement give ERROR 010240: Could not save raster dataset to (value) with output format GRID?

I am receiving the following error when trying to run the following code: import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension = "Spatial" env.workspace = r"C:\...
0
votes
1answer
36 views

PostGIS - Raster - update all values - what is prefered

I have added the Raster support to my PostGIS database program. Now, I need to update all values in the raster (one band only) several times a day. I have found and tested these two options Use ...
0
votes
2answers
136 views

PostGIS - store 2D elevation data

I am new to PostGIS. How can I store 2D elevation data? I have uniform raster and for every [x,y], height is set. I want to be able to use this in my queries (something like SELECT height FROM data ...
6
votes
3answers
2k views

Displaying row and column indexes for image in ArcGIS DEsktop?

I have been struggling with how to find the row number and column number for particular points in any raster map. My raster details: columns and rows: 720 360 cell size (0.5, 0.5) How can I ...