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

learn more… | top users | synonyms

2
votes
0answers
115 views

Raster area (QGIS) problem explained

I would like to know the area that each value in a raster has... The raster I have has values from 2-15 and I would like to know the area that each value is occupaying within my polygon... Thanks! I ...
2
votes
1answer
233 views

Obtain normalized raster average per polygon?

I have a raster that contains percentages of total forest killed plus a polygon layer that defines different zones. My goal is to find a good statistical representative that describes the forest ...
2
votes
1answer
854 views

Access PostGIS Raster layer through mapserver

I am trying to use a cgi script calling mapserver to display a raster layer that is stored in a PostGIS database. However, only a blank white image is returned and I don't know where the problem is. ...
2
votes
1answer
5k 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, ...
2
votes
1answer
1k views

Adding fields to raster attribute table

I have a raster attribute table associated with an IMAGINE .img raster that I build and open with: IGPUtilities utils = new GPUtilities(); IRasterDatasetEdit2 raster = (IRasterDatasetEdit2) ...
1
vote
2answers
125 views

Road-construction (alignment) tools

Are there any tools available in any GIS environment for route alignment? To be specific, the tool should take a DEM and road-construction parameters -- distance and gradient, roadfill, drainage ...
1
vote
1answer
79 views

Why do the raster band values have different values than the raster statistics?

I am working on a raster file (1 Band). According to the raster metadata, my minimum value is 0 and maximum is 7458. This seems to be confirmed by the Style options that return some category values ...
1
vote
2answers
879 views

How do I import OS raster tiles into QGIS at the correct scale?

I have some tiles of OS raster mapping and their associated TFW georeferencing files. The GR files are in the same folder as the raster data and have the same names, ie TQ21.tif/TQ21.tfw. In QGIS ...
1
vote
2answers
394 views

Gdal: How iterate through all pixels of a raster image?

Given a topographic raster image. How to iterate through all pixels of this raster image ? Solution preferably with gdal, in console. Some other libraries/script could be installed. Related: ...
1
vote
1answer
153 views

How to correlate raster map and elevation data?

I have been provided with a set of raster maps. Thanks to another helpful user here I have been able to acquire some elevation data for the same region from gis.utah.gov in asc format. Now I need to ...
1
vote
2answers
441 views

How to produce a mean raster file based on other raster files? [duplicate]

Possible Duplicate: Tools to flatten the jp2 to a single band (average the bands)? I have a number of raster files from a same area, that coordinates of corresponding pixels perfectly match ...
1
vote
0answers
589 views

How to add ECW support to GDAL bundled with PostGIS Windows

I'm currently trying the new raster functionalities of PostGIS 2.0 and I successfully imported some GeoTIFF file into PostGIS (although it only find one band so it's all black and white for some ...
1
vote
2answers
2k views

Merge single band and multi band color images

I do have 2 color images (orthophotomaps). One is only 1-band with color map and second is with 3-bands. How can I merge them with any FOSS tools or ArcGIS? Thanks a million
1
vote
2answers
3k views

Get extent of Georeferenced Rasters in Python and output to polygon shapefile

I would like to create a shape file containing the extents of each of the rasters in a directory. Is it possible to capture the extent of a raster using Python? I have tried ...
0
votes
0answers
91 views

Issues creating slope raster layer from a point layer

I'm trying to create a slope raster layer using QGIS 2.0 on Windows XP. I started with a points layer with the Z elevation attribute. I then used the interpolation plugin to create a DEM. But, ...
0
votes
1answer
101 views

How do I convert coordinates to raster (bsq, bil) lookup?

I have a .bil file, which has interleave = bsq in the hdr file. I'm having trouble finding any insight into how I would essentially do a lookup on the file. I have no problem reading a specific ...
9
votes
4answers
274 views

How to determine if point is surrounded using raster processing?

I am attempting to improve a currently extremely cumbersome vector/python process for a natural hazard model. At the moment we have a lengthy script which generates distance/bearing lines from a given ...
9
votes
2answers
773 views

Python, GDAL and building raster attribute tables

I have an integer raster for which I would like to build a raster attribute table using Python and GDAL. I can create a GDAL raster attribute table in Python as follows: >>> rat = ...
9
votes
1answer
3k views

Converting point data into gridded dataframe for histogram analysis using R?

I am very new at using GIS data and only modestly experienced with R. I've been reading about how to analyze spatial data using the spatial-analyst.net PDF book, so I'm not completely lost, but I ...
9
votes
3answers
1k views

How to combine corner-touching polygons into a single feature

I have created a polygon layer from rasters, and only have a single classification ID (and calculated acres) for each polygon. I would like to "dissolve" all touching features into larger, individual ...
8
votes
1answer
696 views

How to add a band to an existing GeoTiff using GDAL?

This seems like it should be straightforward but I can't for the life of me figure it out. Given an existing GeoTiff containing a single band, how can you add another band to that GeoTiff? Is the ...
8
votes
3answers
840 views

Best way to manage large number of geoTiff rasters

I have around 2-3000 1-bit geoTiffs of size 11000x9400. Color 0 should be transparent, and QGis gets it wrong in the first place, so I used a .vrt file to set all the parameters in one single place. ...
7
votes
3answers
964 views

Creating raster or vector raster from DEM point file?

i have a point shape of 75.000 elevation points in a regular 5 m grid. We now want to create a polygon grid with the elevation points as "centroids". Unfortunately, all attempts to do so fail: I ...
7
votes
1answer
2k 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 ...
7
votes
2answers
3k views

Modify raster layer display and symbology properties programmatically with arcpy or ArcObjects

I have over 1500 NITF files that I need to be able to modify the layer display and symbology of programmatically from within ArcMap. I need to set the properties outlined in red below: I've looked ...
6
votes
1answer
242 views

Raster smoothing

I am an italian student. I'm using ArcMap 10. For my thesis I need to simulate a debris avalanche, but in my elevation raster the avalanche deposit is included so I'd need to take it off to simulate ...
6
votes
2answers
309 views

Wavelet vs Discrete compression for imagery

What is the main reasons to choose wavelet (jp2, sid, ecw) instead of discrete (JPEG) compression methods for raster data? Lets limit this question to aerial imagery and lossy compression. Why ...
6
votes
1answer
2k views

Count number of unique raster pixels in polygon using ArcMap?

I have a polygon shapefile and I want to generate a table of a count for each pixel value in each polygon. My main goal is to find out what pixel is most abundant in each polygon. I am using ArcMap ...
6
votes
1answer
430 views

QGIS composer - How can I eliminate striping across transparent raster layers?

I have downloaded QGIS dev version 1.7.0-114 and I have come across some weird behaviour in the composer. I create a map with a hillshade and a transparent DEM ontop of it, pretty standard stuff. ...
6
votes
1answer
930 views

QGIS WKT Raster Plugin error, what does this mean?

I have been playing with the WKT Raster plugin. I have installed the WKT Raster experimental binaries in PostGIS successfully and followed the instructions in the read me to the letter. When i am in ...
6
votes
2answers
1k views

Moving raster to different mapset GRASS GIS

I have a raster DEM that I created in one mapset but I would like to copy it to another mapset for another purpose. Is this possible within GRASS or can I just copy some files over in the ...
5
votes
3answers
325 views

Create a Raster file out of a ASCII grid file?

im using a special system to do geomagnetic surveys. Its software let me output the information as image files, ASCII or in its own proprietary file format. Now i want to get its information in my GIS ...
5
votes
2answers
1k views

How to extract values from a raster according to Lat and long of the values?

having 12 files with 12 hdrs for one year: these files are raster (projected WGS84,lat long):https://echange-fichiers.inra.fr/get?k=rLSyoavrnifGyH5XrlO samples = 1440 lines ...
5
votes
1answer
2k views

How do I average a set of rasters?

How do I average a set of rasters? I have remotely sensed chlorophyll a rasters for several days and I need to get an average of the days represented as one raster layer. I've got QGIS 18.0 with the ...
5
votes
1answer
252 views

Getting ArcMap to display rasters properly first time

This is a very basic question, but as I've self-taught most of my GIS skills this is still a gap in my knowledge. When I load a .tif raster into ArcMap, most of the time it requires re-exporting to ...
5
votes
1answer
915 views

How to reproject a raster in QGIS?

I am a history teacher and I like to make my own maps (I can never find exactly what I want). I am using QGIS 1.8 and Natural Earth data. I want to reproject their cross-blended hypso rasters into ...
5
votes
1answer
1k views

Why do TIF loaded into PostGIS lose their colormap?

I have successfully loaded a TIF image (using raster2pgsql) into my PostGIS 2.0.1 database. I can load the raster image into QGIS and it displays in the correct space. However, it has lost all colour ...
5
votes
1answer
996 views

Raster data on PostGIS

I need to publish raster and vector data through GeoServer WMS service and I have already chosen PostGIS as datasource to keep vector data. Now I would like to know what is the best practice to work ...
5
votes
1answer
744 views

Raster processing with Python or Arc raster calculator

I have 4-band NAIP imagery that require the following processing steps: Convert to 8 bit unsigned B/W Reverse (note not inverse) the image, so that dark values appear light and light values appear ...
5
votes
2answers
4k views

Reclassify raster values of 9999 to NoData, leaving all other values alone, in ArcGIS Desktop?

I have a raster in ArcGIS which has a number of cells with the values 9999, showing that the data could not be generated for that cell. I want to convert all of these 9999 values to NoData, so that ...
5
votes
2answers
480 views

Adding noise to a raster

I want to add some fine-grained noise to a raster in an automated python process (i.e. I do not want to use Photoshop or GIMP). I looked at PIL, but unless I'm mistaken, it doesn't seem to have any ...
5
votes
3answers
812 views

Why is my mosaic of rasters a big, black rectangle?

I downloaded NED rasters from USGS, and I now want to mosaic all of the rasters into one. I used the Mosaic to New Raster tool, but the output is a big, black rectangle. Am I missing something? I feel ...
4
votes
3answers
563 views

Las to bare-earth DEM: average points spacing and cell size

I am using ArcGIS 10.1 to generate a DEM (bare earth) from LAS dataset. To accomplish this, I use 'Las Dataset to Raster' tool as described in Esri website. I have read here and there in the web that ...
4
votes
1answer
668 views

Continuous color band for a raster legend in QGIS composer legend

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
4
votes
1answer
1k views

How do I fill gaps in a raster to zero value cells?

I am trying to add some forest elevations to a DEM using ArcView. I have converted a polygon feature class of a forest into a raster with the same resolution as my DEM. Then I reclassed the forest ...
4
votes
1answer
371 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 ...
4
votes
1answer
768 views

How to sum or even perform more complex mathematical operations (multiply, add a constant, …) two GDAL grids?

I have two grids with same cell size, same starting position (top left) and same grid size. I want to sum the grids and create a sum grid as an result: e.g. grid A + grid B = grid C How can I ...
4
votes
5answers
933 views

Python loop Polygon to raster not working

I want to convert a large number of different shp polygons to raster in ArcGIS 10.1, using an existing field column "class" for the new raster classes. I am not very fluent in python but I thought ...
4
votes
3answers
845 views

Is there a “Tabulate Area” function in QGIS?

I have a raster file about land usage in northern italy (crops / urban areas ecc..) I have defined some buffer zones around some given points of a vector layer and I'd like to calculate the % of ...
4
votes
1answer
1k views

Multiple Conditional Reclassification - ArcGIS

This is a question out of curiosity rather than a problem as I am not the most experienced with raster datasets and I wonder if there is a better solution to my current approach. I am trying create a ...