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

learn more… | top users | synonyms

6
votes
4answers
1k views

How to sum up pixel values in QGIS?

I need to know the value of the sum of all pixels in a raster. However, in the Statistics section of the Metadata tab in Properties, under Sum of All Cells it always indicates 0.00. I have tried with ...
4
votes
1answer
409 views

Trouble Tabulate Area

I am using Kansas Cropland raster data from NASS with tabulate area to find out acreage of different crop types. The python I used works fine for 2006-2009 (56 meter cell size), except 2010 & ...
4
votes
2answers
2k views

How can I specify the CRS of a raster layer in pyqgis?

I manipulating netcdf raster data from the QGIS python console. The metadata of my netcdf file does not provide the Reference system. However I know it is 'EPSG:4326' I am writing a python script to ...
4
votes
4answers
643 views

How to sample raster datasets at ALL points?

I know it is possible to use tools like ArcGis's 'extract sample' tool to extract values at a given number of points. I would like to sample every pixel in a raster, and drill down through all other ...
4
votes
1answer
212 views

Reclass all values < 0 to -9999 in PostGIS

I have a tiled raster in a PostGIS table and I would like to change the value of all pixels which have values less than 0 to -9999. How should I do this? I suspect it involves ST_SetValue and ...
14
votes
3answers
656 views

How to count consecutive pixel values for a set of rasters?

All, I'm using ArcGIS 10 with Spatial Analyst. I have a set of rasters (8 in total) that only every contain a 1 or a 0 for each cell. Each raster represents a different years worth of data. For ...
6
votes
1answer
1k views

Creating a mask with transparent pixels in python

I have a geotiff image with pixel intensities ranging between certain values. Lets say bewteen -2 and 2 (the image is normalized). I have a certain threshold which interests me, lets sat 1. I would ...
6
votes
3answers
3k views

ArcGIS Export Selected Raster Graphics

I'm having a problem exporting raster graphics using ArcGIS 10. It seems simple enough, but for some reason I cannot get ArcMap to work with me. Here are my steps: Add a raster to ArcMap Open the ...
2
votes
1answer
798 views

Filtering a raster by pixel value ? (Qgis)

I have downloaded Globcover data in GeoTIFF format. I want to create a new grid which only has values where the Globcover data (the only band in the TIF file) has one certain value (==190). Can I do ...
20
votes
3answers
2k views

Packing Polygons within polygon

I have a Boolean raster. In the grey areas of the raster I would like to fit a given size polygon within a contiguous extent. Basically, I have an irregular polygon, and i would like to "fit" a ...
1
vote
0answers
77 views

Make a thumbnail of a raster in PostGIS

I'm fiddling around trying to create a thumbnail of a fairly large (originally 27MB) raster, chunked into 64x64 blocks. I've got the following and it works, quite well, but I'm wondering if there is a ...
11
votes
1answer
540 views

QGis raster terrain analysis - The curvature filter puzzles me

I am a french Master student at university Grenoble INP, and during my master project I have worked on DEM (raster) terrain analysis. Thus, I have read the source code of several QGis-1.7.4 raster ...
2
votes
1answer
4k views

Convert a Tif raster file to vector shp file in QGIS

So I've been trying to convert a georeferenced Tif raster file into a vector shp file using QGIS. It's seems to complete this but it ends up giving me a feature class that has over 500,000 features, ...
3
votes
0answers
250 views

GFS SIG/SFC file format of siganl.gdas/sfcanl.gdas analyzing/decoding problem

I am creating a database from datafiles. I encountered many fails and errors, which I have already fixed (also with the help of this Q&A web). Now I am stucked a bit in decoding of 6 files because ...
2
votes
1answer
292 views

How to change the raster NoData value with ArcObjects?

I am trying to change the a raster's NoData value with ArcObjects and keep coming up short. Here is the code that I thought would work: IRasterDataset _dataset = ...get the dataset... object[] ...
5
votes
1answer
369 views

Mosaicing indexed colour rasters with independent colour tables

I have a large number of single band rasters that are colour indexed TIF files. I want to mosaic them using GDAL (or similar non-proprietary software with a Python API I can call as part of a bigger ...
3
votes
1answer
2k views

ArcGIS 10 trouble displaying raster correctly

I think I've come across a Bug in ArcMap 10 in displaying rasters. This particular model comes from the USGS GAP Species dataset with metadata hosted here. I'd like to know if anyone else has ...
3
votes
1answer
299 views

gdalinfo gives no georeferencing information for a PostGIS raster

I have a PostGIS raster dataset which I am trying to access via GDAL. I've had various problems with making this work, so thought I'd try running the gdalinfo command to check that GDAL can actually ...
3
votes
1answer
567 views

PostGIS 2.0 ST_Transform with Rasters cannot find custom SRID

I'm trying to calculate an average value in a buffer around a point. Given a raster in EPSG 4326 and a similar point, this is fine, except that the values will be skewed as they are not projected in ...
12
votes
7answers
7k views

How do I create a shapefile showing footprints of Rasters?

I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to ...
1
vote
1answer
329 views

How to serve raster mosaic to AutoCad Map 3D?

We are looking for a way to serve all the raster datasets we've collected over the years as a mosaic we have built in ArcGIS so that the AutoCAD department can simply import the mosaic and it will ...
2
votes
1answer
374 views

How to overlay my interpolation within the boundaries of Quebec?

I am trying to create interpolated maps within geographical borders. I have the coordinates and values to the points I am trying to interpolate. I also have a map of the geographical land mass in ...
4
votes
1answer
411 views

Generate centroids for vector polygons based on raster and land-use data using QGIS

Although QGIS has the ability to generate centroids for polygons, I am not sure how to generate centroids based on land-use development using raster data. Here's an example of what I'm trying to do: ...
0
votes
4answers
3k views

OpenLayers (allOverlays): Vector layer not rendered without raster layer beneath it

This is another newbie question. I'm trying to create a map using OpenLayers that comprises only of vector layers from a WFS server. However, I'm thwarted because my vector layer won't render unless ...
2
votes
1answer
411 views

Recreating A Lat/Long Grid Using a Specified Formula

I'm trying to recreate the Gridded Mercury emissions 2000 (0.5 x 0.5 degree grid) designed by the Arctic Monitoring and Assessment Programme. The file is in ASCII format, but without any coordinates. ...
1
vote
2answers
302 views

Clip raster to multi raster

I have a raster aerial photo. I have county wide parcel data. I want to clip/screen shot the raster at each individual parcel. Think of this application - a post card with an image of your house ...
3
votes
1answer
500 views

How to create aux.xml file?

after starting to use MOBAC to create offline background maps I found the aux.xml files very useful as QGIS automatically sets the CRS so this would be very useful for my colleagues with smaller GIS ...
10
votes
5answers
1k views

Multicriteria Analysis : how to?

I have to do a multi-criteria analysis to answer the question : "which is the best lot to develop". A few of the criterias are : distance of the nearest bus stop (point layer with bus stops) ...
10
votes
2answers
2k views

Grid vs TIF vs IMG

As the title suggests both of the above three formats are raster files. In ArcGIS, apparently there's no difference between them. So what's the difference between these three formats?
1
vote
2answers
2k views

How can I save raster dataset using arcpy

I'm trying to save filled raster object to geo database by my specified filename. import arcpy from arcpy import env from arcpy.sa import * env.workspace = r"C:\GIS ...
4
votes
1answer
2k views

calculate building density in ArcMap

I have two questions related to calculate building density. I need to calculate the building density in a map which Data is in shape format. The buildings and the area are in two different layers. ...
7
votes
2answers
5k views

Find the intersection of two rasters

I have two raster images, Boolean classified (1 or 2). They overlap in given areas. I need a raster that is only the overlapping sections. Using Arcinfo 10. Answer can only use raster methods, no ...
3
votes
0answers
197 views

How to read pixel values from an image server layer with ArcObjects?

I'm having a problem with reading pixel values from the image server layer. The image server layer class implements IRasterLayer, so when I tried to read pixel values using IRaster2 obtained through ...
5
votes
1answer
151 views

Smaller raster file natively supported by GeoServer

I have a 800MB GeoTIFF file generated from (ASTER GDEM v2 tiffs) depicting relief to be used as part of a basemap for an application I am working on. I intend GeoServer to serve this raster but it's ...
8
votes
1answer
2k views

Is there a fast way to copy large raster datasets between File Geodatabases?

Why does it take so long to copy a large raster dataset from one file geodatabase to another? I can copy the entire database in windows explorer in minutes but copying a single raster in ArcCatalog ...
3
votes
2answers
430 views

TIFF, Grid, FGDB Grid, etc. - what performs better in ArcScene animation?

I am creating a flyover animation in ArcScene and I would like my surface raster to be rendered in full resolution (an exported function raster dataset - a blend of shaded relief and high resolution ...
7
votes
1answer
216 views

Phenological event extraction in IDL

I’m doing phenological study using a threshold method in IDL. I have a twelve-band image in 2005 (format is in .tiff not ENVI format). Twelve-band means that monthly images (Jan to Dec) have been ...
2
votes
3answers
1k views

Batch script converting and resampling orthophotos

I would like to convert more than 300 orthophotos produced at scale 1:8.000 with a pixel size of 0.8m X 0.8m from Ecw format to Tiff format and after resampling pixel values. My aim is to batch ...
5
votes
1answer
1k views

grib2 to raster? (grib2 -> raster2pgsql -> PostGIS 2.0 -> GeoServer)

I'm looking to implement import of US National Weather Service data for doing various sorts of models (www.soils.wisc.edu/uwex_agwx if you're curious about what we're doing with the data). The ...
2
votes
2answers
1k views

How to vectorize a Raster-Classification? (qgis, grass)

I classified my raster-DHM into elevation levels using colormap. Its not a "real" classification, just a colormap. So I cant vectorize the classes to get polygones for every class. Whats the best ...
3
votes
1answer
865 views

Get a pixel value

How can i do this operation: I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python. What operators should i use? (for example in qgis's Python Console) ...
10
votes
2answers
11k views

How can I join several raster files using QGIS?

I'm new to QGIS. How can I combine multiple raster layers into one layer? The raster images are of different areas with very little overlap. The goal is to bring numerous town plats into one project. ...
7
votes
2answers
726 views

Are there GIS tools for simulating landscape fragmentation?

I am currently looking for any GIS packages (or add-ons) that allow the simulation of landscape fragmentation on raster data. Maybe also other software than GIS tools? Does anyone of you have had ...
7
votes
4answers
3k views

How to install “1-band color raster color table”?

I would like to use the "1-band raster colour table" extension. I'm using QGIS Wroclaw 1.7.4. In the plugin installer I can't find this extension, even I quote for third party extensions thing. Does ...
1
vote
2answers
224 views

Configuring a WorldImage data store starting from a folder containing tif and tfw files

i have a folder of tif and tfw files and i'd like to show the raster in a map using geoserver. Even reading the geoserver tutorial for this kind of datastore ...
5
votes
2answers
270 views

Raster calculation confusion

I need to do some raster calculation, I've been trying to make it work but I am not sure everything is working properly. I need to apply a formula, but I am unsure if I am doing it properly. The ...
1
vote
0answers
132 views

identify the fraction of raster cells and listing all the cell values in every polygon

In Arcgis 10 I have a netcdf file that maps the fractions of cropland in the world from 1700 to 2007. I extracted the years that i needed as raster layer format (continous data from 0 to 1) and now, ...
4
votes
1answer
315 views

Multishading: bring them together to one Raster-Image

I made a multi-hillshade with 4 different light-directions and colors and stacked one above the other, each with its own transparency. Now I want to "save" the result in one raster-image. Whats the ...
5
votes
1answer
1k views

How to rasterize SpatialPolygons in R?

I'm trying to extract the bathymetry values of my area of interest from a world bathymetry raster layer using the 'rasterize' function in the {sp} package. *Edits: I found the 'extract' function ...
3
votes
1answer
651 views

Cell calculations; QGIS,GRASS,GDAL,SAGA

I recently asked a question about trying to calculate the slope over distance (manually) using QGIS, but then I came up with another way of solving the problem, but I would have to get some help for ...