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

learn more… | top users | synonyms

5
votes
1answer
2k views

Coordinates of upper left corner in the world file?

According to Wikipedia and ESRI last two lines in the world file represent x and y coordinates of center of upper left pixel. Now, if I have a world file like this: 32.0 0.0 0.0 -32.0 691200.0 ...
4
votes
1answer
51 views

Automate Exporting of Rasters Using Renderer in ArcGIS

It is possible to export rasters in ArcMap by right clicking the layer-> Data-> Export: You can then click 'Use Renderer' check box to ensure the image you export uses the current ...
4
votes
3answers
918 views

Converting raster file from float to integer type in ArcGIS for Desktop?

I have a float type raster file (an NDVI made from ERDAS IMAGINE) and would like to convert it to an interger type raster file in order to use Focal Statistics function (Majority). Is there any way to ...
4
votes
5answers
262 views

How to group individual groups of pixels into a single class

I have a raster image with certain pixel groups of equal area. Each group represents a single house. I want all the pixels near a group of houses to have the same pixel value, i.e., I want to name ...
4
votes
2answers
400 views

Converting shapefile to raster: Character attributes

I've got a shapefile that I would like to convert into a raster, but the trick is that the attribute I want a raster version of is character data. I'm familiar with geoprocessing using GDAL (in the ...
4
votes
1answer
822 views

How to extract pixel value counts from a raster in QGIS?

How does one go about obtaining a summary of the counts of cell values within a raster in QGIS? I know QGIS is doing this, in order to provide the summary statistics and histogram in the properties of ...
4
votes
1answer
54k views

What is the difference between Vector and Raster data models? [duplicate]

From: http://support.esri.com/en/knowledgebase/GISDictionary/term/vector%20data%20model vector data model: [data models] A representation of the world using points, lines, and polygons. Vector ...
4
votes
1answer
264 views

How to create cohesive Spatial Pixels from Spatial Points Dataset

I have a Spatial Point DF spo (covering an irregular shaped area of interest). The data are not on a regular grid due to crs transformation. My goal is a raster with predefined resolution and extent ...
4
votes
2answers
1k views

How to get an extent for Raster using python

I have to get an extent of a given raster so that I can save it and use the same to clip another raster with that extracted extent. As of now I am stuck in the extent part. import arcpy from arcpy ...
4
votes
2answers
844 views

Spatial query of raster data

I have population distribution data as a raster layer and exposure contours as vector (polygon) layers. What I'd like to do is use the vector layer to estimate the population indicated from the raster ...
4
votes
2answers
382 views

QGIS Two Raster Data Sets with black line between the two sets where they join?

Where the two Digital Raster Quad sets (topo maps 7.5 Quad) overlap there is a significant thick black line (not a single line but wide and is wider the further south you go on the map). I am looking ...
4
votes
3answers
1k views

How to speed up Postgis raster layer display in QGIS?

i've been importing some digital orthophoto geotif files into postgis 2.0.1 via raster2pgsql tool (i also made 3 levels of an overview table - pyramid). Then i tried to import the layer into qgis via ...
4
votes
1answer
509 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: ...
4
votes
3answers
2k views

Export georeferenced image overlay from KML?

How might one export image(s) from image overlays in a KML file to a standard geo-referenced raster format like geotiff? Use case: NASA's Earth Observatory has a time series of the changing Athabasca ...
4
votes
1answer
2k views

Filtering a raster by pixel cluster size in ArcGIS?

I have a raster image representing islands in a river (see image) created using the following process: 1) Clip a water surface DEM and watershed DEM by a bounding polygon (waters' edge). 2) Subtract ...
3
votes
2answers
121 views

How to automatically calculate maximum cell values contained within polygons?

I've got a dataset made up of a large range of polygons (about 70 or so) which represent structures. I also have raster layers which detail a flood depth across an area. The floods depth raster has a ...
3
votes
3answers
223 views

How can I determine which raster attribute covers the highest area of a polygon?

I'm relatively new to GIS and QGIS but I have a problem that I'm not certain how to solve. I searched here for relevant information but found none. (Or, I used incorrect search terms.) My problem ...
3
votes
3answers
437 views

Scatterplot, correlation of dependence and r-square between two rasters

I have two rasters of the same region and of same resolution and I want to plot in a scatter plot their values and compute the best - fit line with r-square. Any idea how can I do this on Arcmap or ...
3
votes
1answer
632 views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
3
votes
3answers
268 views

Gdal: how to get the max and min altitudes of my topographic raster?

Given a .tiff topographic raster image. How to get the altitudes of the highest and lowest point/pixel ?
3
votes
3answers
400 views

Where to obtain free 15m ASTER image for New Mexico?

I am looking for a free Advanced Spaceborne Thermal Emission and Reflection Radiometer (ASTER) image that will let me to perform NDVI for the pilot crop health/soil moisture that can go as far back ...
3
votes
1answer
705 views

Why is Orthorectify button not active in Image Analysis Windows in ArcGIS10?

I wanted to Ortho rectify GeoEye HR imagery using existing RPC and IFSAR DTM in Image Analysis. According to ArcGIS Resource center ...
3
votes
2answers
464 views

Need to clip raster based on field name in ArcGIS 9.3

Is there a way around for me to batch clip a raster using a field name to create output a raster layer ? Much like using Split tool but it is for a vector. How about that for the raster side ? Going ...
3
votes
4answers
2k views

How to clip raster image by the extent of each row in a shapefile with ArcGIS 9.3

I'm using Python to clip a raster image by each row in a shapefile with ArcGIS 9.3. I am hoping to end up with one raster image for each polygon row, clipped to the extent of the polygon row. ...
2
votes
1answer
103 views

Difference between raster() and readGDAL()?

I am new in working with rasters and after having trouble working with them i'd like to know the difference between those two import functions. for example i did this library(raster) ...
2
votes
1answer
222 views

How to iterate GRASS region definition?

I am using GRASS r.skyview command (v.7, Windows) to determine "urban canyon effect" on pollution due to the presence of buildings. The command nicely works, unfortunately I need to process a very ...
2
votes
1answer
139 views

PostGIS Raster: Outputting raster into GDAL supported file?

I have import a raster into my postGIS database via raster2pgsql. My raster tiled to 100x100. Now I'm trying to export (output) the raster to GDAL supported file (for example: PNG). Following the ...
2
votes
1answer
361 views

Convert multiple Shapefiles in Raster in R(and then plot it)

I'm trying to convert several shapefiles in rasters at the same time. I already was able to read the shapefiles by doing this: library(maptools) shps <- dir(getwd(), "*.shp") for (shp in shps) ...
2
votes
1answer
2k views

Convert 32 bit image to 8 bit image in QGIS

I want to convert my images from 32 bits to 8 bits. I'm using otb to calculate texture and the raster output is on 8 bits, I'm going to use this information as a layer stack for my multispectral image ...
2
votes
0answers
118 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
248 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
876 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
6k 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
1answer
316 views

Changing color of raster images based on their data values - gdal

Let's say I have 1 band raster images with Gray Color Interpretation and I want to change their color based on their data values. Data values -1, will be Blue, -0.5 will be Light Blue, 0 will be ...
1
vote
2answers
152 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
83 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
1k 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
434 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
157 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
474 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
622 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
1answer
219 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
0answers
107 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
129 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
2answers
848 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 ...