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
3k views

How to get values of each cell in raster attribute table?

How do I get the values of each cell in the raster attribute table. Usually the attribute table gives you the value and number of counts. But, in my case I want each cell listed and corresponding cell ...
2
votes
0answers
14 views

How to remove spikes from grid in SAGA GIS?

I tried to get a grid by interpolating LAS file using Ordinary Kriging. But the product grid has many pixels which values strongly stands out from average surface - I mean one pixel sinks nad spikes. ...
1
vote
2answers
182 views

Rasterizing polyline data with QGIS/GDAL: custom line width

I need to make a raster from a polyline shapefile. However, when I use gdal_rasterize (either directly or through QGIS), all my lines are drawn one pixel wide, while I need them to be drawn with the ...
1
vote
1answer
25 views

How to write every raster from a list of rasters?

I have created a list of rasters - "norm" and run a several loops. Now I would like to write every created raster from "norm" (containing 1 layer) into one raster, having its specific name. # I can ...
0
votes
0answers
54 views

How to accurately join data based on 1x1 degree grid-cell points to a shapefile

In the data file each row represents a country and a grid-cell at 1x1 degree resolution, and the given coordinates, in longitude and latitude, label the south-west corner of the grid-cell. The ...
1
vote
1answer
32 views

How to sum up values of neighbouring rasters? [duplicate]

I have a raster (25X25 meter) and I will make a new raster where each cell get the value of the sum of all the raster cells in a radius of 500m. I use QGIS. What is the best option to do this?
1
vote
2answers
556 views

GDAL/proj4 equirectangular projection coordinate system units assumed by OGRSpatialReference and GDALDataset::GetGeoTransform()?

How do I configure my OGRSpatialReference object to specify an equirectangular projection system http://en.wikipedia.org/wiki/Equirectangular_projection where the affine geo-transform matrix (provided ...
1
vote
1answer
42 views

r - increase speed of crop, mask, & extract raster by many polygons

I'm extracting the area and percent cover of different land use types from a raster based on several thousand polygon boundaries. I've found that the extract function works much faster if I iterate ...
3
votes
0answers
44 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 ...
1
vote
1answer
22 views

How to change the raster format using QGIS translate?

I tried to change a raster format from .tiff to .asc using Qgis's 'translate'. As a result, I get 3 files: a PRJ, XML and a file without extension just a plain file... What could it be happening? I ...
1
vote
1answer
497 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 = ...
0
votes
0answers
24 views

How do I summarize and then normalize the output of a kernel density surface?

I just finished generating a kernel density surface in ArcGIS 10.2. I would like to summarize the raster cell values as a histogram, and then potentially normalize the data. How do I: generate a ...
0
votes
1answer
405 views

Polygonize.py: AttributeError: 'NoneType' object has no attribute 'CreateDataSource'

Given a topographic raster tif of an european country where elevations are simplyfied to either 0, either 200. How to create a polygon ? Comment: With the following polygonize.py command: ...
1
vote
3answers
31 views

PostGIS raster maximum number of bands?

Is there a limit on the maximum number of bands you can store in a postgis raster? I cannot find documentation on this. As far as I can remember, a geotiff allows up to the max short integer (so ...
1
vote
0answers
16 views

Determine overlap of rasters in different projection systems

I'm trying to improve a python script I have for doing point-by-point comparison between datasets. It uses osgeo. My first input is a netCDF file: I extract the relevant information and store it as a ...
1
vote
0answers
9 views

TIFFDirectory.getAsMetadata() is not including GeoTIFFTagSet. Any solution to this problem? — JAI

The source code appears to simply copy the TagSet List object to the IFD and then the TIFFMetadata. I don't understand where it is losing the tagset as it is in the list before the call. Anyone ...
0
votes
1answer
19 views

Raster Files Sizes from Point Data Extremely Different

Using ArcGIS 10.1. I created rasters from several groups of point rasters using the Point to Raster tool. All of the points groups are similar size and extents. The first group of points had a file ...
4
votes
3answers
1k 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?
1
vote
1answer
19 views

Efficiently working with converting vrt rasters to greyscale in QGIS?

I have large raster tile sets working well in QGIS (Ordnance Survey UK data). Sometimes I want to grey/fade these to make my data clearer to see. Attempting to access properties on QGIS for the VRT ...
1
vote
0answers
10 views

Using the accCost() function in R: questions regarding the transition layer

I am trying to use the accCost() function from the gdistance package in R. I load my cost raster using the raster()function from the raster package. According to the documentation, I need first to ...
0
votes
0answers
11 views

How to run GAM with raster package?

When I am using the raster package to predict a surface probability map of species distribution using the following functions in R, the following error occurrs: CA132122200=raster("F:/CBG ...
1
vote
2answers
105 views

Geostatistical Analyst raster export looks completely different

I'm having trouble trying to re-create how a Kriged layer looks when interpolated using Geostatistical Analyst. I like the level of generalization (smoothness) of the filled contours in the ...
3
votes
1answer
51 views

How to import multiple stacked raster images in R?

I have (I suppose) wery easy and silly question but I can´t really find my answer... I would like to import all multiple mosaic rasters (each mosaic is composed by 7 layers) from indicated folder into ...
6
votes
1answer
379 views

Histogram Matching Python

I am trying to do histogram matching using Python to improve the mosaicking process of multiple overlapping rasters. I am basing my code on that found at: ...
6
votes
2answers
79 views

Is there an open standard for raster information?

For geographic vector data (Features) there is an OGC standard that defines geometries and their different annotations such as WKT and WKB. For raster image data however, I was not able to find ...
1
vote
1answer
50 views

What am I not getting about JPEG 2000 coordinate systems?

I hate to ask this here because I suspect it is a very basic question, but after several days of scouring the web, I need some help with understanding JPEG 2000 imagery and coordinate systems. What ...
0
votes
0answers
9 views

QGIS Export section from raster to AutoCAD

QGIS Windows 7 I have a raster which displays the flood depth over my site. What i would like to do export to AutoCAD an outline (maybe as a polygon or line) of the sections of the raster which are ...
0
votes
0answers
15 views

Color scaling for raster images(batch?)

Let's say I have raster images and I want to change their color based on their data value(color scaling). If the data values are from -(all negative value) - 0, I want to have that colored Blue. If ...
1
vote
2answers
111 views

Copy Jp2000 from Mosiac Dataset turns white

I am trying to copy a raster to jp2000 from another File Geodatabase that I created as a Mosaic Dataset. It came out as a whiteout in the middle. I don't know what it cause this. See screenshot : ...
2
votes
1answer
28 views

Export Geotif with transparent Background

i using Arcmap and i have a raster file, i need export this using a Geotiff file for use in Geoserver like a layer. My problem is, when i export the file always exist a color gray or white in the ...
2
votes
0answers
33 views

Calculate Euclidean distance to raster WITHIN multiple polygons

I am using ArcGIS 10.1 on a Windows x64 system. I am working in a study area where I have 360 000 locations of about 50 territorial animals. I have a shapefile containing 125 sometimes overlapping ...
2
votes
1answer
71 views

Whats the best way to convert this tab data to a raster?

I have some grid data that is stored in a xls file. The rows are lattitude and the columns are longitude values in decimal degrees (see image). What would be a quick and efficient way to convert ...
0
votes
1answer
112 views

Topo To Raster executing but not creating the raster

I am using Topo to Raster by File (ArcGIS version 10.1) via arcpy on a large stream and point dataset. Arcpy runs fine and executes without issuing any error message, however it does not create the ...
1
vote
1answer
25 views

Error summing 2 different rasters?

I was trying to sum two different rasters and the final outcome is an error (image attached below)? The main goal is to sum the values of each pixel in those rasters (both raster files have the same ...
2
votes
1answer
678 views

Problem in importing raster data from PostGIS to Geoserver

I am using Opengeo Suite 3.0.2, PostGIS 2.0.3 and PostgreSQl 9.2. I am trying to import raster data from PostGIS to Geoserver but facing an error. I follow this tutorial link to import the raster ...
6
votes
1answer
240 views

Raster aggregation in ArcGIS Desktop?

I'd like to aggregate a raster from 1m to 6m in ArcGIS with a custom rule. For example, each cell value of aggregated raster = mean value of 5 highest cell values from 36 aggregated values. How do ...
2
votes
1answer
148 views

Spectral profile (z-profile) viewer for ArcGIS

I have multilayer raster with 6 bands. Is there a way to select one specific pixel and to display the z profile (the values of each band) for this pixel as a chart or table? I am looking for a tool ...
2
votes
1answer
163 views

Right raster zonal statistics for NDVI at county scale?

I am currently doing a modeling project at county scale in which I have disease rate as dependent variable and environment variables (such as temperature, NDVI and evapo-transpiration) as the ...
3
votes
1answer
247 views

Sensitivity analysis for coarse scale GIS epidemiological model?

I am working on an epidemiological model with disease incidence rate as dependent variable and environmental factors as independent variable. Disease data is available at county scale whereas ...
2
votes
1answer
38 views

Problems using r.reclass in QGIS: invalid reclass rule error?

I need to reclass some rasters, but i am having a couple of problems, i can´t generate a new raster with the reclassification using the r.reclass of GRASS. For the question here i´m using as example ...
1
vote
1answer
29 views

Create raster with distance to feature

I'm new to GIS (and QGIS in particular). I'm trying to create a raster layer that contains the distance to shoreline for a certain region. I have both vector layers of the shoreline (line) and the ...
2
votes
3answers
348 views

Raster map in different zone () than region ()

I am new to QGIS (just installed QGIS 2.0.1) and am having problems running any spatial analysis tools. I followed the instructions on how to call GRASS tools into QGIS, but when I try to run the ...
1
vote
1answer
18 views

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
2
votes
0answers
34 views

ArcMap - Export raster symbology to a raster function template programmatically

I would like to programmatically export symbology for a raster dataset as a raster function template xml file, as can be done by clicking the export button in the symbology tab of the layer properties ...
2
votes
1answer
246 views

How to work with flt & hdr files

I have been working on a vector-based spatial analysis in R using shapefiles. I wish to use some environmental data that is downloadable, however it is only available in raster format (FLT & HDR ...
3
votes
2answers
676 views

Similarity between two raster maps

Having two raster maps as the examples below: We are interested in evaluating their similarities. As shown, they are not fully overlapping. We guess one way is to clip small one area from the ...
1
vote
2answers
251 views

How to set min and max value for stretchType: esriRasterStretch_PercentMinimumMaximum

How can I set the min and max values for the stretch type "Percent Clip" in arcobjects? It's possible to set the Stretch type: rasterStretch.StretchType = ...
0
votes
1answer
24 views

For loops + boxplot for raster

I have several Rasterstacks (b1_mask, b2_mask,...) of several layers representing only a determined pixel-intensity range. (So point "A" in some layers is "NA" - in others a "value" of that certain ...
8
votes
3answers
4k views

How to fully load a raster into a numpy array?

I have been trying to check my filters on DEM raster for pattern recognition and it is always resulting in missing last rows and columns(like..20). I have tried with PIL library, image load. Then with ...
3
votes
1answer
302 views

Build Raster Attribute Table with GDAL Utilities

Is there a way to build a raster attribute table using one of the GDAL utilities? I know you can view it using gdalinfo and I have successfully created one using Python, but it would be so much ...