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
79 views

What are my options to handle Raster Clipper ERROR 6: ADRG driver doesn't support 4 bands?

I have a tif file which contains 4 bands (RGB + alpha). The clipper does not work and gave me the message below; ERROR 6: ADRG driver doesn't support 4 bands. Must be 3 (rgb) bands. Any patch file ...
2
votes
0answers
97 views

QGIS 2.4 Clip function in Raster layer Style Single band pseudocolour not working?

I've been using QGIS for a while and recently upgraded to 2.4, but now find that displaying raster layers is difficult. In particular, the clip function (tick box bottom left of "Style">"Singleband ...
2
votes
0answers
124 views

Changing grid orientation of a raster

I'm trying to load some XYZ data into a program called OpendTect. However, the orientation of the existing data is different from the grid orientation of the XYZ file. this makes it imposible to load ...
2
votes
0answers
85 views

How to Use GetGeomtype Gdal Python

I am just wondering what I am doing wrong when trying to use the GetGeomType. I need to focus on separating layers from a pix file. Two categories are the bitmaps(which are vectors) and then the ...
2
votes
0answers
296 views

Why do comparisons in QGIS 2.4.0 Raster Calculator return -3.40282e+38 aka no_data?

I tried to use comparisons as conditional statements in QGIS 2.4.0 raster calculator. My statement is: (a < 230) * 230 + (a >= 230) * a The expected result is raster a with all values lower ...
2
votes
0answers
125 views

List of vector to one raster in PostGIS

Hi PostGIS developers! I need to rasterize a part of OSM map by coordinates. I found rather good algorithm, but can’t finish it. I have problems in STEP 3. I described all algorithm here – may be ...
2
votes
0answers
228 views

Changing extent on a raster in QGIS

I rasterized a shape. The resulting raster (lets call it raster 1) has a different extent. I made a virtual raster with the original polygon and I tried to multiply the virtual raster with raster 1 ...
2
votes
0answers
399 views

Failing to merge rasters in QGIS

I am new to QGIS but have some familiarity with other GIS software (namely ArcGIS). I want to merge a number of LiDAR digital elevation model (DEM) tiles (specifically, 30 individual tiles) to ...
2
votes
0answers
50 views

How I can create a raster and have the same overlay as another raster in QGIS 2.4?

I have made a graphical model in QGIS 2.4. I have to create a raster equation to rasterize a polygon shapefile. I want to rasterize my shapefile and I want to ensure that this new raster will ...
2
votes
0answers
68 views

Why does my clipped raster seem to be slightly moved?

I'm having some problems with clipping rasters. I started clipping my raster using extents, but I saw that the clipped raster is different from the original raster. I created a virtual raster to use ...
2
votes
0answers
115 views

How to Interpolate very large datasets in QGIS?

I am working with a very large set of point data, (XYAttribute) which I wish to display as a raster. I've been using Interpolate, this is successful but very slow. I have other programmes that ...
2
votes
0answers
212 views

Using R to subtract the polygon area of one shp file from another

I'm looking to produce a map from two separate maps in R. My Maps files are as follows: ftp://ftp.cpc.ncep.noaa.gov/GIS/us_tempprcpfcst/610prcp_20140822.zip #Map1 ...
2
votes
0answers
55 views

Error in polygonising raster data with QGIS on Mac

I'm using QGis Chugiak on a Mac and I'm trying to converting a raster layer in a vector data by: Raster/Conversion/Polygonize. So, I select the layer needed from the drop-down menu, I give a name to ...
2
votes
0answers
331 views

Problem loading output layer QGIS

Every time I run operations with temporary file output from the graphical modeler, I get the following error message: Oooops! The following output layers could not be open CLIP: ...
2
votes
0answers
63 views

Align & Sum Grids in Python

I have two grids. One, call it A, is 4320x2160 cells and spans the whole globe. The other, call it B is 8640x3432 and spans the circumference of the globe, but is clipped toward mid-latitudes. Both ...
2
votes
0answers
166 views

Is it possible to change the default raster style of newly created rasters in QGIS?

If I do calculations on rasters with the raster calculator or other tools, the resulting rasters displayed in my canvas are always in the same default style (singleband gray, black to white...) so ...
2
votes
0answers
71 views

How to add a TIF raster layer programmatically?

This is my code whenever i try to load .tif image it shows layer is not valid,QgsRasterLayer always return invalid layer (I am using linux 12.04). QString myFileName = ...
2
votes
0answers
181 views

How to group a multiple rasters in MapServer?

I had a map files for each state (raster file) of India. Now I want group all mapfiles to show a single raster or single map file? How I can do in using qgis or any platform?.
2
votes
0answers
80 views

Problem with adding mosaic layer via arcpy

I have a mosaic layer that I want to add to my map in ArcMap. When I add this layer manually (i.e the "Add Data" button), a raster image, a boundary, and a footprint are added to my table of contents. ...
2
votes
0answers
82 views

Choosing the map scale (1:nnn) for the given raster dimension

Starting points: let define the raster image size, say: 1800x900 pixels I want draw my own raster image map - by drawing polygons e.g. like "draw line from pixel with coordinates x100y100 to pixel ...
2
votes
0answers
106 views

R{raster} getValues(): error accessing values of large raster

I am getting the following, while extracting all values with: rs<-getValues(rster) Error in getRasterData(con, offset = offs, region.dim = reg, band = object at data@band): long vectors not ...
2
votes
0answers
135 views

R: Can raster predict function pass to predict.rfsrc (a prediction function in a parallel verion of RandomForest)?

It seems that raster predict function can pass to predict.randomForest by setting the "type='response'". I am using a parallel version of randomForest package called the "randomForestSRC" and I am ...
2
votes
0answers
185 views

FME - Raster Algebra and Multicriteria Analysis

I'm trying to use FME to do some raster algebra for some Multi-Criteria Analysis. At the moment, I have three rasters, all with the same extents and resolution: Slope, Hydro, and Infrastructure Mask. ...
2
votes
0answers
70 views

Is it feasible to reclassify a raster which has been resampled/smoothed for display purposes?

Background: I have a Google Earth KMZ file which shows ground movements after an earthquake, arranged into discrete classes: From the KMZ file I'm able to download the original PNG images, which ...
2
votes
0answers
226 views

Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the ...
2
votes
0answers
62 views

Import raster to postgis and add a foreign key constraint

I use raster2pgsql to import raster files into a table with this command line: C:\Program Files\PostgreSQL\9.3\bin>raster2pgsql -s 4326 -M -F -a c:\temp\mun.tif public.basqui_raster | psql -U ...
2
votes
0answers
72 views

Does converting polygon to raster generate more accurate results from the Zonal Statistics in Arcgis 10.2

I have heard the following for Arcgis 9.1 and wonder whether it is still an issue in Arcgis 10.2. If so, should I convert the polygon into raster before dissolve or convert the dissolved polygon ...
2
votes
0answers
100 views

Comparing/Correlating NDVI Rasters with other index Raster

So, I've created two rasters. One for NDVI and one for another index for surface water from the same orthorectified World-View 2 image. I can visually see how the indexes are inversely proportional. ...
2
votes
0answers
174 views

Raster slightly displaced after exporting from PostGIS database

With the following queries I've exported a raster (GTiff) from my postgis database: 1.Creating a large object: WITH buffer AS ( SELECT id, ST_Buffer(geom,50) AS geom FROM ...
2
votes
0answers
432 views

How to open a raw binary raster in QGIS or R

I have a raw binary raster without a file ending, and no header file. I would like to open this in either QGIS or R and then convert to geotiff, but opening it seems to be a challenge. Here is a ...
2
votes
0answers
124 views

How to normalize multiple PNG rasters with differing colormaps

I have a series of adjacent rasters which comprise a digital elevation model. Unfortunately they have been given to me as PNG files, rather than Esri Grids. The only key that I have to the actual ...
2
votes
0answers
65 views

Define uphill side of roads and buildings

I have a big raster of a mountain region and I need to extract the uphill side of roads and buildings, from these elements to the pick of mountains. For a road I know the uphill side changes in ...
2
votes
0answers
126 views

Create custom raster pyramid using arcpy in ArcGIS 10.2

I have a arcpy script that runs the Point Density tool several times for the same extent, using the same number of neighborhood cells, but with cell size increasing at an multiple of 2 with each pass. ...
2
votes
0answers
178 views

Extra row and column in a raster after GDAL grid import

I'm exporting an ESRI grid to TIFF format and after that I'm reading this exported raster file into SAGA GIS. However when Saga reads this file in there appears to be an additional row and column in ...
2
votes
0answers
179 views

How to display images as cross sections in 3d

I want to display a base map and several vertical cross sections in 3D. The base map image is easy to rectify as a geotiff. How can I also display the cross sections? The cross sections are at ...
2
votes
0answers
124 views

Write raster with its attribute table and symbology

I am classifying lots of rasters and I'd like to automate the legend creation and symbology displaying for easy manipulation. Here is the kind of raster I'm dealing with: library(raster) r <- ...
2
votes
0answers
322 views

How to best intersect vector data with raster data?

I have Open Street Map [OSM] data imported so that I can access the geometry of buildings. I have also loaded SRTM digital height data from NASA from a GeoTIFF raster. I have projected the raster into ...
2
votes
0answers
110 views

Can I clip raster maps by vector boundaries on fly while serving them via geoserver?

I have a lot of georeferenced raster topographic map sheets which contain not only map itself, but some sketch elements like legends, stamps outside the map frame. I want to make seamless coverage ...
2
votes
0answers
57 views

Extract MultiValuesToPoints yields identical value for each band

I'm attempting to extract hyperspectral remote sensing data to a point featureclass using the ExtractMultiValuesToPoints ArcGIS tool. The value of each band (228 bands) should be appended as a field ...
2
votes
0answers
391 views

What are common mistakes when creating mosaic datasets?

I have a set of images taken from a unmanned air vehicle, they have lat/lngs when properties are clicked in windows, but when they are imported into ArcGIS they have no spatial reference or coordinate ...
2
votes
0answers
577 views

Why does Topo to raster tool stall in ArcMap 10.1?

I'm having the following problem - An 8 mile by 4 mile set of 2 foot contours. Whenever I start the topo to raster tool, I get a constant loop of the tool running. And running, and running, and ...
2
votes
0answers
48 views

Is it possible to preview a raster catalogs raster field in a Windows form?

What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster associated ...
2
votes
0answers
175 views

Whats the best way to create bathymetric contour lines?

I have a raster dataset with both Topographic and Bathymetric stored in it. What is the best way to create exact contours of the lake-bed? This becomes tricky when I want to make the contour for depth ...
2
votes
0answers
235 views

How to write script for Line of sight and Viewshed analysis in Global Mapper

I wanted to write script in Global Mapper for Line of Sight and Viewshed analysis. I tried to calculate using Viewshed and Global Mapper Tools but the issue I am facing is that analysis is user ...
2
votes
0answers
52 views

Wrong pixel sums within buffers in Esri ArcGIS 10.0

I have a raster of Zambia, 100m² resolution (about 650mb). Buffers (single) at 1,2,3,4,5,10,15,20,25,30,50 km. I'm running "zonal statistics as table" in the model builder for all buffers (actually, ...
2
votes
0answers
492 views

Finding coordinates from a nested grid as a numpy array

So this is a pretty basic question, but I'm trying to figure it out. I've written a script that allows a user to read in a raster and provide a cell resolution, and outputs the amount of cells ...
2
votes
0answers
370 views

How to add new raster store and publish for ECW fromat in GeoServer 2.4-RC2?

I am using GeoServer 2.4 RC2 and Tomcat7 on windows xp OS. I have extracted the gdal-data.zip (2.4.0) and geoserver-2.4-SNAPSHOT-gdal-plugin into Tomcat 7.0\webapps\geoserver\WEB-INF\lib. Now ...
2
votes
0answers
103 views

Can Esri ASCII Input files be Aligned with Track Heading in QGIS?

Using QGIS to input Esri ASCII data files, I uploaded many small files, each file representing a second of data: 16 sensors X 25 lines. Each file uploaded creates a small rectangle on my larger map ...
2
votes
0answers
64 views

Copying an entire column between layers (tables)

I have a raster layer with probabilities as values and I process them using the Spatial Analyst extension. After the processing the values are modified, however I would like to also have the original ...
2
votes
0answers
906 views

Projecting a Raster from WGS84 to planar Equal Area to Calculate Area: How to Select the Cell Size?

I have a broad question on how to calculate the 'correct' cell size for a raster when analyzing an area not at the equator. My goal is to project a land cover raster provided in GCS WGS84 to an equal ...