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
701 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 ...
2
votes
2answers
204 views

how to aggregate raster values for each grid in a fishnet-like map

here is my problem: I have a raster layer containing the elevation info. and another gridded layer (shapefile type). What I want to do is to calculate the mean elevation within each grid to have a ...
6
votes
2answers
807 views

Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new ...
5
votes
3answers
680 views

Is it possible, in QGIS, to create buffers with a set radius, but with individual values taken from the attribute table?

I am looking to create an output that consists of an 11KM buffer around a number of discrete points, where the buffer has a value defined by a column in the data sets attribute table. Is this ...
3
votes
1answer
403 views

How to reproject a raster to Winkel Tripel projection?

I'm trying to project a raster map (in ASCII grid format) from longlat to the Winkel Tripel projection. But I'm running into errors, for instance gdalwarp won't accept the proj-string. $ gdalwarp ...
2
votes
0answers
172 views

Overlay Shapefile onto Geotiff

I have a Geotiff map and I want to overlay a Shapefile onto it. Ideally I want to specify a 'nice' style for the polygons e.g. have them opaque (for now all polygons should be the same). I want to ...
3
votes
1answer
703 views

raster2pgsql: Strange error when creating a table

Hi GIS Stackexchange people, When I try to load a asc file into my psql setup, I get a strange error message. I have created the sql input file via raster2pgsql -s 4236 -I -C -M gis_data.asc -F ...
3
votes
0answers
969 views

How to serve OpenStreetMap Tiles locally using ArcGIS Server 10?

We want to serve OpenStreetMap Tiles locally using ArcGis Server 10 to use as base maps in our ESRI Silverlight and Flex GIS clients. We've downloaded our regions OSM file and created PNGs using ...
16
votes
1answer
183 views

Can we create views over a raster table in Postgis2.0?

Is it possible to create PostgreSQL views over a table that contains raster data? I have succeeded in creating the view but the entry in raster_columns is not correct (all the raster info is ...
3
votes
1answer
560 views

Qgis problem clipping a raster .asc file, the output is unreadable

I am currently using QGIS (1.8.0) to prepare files for use in MaxEnt to predict species distribution in a new territory in Argentina. I need to a) cut the raster files (bioclim, and others) to a ...
2
votes
1answer
958 views

How to change 2 rasters to have the same dimension?

I am new in Quantum Gis 1.8 and have the following problem. I have extracted two raster files(land_cover.asc and soil.asc) using a polygon of my study area (area.shp) Apparently the raster dimensions ...
5
votes
1answer
2k views

Exporting map to jpg (multiple times with python)?

I set symbology and exported each raster in my mxd (one by one) to jpg file. My script is ok and it works (it is shown at the bottom). The question is: how can I customly set my legend? Now I have ...
3
votes
2answers
1k views

Why is Raster Layer not visible?

I have a raster dataset that is not visible in Data View, but it is listed in the Table of Contents. I have tried viewing it in ArcCatalog but it is not visible there either. Is there something I ...
3
votes
1answer
90 views

How to display the label with “Identify Features” in QGis?

I have been struggling for one hour with this simple problem : I have a raster layer. I would like to display the label and not only the band value when I use the "Identify Features" button. Is it ...
7
votes
2answers
385 views

Using ArcGIS to filter cells where 7 or 8 of the neighbors are different

I have land cover data that I would like to clean using some generalization tools. Majority filter does almost exactly what I want, but is missing one key option. Majority filter allows you to change ...
7
votes
1answer
1k views

How to keep spatial reference using arcpy.RasterToNumPyArray?

I am using ArcGIS 10.1, and want to create a new raster based on two preexisting rasters. The RasterToNumPyArray has a good example which I want to adapt. import arcpy import numpy myArray = ...
13
votes
3answers
3k views

Writing numpy array to raster file

I'm new to GIS, and I'm lost with something I feel ought to be relatively simple. I have some code that converts infrared images of Mars into thermal inertia maps, which are then stored as 2D numpy ...
4
votes
1answer
886 views

Getting a constant background color for transparency

I am creating a series of tif files at 1:10k scale over a vast area (760 tiles) using arcpy.mapping.ExportToTIFF and then stitch them together to create a single ecw. The output looks ok but when I ...
3
votes
2answers
1k views

raster2pgsql part of PostGIS?

Hi GIS Stackoverflow people, I wanted to use the PostGIS functionality raster2pgsql, but I had to discover that the Python function was not installed with my PostGIS installation. Do you know if ...
1
vote
1answer
755 views

How to merge different classes/clusters in one single raster in arcgis 9.3?

I've created a signature file with 8 clusters and performed an unsupervised classification. Later I have grouped values (spatial) classes together to form 4 classes I needed (in symbology) but that ...
2
votes
2answers
2k views

How to classify/style rasters correctly?

I am using a GeoTiff raster data and trying to classify it. I was wondering what are the techniques that I can use in QGIS to do this? The raster I have looks like but I tried the reclassify tool ...
3
votes
2answers
4k views

How do you use GIS to detect percentage of Land Use Change

I am a student in GIS I have a dissertation about land use change. I have questions about using ArcMap 10 for this aim, how can using GIS to detect the percentage of land use change. For example we ...
2
votes
1answer
103 views

how do I select more than one features from raster attribute table

for ex: "lc_2001" = 21, 22, 23, 24 AND "lc_2006" = 11, 31, 41, 51
3
votes
3answers
2k views

How to sum raster image values with vector overlay

I'm new to this and haven't been able to figure out how to do this on my own. Here's what I want to do ... I have two files: a raster image of land use data and a vector-based shapefile of my ...
1
vote
0answers
457 views

How to reproject a raster in QGIS? [closed]

I wanted to reproject raster file from UTM to decimal degree in QGIS version 1.7.1 or 1.8.0.. I could reproject one raster file before in QGIS Version 1.8.0. I have tried again, but now we cannot ...
5
votes
1answer
953 views

What is the best practice for reading data from a raster band with Java and GDAL?

After using GDAL with Python for a year or so now, I'm getting back into Java and trying to figure out how to use GDAL with it. I am wondering if anyone has had experience with reading data from a ...
1
vote
0answers
117 views

Raster display for topographic map

I'm trying to see how good a custom topographic map could be using only free data For the moment I'm just playing with the data so of course the colours are not pretty. I did some classification and ...
0
votes
1answer
202 views

Setting projection to a geotiff file when it's shown as Unknown

I have a geotiff file that has no CRS in the metadata but I know that the CRS of the raster is WGS 84 UTM 22 N. How can I modify the geotiff file to have the CRS WGS 84 UTM 22 N in the metadata. ...
1
vote
0answers
73 views

Create 6 band IMG file with GDAL out of two JPG files, one with WorldFile coordinates

I have two JPG files 1 ortomap: http://imageshack.us/photo/my-images/703/ortofoto1.jpg/ with WorldFile: 0.683772574816354 0.000000000000000 0.000000000000000 -0.683739485024190 ...
1
vote
1answer
333 views

Georeference Raster File with WorldFile into an aerial photo using GDAL [duplicate]

Possible Duplicate: How can I transform a georeferenced JPG to a georeferenced TIF? UPDATE:Corrected link I must note that I am new to GIS so pleas be understanding. PROBLEM: I have a ...
7
votes
1answer
530 views

How to view a 155 MB raster stored in PostGIS?

I am using the following command to load a raster into a postgres database: raster2pgsql -I -C -e -Y -F -s 3086 -I -C -M myraster.tif myraster -F -t 30x30 | psql -U postgres -d database -h localhost ...
3
votes
1answer
174 views

Probability distribution from list of rasters

I have 100s (exactly 224) of wind distribution rasters. I want to create a probability distribution raster of wind speed using all these rasters, so we can predict the possible wind speed in any ...
6
votes
3answers
1k views

How to display row and column indexes for an image in ArcGIS?

I have been struggling with how to find the row number and column number for particular points in any raster map. My raster details: columns and rows: 720 360 cell size (0.5, 0.5) How can I ...
4
votes
2answers
352 views

Is there a way to load a kml raster super-overlay in QGIS?

I have created a set of tiled rasters as a super-overlay in Google Earth, and it performs remarkably well. Is there some way to load a super-overlay as a layer in QGIS? I am wondering if this could be ...
5
votes
3answers
331 views

Create Zonal Grid in R

Suppose I have a n*n raster, and I want to create k square blocks (k can be divided exactly by n*n ) for zonal analysis: for example, when n = 4 and k = 4 a 4*4 raster is create with value 1 1 2 2 ...
0
votes
1answer
203 views

PostGIS raster support

I have the following requirements to manage raster data 1) Convert raster-maps from BSB format to PNG or GeoTIFF 2) Cut the borders of the map 3) Merge individual maps to form a contiguous coverage ...
1
vote
0answers
785 views

Raster grid for zonal statistics in R

I have two raster layer, the first one r is my zonal mask as a raster grid, and I created as: ext <-extent(Yraster) r <- raster(nrows=32,ncols=32,ext) r[] <-(1:ncell(r)) and project it ...
2
votes
1answer
181 views

How extract data from a SNODAS file

I'm trying to extract data from a raster file from "Snow Data Assimilation System (SNODAS)" and convert it to a MMQGIS (plugin) grid layer (Hexagon) with QGIS. This raster file stores the snow depth ...
4
votes
1answer
423 views

How to start from scanned maps in qgis

What I have: A large TIFF covering parts of several contiguous sheets of the British OS 6 inch first edition. It has no georeferencing. It's just a series of scans which someone has stitched ...
5
votes
2answers
941 views

How to enclose clustered points with polygon?

I have a raster with forest (1), no forest (2) data. "1" is represent single/few trees and there is gaps between them. I want to create a polygon around these trees to a forest map. It is not a dense ...
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. ...
6
votes
1answer
164 views

Is there a difference between projecting shapefiles then rasterizing & rasterizing shapefiles then projecting?

I currently have a project where I rasterize shapefiles into simple presence/absence (1 & 0) rasters and then add each one to a running total to create a total richness raster at the end. The ...
0
votes
0answers
198 views

Calculate optimal paths between different points

How can I calculate all the possible paths between a group of points, taking into consideration the SRTM and the Slope ? I am trying to do this in ArcGIS, my dataset is a group of points (shape ...
1
vote
1answer
169 views

gdal_rasterize -at function still won't capture covered pixels properly

I'm currently using the gdal_rasterize tool in bash. My code looks like this: gdal_rasterize -l $(basename $file .shp) -burn 1 -a_nodata 0 -te -180 -90 180 90 -tr 0.1 0.01 -at -ot Byte $file ...
2
votes
1answer
158 views

How to rename rasters in directory based on field value of their centroid feature class in ArcGis?

I have a lot of rasters named like r001.tif, r002.tif and so on. There is a point shapefile with centroids of these rasters and their real name in the attribute table. I'm looking for a way or some ...
0
votes
2answers
291 views

Detect whether there is a spatial polygon in a spatial extent

Given a spatial extent (for example cbind(c(0,0),c(10,10)),I want to see whether there is a part of a SpatialPolygons falls in this extent? How can I do this? Thank you very much!
6
votes
3answers
2k views

Loading geotiffs into PostGIS using raster2pgsql

I have an issue with loading some Ordnance Survey raster data into PostGIS. I have been using the following raster2pgsql command to load a tif that I have placed in my C:\Program ...
4
votes
2answers
466 views

focal statistics with variable radius

is there an easy way to do focal statistics on a raster, with a variable radius for the neighbourhood to be searched? As in: that search radius would be stored in another raster? i tried something ...
5
votes
7answers
4k views

How can I align two non-coincident equi-resolution raster grids?

I have two rasters: a digital elevation model (DEM) and a Landsat band. The grid resolution of both is 30 m, but the grids are not coincident (see image: the dark raster on top is the DEM; the light ...
10
votes
2answers
262 views

Count raster value in a bounding box (spatial extent)

I have simple question: given a bounding box, how can I count the number of specific values (say, I am interested in the number of value == 1 ) in a raster in 1) arcpy, or 2) raster package in R?