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

learn more… | top users | synonyms

4
votes
0answers
1k views

Loading raster from PostGIS DB into QGIS: succeeded yesterday, fails now [closed]

I have a PostgreSQL(v.9.2)/Postgis(v.2.0.3) database which includes raster layers (added through raster2pgsql). To open them in QGIS (v.1.8.0-Lisboa), the "Add Postgis layer" menu will not work; ...
4
votes
2answers
2k views

How to reclassify a float raster?

I have three rasters which represent distance (in metres) from certain things (bus stops, parks, libraries). I would like to reclassify these rasters so that they get integer values based on the ...
4
votes
1answer
33k 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
217 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
725 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
331 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
1answer
407 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
3k views

How to combine information from raster and vector layers?

in QGIS I have 1 raster-layer (elevation) and 1 vector-layer (administrative units). Now I would like to be able to query one of the administrative units and see the mean and min/max of the elevation ...
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 ...
3
votes
3answers
205 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
3answers
336 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
875 views

How to Calculate Utilization Distribution Overlap Index (UDOI) in ArcGIS Desktop?

I was wondering if any of you happen to have any information on how to calculate the Utilization Distribution Overlap Index (UDOI) in ArcGIS 10? If I understand it correctly the UDOI takes two kernel ...
3
votes
3answers
929 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 ...
3
votes
1answer
546 views

Raster data array output flipped on x-axis using python/gdal?

I'm trying to create a raster using the python gdal libraries and I've gotten to the point where data is being output, but the output data is flipped on the origin point's x-axis. I know I must be ...
3
votes
1answer
1k views

Conditional reclassification of a raster

I am attempting to do a conditional reclassification of an NLCD land-use raster. I specifically want to reclassify all developed areas (classifications 22,23,24) that are near a road (classification ...
3
votes
2answers
411 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
1k 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
150 views

How to create a catchment from a point using a DTM raster in QGIS?

I need to find a better way to delineate a catchment from a given point on a watercourse using a DTM - currently I am either using FEH, or if the catchment is too small using contours to draw ...
2
votes
1answer
338 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 ...
2
votes
1answer
170 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
106 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
258 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
0answers
104 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
212 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
777 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
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, ...
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
93 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
70 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
1answer
148 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
367 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
533 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
81 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
64 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 ...
0
votes
2answers
320 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: ...
9
votes
4answers
241 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
648 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
2answers
1k views

PostGIS raster value of a lat/lon point

I have a tiff raster in my PostGIS 2.0 database. I want to get the value of the raster at a specified lat/lon point. I have: postgresql-9.1 postgis-2.0-svn with raster support a raster imported ...
8
votes
1answer
537 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
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
3answers
800 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
835 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
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
220 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
278 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
423 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
903 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 ...