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
831 views

Clipping polygon layer into multiple polygons via model builder?

I have a huge polygon layer created from a raster, and over that I have a watershed shapefile. I need to run a land-use regression process on each individual watershed so I'd like to clip and export ...
0
votes
1answer
800 views

How to add raster data to Table of Contents using python?

I can easily add shapefiles to the Table of Contents in Arcmap using the following codes: mxd = arcpy.mapping.MapDocument("current") df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0] path = ...
2
votes
3answers
3k views

Is it possible to open rasters as array in NumPy without using another library?

I know that it is possible to open a raster as an array in NumPy using GDAL, but I want to skip GDAL and use NumPy only, as it is cooler handling rasters with NumPy as matrices. There is a similar ...
1
vote
1answer
176 views

Load Raster Values into Shapefile [duplicate]

I have a shapefile containing many points. Some of these points fall within an area for which I have raster data. I would like to load the values of the raster which underlie each point into the ...
4
votes
3answers
206 views

How to show cell boundaries on a raster?

I am trying to recreate a situation where each cell from a raster dataset has a black border as seen in this image. Any ideas?
1
vote
1answer
88 views

Re-sizing Raster file pixels

I have 2 JP2 aerial imagery files that are incorrectly sized. They are 100x larger than the other aerial images but correctly geo-referenced (starting x, y co-ordinates). I believe the issue is their ...
3
votes
0answers
306 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 ...
1
vote
1answer
599 views

How to get custom color palette in rasterVis plot3D in R?

I am trying to insert an RColorBrewer palette to visualize an elevation raster in R using the rasterVis function plot3D. The rasterVis reference document shows the following parameters: plot3D(x, ...
2
votes
3answers
1k views

How to Iterate through Bands of Raster using ArcGIS 10.1 ModelBuilder?

I have a large number of rasters with 3 bands (R,G,B). What I want to do is add all 3 bands of each raster together to end up with a single band image with the summed R,G,B values in each pixel but ...
2
votes
1answer
117 views

Raster layer calculator

In PCI Geomatic, I have two raster layer.raster1 identified like %1 and raster2 like %2. if (%1 <= 10) then %2 = 60 elseif (%1 > 10 and %1 <=50) then %2=80 elseif (%1 > 50 and %1 ...
1
vote
0answers
235 views

Touch up tool for rasters?

I was wondering if it were at all possible to manipulate/massage rasters (eg Geotiff) using Qgis plugins or Grass?? By manipulate, I mean manually smooth off interpolation artefacts, blended surface ...
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 = ...
3
votes
1answer
3k views

ArcPy findAndReplaceWorkspacePath not working with Raster Datasets

Situation: I am working on creating a Python script that will replace workspace paths for every layer in a map document in order to fix broken layers after a data migration. The script works except ...
1
vote
1answer
763 views

“dataset does not exist or is not supported” using large GRID raster

I am trying my hand at arcpy for the first time to create a conditional raster from a set of threshold values. I have 3 large GRID format rasters (mos_zb3, mos_zb4, pca_finb2) I am trying to feed into ...
0
votes
1answer
267 views

QGIS proximity raster with extent beyond original coverage?

I need a raster coverage of distances from points outside the geographic region of interest, and am having trouble doing this with QGIS. Questions like this one (Calculating distance to points in ...
1
vote
2answers
247 views

Grass GIS 6.4.3, How to create a .PTS file

I'm trying to export a raster map in order to use it in the Flo-2d program. This program needs a .pts DTM file, do you know how I can create it? Alternatively, I can use a XYZ file looking like this ...
5
votes
2answers
4k views

Loading PostGIS raster layer into QGIS

I am unable to load a PostGIS raster layer into QGIS. I have looked through previous posts Loading raster from PostGIS DB into QGIS and Cannot add the PostGIS raster layer with QGIS but was not able ...
2
votes
0answers
54 views

Wrong pixel sums within buffers in Esri ArcGIS 10.0

I have a raster of Zambia, 100m² resolution (about 650mb). Buffers (single) at 1,2,3,4,5,10,15,20,25,30,50 km. I'm running "zonal statistics as table" in the model builder for all buffers (actually, ...
1
vote
0answers
429 views

Saga Reclassify grid problem

I am using Qgis 2.1 ver. 5f5cd4c (64 bit version on win7 64) OSGeo installed. I was trying to reclassify a DEM in EPSG:32614. I used the SAGA's Reclassify algorithm in the processing toolbox. I ...
3
votes
1answer
183 views

Create a band mask based on pixel locations, not in pixel values

I have this image loaded in QGIS, with two possible values for the pixels: 1 = orange, 2 = blue For simplification, assume it represents a province of a country. I want to extract just the part of ...
2
votes
1answer
451 views

netCDF-java has trouble reading this netCDF file(format) and fetching values from the latlon dimension

I'm developing an application where I need to extract variable-values from netCDF files. I'm processing several different formatted netCDF files and now one format seems to be creating some issues. ...
1
vote
1answer
220 views

QGIS Grass Plugin fails with r.cost.vect

I tried the following in QGIS with the Grass Plugin: r.cost input=preCostSurface@albi start_points=OSMroads@albi output=cost0109 max_cost=0 And I get the following error: Dev note: Adapted sites ...
0
votes
2answers
160 views

Count the area of rasterdata in specific shapefile polygons (residential density in different districts)

I'd like to count the exact area of three different residential classes (low, medium, high) by district of a shapefile which contains 225 districts. like: district 1 has: XXX sqm low, XXX sqm medium, ...
1
vote
1answer
1k views

Map Algebra - Grass GIS (r.mapcalc) merge two raster with NoData value

I have a slope raster and a road raster. The black pixels in the road raster are NoData values and the pink pixels have a value of 1. They don't cover exactly the same area. I want to create a new ...
1
vote
0answers
65 views

Selecting a bounded area within a raster

I am new to postgresql. I have imported a 256kb sample raster (.tiff) into postgres with tilesize 100x100. Now I need to select the area (rectangle) from the center of the image using sql query. Then ...
3
votes
1answer
126 views

How to use Plus tool in ModelBuilder?

I want to have the sum of at least 2000 raster combined to one raster layer using ModelBuilder (Plus tool). I think I'm missing something here. This model does not work.
0
votes
2answers
286 views

How to display NoData of a raster in QGIS

How can I show raster pixels with NoData value in QGIS? In ArcMap there is a button to choose the color for the NoData value. Is there something like this in QGIS?
2
votes
4answers
181 views

Is there any free resource to get international raster data (other than USGS)?

I am looking for any raster database that allows free downloads of any kind of raster data pertaining to Damascus, Syria and the surrounding Turkey area. I'm trying to avoid USGS since it requires a ...
2
votes
1answer
273 views

How to multiply raster DEM with a linear graph value

I would like to multiply my Raster DEM with a linear graph value y = mx + C. The graph values look as follows: I want to make a new raster where each cell will represent a damage factor from ...
0
votes
0answers
31 views

calculating mean and standard deviation for raster values using whole pixels within a polygon [duplicate]

i have a raster image and a corresponding shape file. i would like to calculate the statistics of the values within polygons which have a common attribute but only using pixels which are fully ...
1
vote
0answers
40 views

Layers and variables are not coming out in the raster calculator tool window

I have many shapefiles in the table of content but layers and variables are not coming out in the raster calculator tool window. I placed the cursor the left of the Raster Calculator window, dragged ...
3
votes
1answer
792 views

NOAA Nautical Charts .bsb format

Is it possible to load a nautical chart from NOAA into QGIS that has the .bsb format? Didn't have much luck with mrSID format. using QGIS(dev) on ubuntu 13.04
1
vote
2answers
3k views

How to access each raster in a stack with a loop

I have a stack of rasters and I want to access each layer, combine each later with another file and finally export the resulting file as a csv file. Is there any way to do this with a loop? So far I ...
0
votes
1answer
403 views

Import raster into ArcGIS

I received raster data from a grid of 1100 by 1000 meters with a resolution of 1 meter. It is the output of EFC-400 software showing the field strength around power lines. The data is currently in ...
4
votes
1answer
691 views

Understanding percentage drop-raster (flow direction-tool)

I'm creating a Topographic Wetness Index using a python script (http://arcscripts.esri.com/details.asp?dbid=16750) As I don't want this just to be a blackbox, I'm trying to understand the different ...
2
votes
1answer
1k views

Extracting Raster Values by Polyline End Points using ArcGIS Desktop?

I am looking for a way to extract elevations of end points for line data in ArcMap 10.2. I have a road dataset that I want to use as a Network Dataset in Network Analyst. I want to be able to set the ...
5
votes
2answers
286 views

filling up a depression to create new surface

A collegue here has a problem I cannot help with. She has the surface (as raster) of a landslide release area (from AFTER the slide) and wants to calculate the calculate the theoretical/approximate ...
2
votes
1answer
632 views

How can I dynamically trim the informational border off of FAA sectional raster charts?

I'm trying to write a script that can automatically use GDAL to crop the informational border from the FAA's published sectional charts (GeoTIFF) found here: I know that I can use gdal_translate ...
1
vote
0answers
153 views

Sending Raster File in ArcMap, Attributes Gone

On my computer, I opened a .tif file in ArcMap 10.1 and reclassed the values into two categories - this results in a new file. I then send that file to another computer and open it in ArcMap but ...
3
votes
2answers
505 views

The fastest way of generating tiles from raster?

I have some MODIS imagery 250m resolution covering a large area which I generate tiles from using Mapnik and generate_tiles.py script. I need to run this script every day with new satellite images, ...
0
votes
0answers
260 views

Problem with merging 15 DEM files in ArcGIS

I have 15 DEM files downloaded from USGS website. The pixel depth of each file is 32 bit floating, generic with format FLT. I'm then using data Management Tools > Raster dataset > Mosaics to new ...
1
vote
1answer
160 views

How to work with 16 GB orthophoto raster

I would like to use one GeoTIFF raster in a custom ArcGIS-Engine Application, but my provider gave me 4 orthophotos GeoTIFF 4 GB each, because GeoTIFF is limited to 4 GB. Is there any other way to ...
1
vote
0answers
69 views

Selecting a rectangle box from a raster tiled table in PostGis 2.1

I am new to PostGIS as well as SQL queries for rasters. I have imported a raster .tif file into PostGIS with tiles. I would need to select a bounded rectangle from within this raster using SQL ...
1
vote
1answer
304 views

GDAL and Python: How to “pad the extent” or otherwise handle band.ReadRaster() for area falling slightly outside the image bounds?

In a nutshell, I'm trying to create a bare-metal tiling utility using GDAL and Python. As you can see in the graphic below, which shows the perimeter of a raster and the OSM-structured tile index, ...
2
votes
1answer
90 views

Calculating statistics for an Image Service

I haven't been able to find much information at all in regards to ArcGIS 10.1 Function Template Chains... I need to be able to load a .rft in my image service and calculate statistics... so I am using ...
3
votes
2answers
668 views

How to solve jpeg2000, jp2. crash & errors on arcgis 9.3.1 windows 7 64-bit

I have several problems at work. One is that jpeg2000 crashes ArcMap but mostly ArcCatalog when trying to read them. This is only occurs on machines with Windows 7 64-bit (we don't have Windows 7 ...
6
votes
2answers
2k views

Is there a Focal Statistics (spatial analyst) tool in ArcGIS equivalent in QGIS?

I'm attempting to use QGIS v2.0.1 to accomplish the same tasks that I can do using ArcMap v10.1 and I'm running into some trouble finding equivalent tools. In ArcMap I am using the Focal Statistics ...
7
votes
3answers
3k views

Best way to clip a large raster ECW file ?

I am trying to clip a large ECW (details below) but the raster file is too big to be processed entirely. Some details of the ECW below Driver: ECW/ERDAS Compressed Wavelets (SDK 5.0) file size: ...
6
votes
6answers
3k views

Impossible to sum rasters because of nodata pixels

I have a set of rasters (.vrt) with daily soil moisture data. I want to sum the pixels of all rasters in order to have a measure by month. However, the whole world is not covered each day, which ...
1
vote
0answers
237 views

Interpolating shapefile of points to grid using Java?

I am looking for a method/prog/library(java) to interpolate points from a shapefile to a grid (file). I have seen arcgis can do that but i am looking for something free. More specific: i have ...