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

learn more… | top users | synonyms

0
votes
2answers
59 views

It's possible to use gdal_calc.py with an entire path of rasters?

I try to use gdal_calc.py to scale and transform a time-series of MODIS images. I've done that when i worked with a single image in the -A variable and a mask in -B, but i need to work with a ...
0
votes
1answer
38 views

Mosaic to raster 16BIT Error 999999

I am using ArcGIS for Desktop 10.1. I am trying to merge a few 16bit rasters by Mosaic to New Raster. The problem is it makes me do only a 8bit output making me lose pixel data bigger than 255 and ...
0
votes
1answer
41 views

Single WMS from single mapfile with several rasters in MapServer

I have several rasters in a single mapfile, I put them as layers like here: LAYER NAME "Layer 1" GROUP "All Layers" TYPE RASTER STATUS ON ...
0
votes
1answer
42 views

conversion of *.tif file format to *.hdr file format

I have clipped DEM of a region from SRTM data. It is in .tif format. Now I want the same file in header format (.hdr). How can I convert *.tif file to *.hdr file?
0
votes
1answer
33 views

Stacked with “expected a raster or layer name” error

I am using the following python script snippet but I get a TypeError: expected a raster or layer name on the commented line below. I could not find a solution about how to convert the A1 raster (that ...
0
votes
1answer
17 views

Converting CALS type rasters for Arcmap?

I have a bunch (think 400+) scanned old portions of maps that are in .cal format, apparently a CALS type raster format. I am able to open them in Autocad Map 3D, but Arcmap does not recognize them. ...
0
votes
1answer
31 views

How to combine two rasters based on the relationship to a polygon mask?

I am looking to combine two single-band, 1-bit rasters of the same spatial extent based on their relationship to a polygon (mask). The image shows a polygon displayed with a cross-hatch and the two ...
0
votes
1answer
30 views

Combining continuous raster and point in ArcGIS for Desktop?

I have a layer that's a topographic map of a mountain range, represented by a continuous raster. I have another layer that is just points, representing where the summits are. How can I use the ...
0
votes
1answer
34 views

Python error in polygon to raster conversion

I want to convert polygon to raster. I converted the dbf file ( "cntymam") to table view to make use in the conversion. I am getting a error that the parameters are not called and also with the grid ...
0
votes
2answers
111 views

QGIS from console: raster algebra

I'm newbie to programming in pyqgis. I need to perform a simple "GeoTiff * A" type of calculation(where A is a constant), but I am struggling to do so. I tried ...
0
votes
1answer
65 views

Explaining ArcGIS Raster to Polygon output?

I want create a new shapefile with selected fields found in a raster which depicts landcover. I first attempted to run Raster To Polygon. However, some class names no longer appear, as shown here: ...
0
votes
1answer
61 views

chi-squared for two rasters in R

I am kind of new with statistics. I have two raster with categorical values and I want to get chi-square. How can I do this using R? Rasters have the same region and same resolution. Is chi-square ...
0
votes
1answer
70 views

True color combination using Resourcesat-1?

I am working with an image from India. According to the metadata, I am working with an image acquired by the AWiFS sensor from Resourcesat-1: ...
0
votes
2answers
85 views

Combine overlapping rasters and include cells with no data

I'd like to combine about a dozen rasters into one raster that contains the "summed" cell values where overlaps occur. In doing so, I need to be able to retain cells that either have no data, or that ...
0
votes
1answer
109 views

QGIS 2.8 Convert a vector to a raster layer

When I change a vector layer to raster using raster button->converse->Vector rasterization in QGIS2.8. I get only a black picture. Why is that so and how can I convert a vector layer to a raster ...
0
votes
2answers
38 views

How to compute climatology of 3 days moving averages for rasters pixel by pixel?

I have one year of datasets that I want to compute the climatology of 3-day moving averages and then I subtract this climatology from the original values for each pixel. example: # Set up the ...
0
votes
1answer
96 views

Can't import libraries to rsaga

I get this error when I'm trying to import a raster to RSAGA: > rsaga.import.gdal(paste(rast_name, ".tif", sep=""),"RASTER", env= my_env) Module 'GDAL: Import Raster' not found in SAGA library ...
0
votes
1answer
39 views

QGIS extend raster layers extension

I want to extend a raster layer to another layer's extension (my input raster layer is smaller). The new raster cells should have 0 value. Is this possible in QGIS?
0
votes
1answer
237 views

Import GeoTIFF into MapInfo - why “control points”, and how to batch-create TAB files?

OK, so I am largely hostile to commercial software with 'proprietary' formats, but a colleague only knows MapInfo. I have a bunch of GeoTIFFs (produced by gdal-merge of JPG/JGW-filepair hi-res aerial ...
0
votes
2answers
52 views

How to feed a raster map with values from other raster map

I would like to know if there is a tool able to "feed" a current raster map with the values from other raster map (so the values from the current raster map will be replaced by the ones from the other ...
0
votes
1answer
37 views

How can I fill the category field in a raster using GRASS

I have a tiff file with land use data. The land use class in in the value field, but the label field is empty. Now I want to find out which is the area covered by each land use class, but GRASS does ...
0
votes
1answer
85 views

How to use gdal_grid with VRT?

Hi folk's it seems to be that I'm to stupid to use gdal_grid. I' have file called dgm-10-epsg-32633.csv with equidistant samples 10x10m in this form. X,Y,Z 386700,6068670.000,.000 ...
0
votes
1answer
45 views

Projection coordinate system [duplicate]

I have raster image that projected by WGS1984 UTM Zone 37N. But my shapefile was Adindan UTM Zone 37N. Due to this, it doesn't overlay the same. I tried to define projection for the raster image to ...
0
votes
1answer
63 views

How to import Ordnance Survery raster layer to ArcGIS Desktop?

I have downloaded raster map data from ONS, the data has come in the form of two files... one is full of .tlw files and the other is full of .tab files... How do I import it into a raster layer to ...
0
votes
1answer
156 views

set cells with specific values as NoData in afloating raster

I have a raster file which includes floating values. I need to set cells with specific values as Nodata. For Raster integer values, the setnull tool can be applied, is it any tool for floating point? ...
0
votes
1answer
94 views

Reading Raster Data with ArcGIS tools in C#

I have a raster data layer as IRasterLayer and I am using C# SDK of ArcGIS. Here is the IRasterLayer. I want to access all the cells I want to edit cell values. After all i need how can i read the ...
0
votes
1answer
24 views

Raster2pgsql overview method

What is the method used by Raster2pgsql to create overview? I couldn't find details in the docs. Nearest neighbor isn't a very good choice for the dataset I'm working on, but that seem to be the one ...
0
votes
1answer
17 views

Rastercalc.py and Rastercalcengine.py

Is there any examples on how to use the rastercalc.py or rastercalcengine.py? And what are the purpose of these python module? Are these modules the same with gdal utilities which can be run in ...
0
votes
1answer
109 views

creating multi band raster from one GeoTiff

I'm using AgiSoft photoscan to create a photo mosaic from aerial images. The images are being captured using a camera modified for NIR and RGB data capture. I want to be able to perform spectral ...
0
votes
1answer
289 views

How to round up/down an pixel value of a raster to a pixel value with 2 decimal places?

I have a raster (DTM) with floating points as pixel value. Now i want to round up/down the pixel values (to its next nearest value) to 2 decimal places. I use ArcGIS (with extensions) and tried the ...
0
votes
1answer
49 views

Styling Raster with QGIS for publishing in Geoserver

I have a raster layer with five different landcover types denoting with 1,2,3,4 and 5. in Qgis it looks as follows: When I tried to upload this layer to geoserver using OpenGeo explorer tools, and ...
0
votes
2answers
163 views

QGIS 2.4.0 Setting raster layer to singlebandpseudocolor using minimum and maximum raster values

I am using QGIS Chugiak 2.4.0, and I have some code in which I want to: Add raster layer to map canvas Look for the minimum and maximum raster value Apply singleband pseudocolor render type for the ...
0
votes
2answers
178 views

Extract/copy a subset of rasters from a mosaic dataset

I have a mosaic dataset of 421 images and I want to extract just a few of them to give to a client. Rather than click through the folder selecting the files (because they are not contiguous) I want to ...
0
votes
1answer
48 views

Problem in adding raster layer from arcpy

I am using the following code to add the raster layer using arcpy in arcmap def AddRasterLayer(path,layerName): layer=os.path.join(path,'new'+str(layerName)+'.lyr') ...
0
votes
2answers
64 views

Con function loop doesn't calculate for all the fifty rasters in a list

I have been trying this for hours and I know it should be easy but I can't make it work yet. I have a list of 50 rasters that I need to change the NoData to "0" values. I have the right arcpy ...
0
votes
1answer
29 views

Is PostGIS-2.x raster in text format (WKT) only?

I was reading PostGIS FAQ and this tutorial. From all that I can tell, it seems that PostGIS raster is a text format, i.e. WKT or well-known-text. I was wondering if PostGIS raster data are ...
0
votes
1answer
53 views

Combining raster images? [closed]

I've decided to work on GIS implementation in transportation. I've these small tiles of images, with world files. I want to combine them to create a base map. I don't know coding/programming, so ...
0
votes
1answer
47 views

Is it possible to create one raster elevation layer from two different point layers in QGIS?

I have two layers with X,Y,Z data. The data overlay only partly. Is it possible to create one raster layer with elevation data using the 2 sets of data but without merging them first?
0
votes
1answer
185 views

Create Georeferenced Raster For JPEG file with Mapnik Python

I am able to use Mapnik generate_image.py to generate image with a BBOX and projection. Also, I have added a python script to generate a JGW file. But to completely georeference the generated image. ...
0
votes
1answer
804 views

Combining two overlapping rasters (combine cells, retain both values) using ArcGIS for Desktop?

Using ArcGIS 10.2, I am trying to combine two rasters which are identically overlapping in shape and extent, but with different values and counts. As an end result I would like each cell to retain ...
0
votes
1answer
93 views

removing spurious lines in raster before or after vector conversion?

I'm looking for a feature/function in either python opencv/ndimage/gdal/etc. or qgis/saga/grass that will help clean up a skeletonized image that I'd like to vectorize into a shapefile of ...
0
votes
1answer
51 views

Raster Calculator Blurring Image Results

I am trying to run a NDVI analysis using raster calculator on Arg Map 10.2.1 and the results create blurry or bleeding image, almost as if the map has been dipped in water. I am using the default ...
0
votes
2answers
286 views

gdal2Tiles output differs from MapTiler

I'm in need to process a large batch of Landsat images with MapTiler and since the version I'm using (1.0 Beta 2) does not support multiple input files, I created a simple python script that calls ...
0
votes
1answer
241 views

QGIS: Multiply Raster Value with Pixel size

i'm working on a map with population densities. My raster data contains values as [People/square meter] for each cell. I have per capita values of energy demand etc. which I want to multiply with the ...
0
votes
1answer
239 views

Clip a shapefile based on raster extent with high accuracy

I am trying to clip a shapefile based on the extents of a smaller raster. I find the extent of the raster using this code: Extents = arcpy.sa.Raster(MyRaster).extent` Then, I use these lines to ...
0
votes
1answer
363 views

Raster and vector layer in the same CRS don't match

While adding multiple raster and vector layers (and setting them all in CRS WGS84) in QGIS 2.2, they don't seem to overlap. Interestingly enough, only raster files overlap between each other, the same ...
0
votes
1answer
684 views

Arcpy Subtracting rasters error - TypeError: 'unicode' object is not callable

I have a script which subtracts 2 versions of the same raster from each other (one newer than the other) and then extracts the additions & deletions that have happened. I created a simple test ...
0
votes
1answer
65 views

How can I use polygon grid to export raster [duplicate]

I have a polygon grid which consists of 100 square polygons. For each square I need to export the raster overlay. I have ArcGIS 10.0, FME 2014, Saga-GIS. Is there a suitable tool for this or do I need ...
0
votes
1answer
65 views

QGIS processing does not support jpg

I would like to work with the gdal functions provided in the processing toolbox. It is easy to call: import processing processing.alglist() ...
0
votes
2answers
222 views

r.topidx error: required parameter output not set

I'm calling GRASS r.topidx from QGIS 2.2.0. I can get other tools to work on the DTM, for example r.watershed. But r.topidx I get the Oops message: Oooops! The following output layers could not be ...