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
2answers
507 views

In ArcGIS 9.3, how do I eliminate the slivers of missing data between polygons?

I am editing a single-band .tiff file in ArcGIS 9.3. I started with an image that I had to georeference, but unfortunately, the image had these little slivers of missing data between the data cells. ...
0
votes
0answers
12 views

RuntimeError: ERROR 010240: Could not save raster dataset to G:\GHY_568\project\FlowDir_beth1 with output format GRID

import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension("Spatial") env.workspace = r"G:\GHY_568\project" #mystery_creek = r"G:\GHY_568\project\Mystery_Creek.shp" ...
0
votes
1answer
17 views

How to specify raster name and how to designate the saved name of a created raster

import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension("Spatial") env.workspace = r"G:\GHY_568\project" mystery_creek = r"G:\GHY_568\project\Mystery_Creek.shp" ...
2
votes
1answer
115 views

How to display raster attributes by default in ArcGIS for Desktop?

I have a 4-bit thematic raster image with a color map from white to dark blue (Figure 1). The values 1 - 6 represent tree canopy cover at various breakpoints. I also created a raster attribute table ...
0
votes
0answers
21 views

How to calculate probability of binary outputs of n iterations without saving each individual layer?

I am trying to calculate mean raster of n runs in model builder each run creates a binary raster which represnt whether a flood got to a pixel or not i want to calculate the probability for flood in ...
1
vote
2answers
117 views

Copy Jp2000 from Mosiac Dataset turns white

I am trying to copy a raster to jp2000 from another File Geodatabase that I created as a Mosaic Dataset. It came out as a whiteout in the middle. I don't know what it cause this. See screenshot : ...
0
votes
2answers
226 views

What causes ERROR 000732 from MosaicToNewRaster?

I'm trying to run the MosaicToNewRaster tool as part of a python script. This is my code: input_rasters = arcpy.GetParameterAsText(5), arcpy.GetParameterAsText(6), arcpy.GetParameterAsText(7), ...
1
vote
0answers
55 views

Add Rasters to a new GDB/Mosaic Dataset in ArcGIS ModelBuilder

I'm attempting to add rasters to a new mosaic dataset in a new file geodatabase, all in the same model. However, the Add Rasters To Mosaic Dataset tool does not recognize the NewMosaicDataset or the ...
2
votes
2answers
51 views

Extract from raster by tightest rectangle mask without Nodata

I'm using ArcMap 10.2.2 and I have a raster that has Nodata around the edges. How can I extract the tightest rectangle from this raster that does not include Nodata? The screenshot may help ...
2
votes
1answer
367 views

USGS GeoTiff extent via GDAL

I have 2006 land cover GeoTiff from the USGS site (for a county in VA, USA). The projection is Albers Conical Equal Area Units. The download came with an HTML metadata file that tells me the geo ...
1
vote
2answers
745 views

GDAL/proj4 equirectangular projection coordinate system units assumed by OGRSpatialReference and GDALDataset::GetGeoTransform()?

How do I configure my OGRSpatialReference object to specify an equirectangular projection system http://en.wikipedia.org/wiki/Equirectangular_projection where the affine geo-transform matrix (provided ...
2
votes
0answers
33 views

Different obs. when I extract raster values from polygons in R

I have two raster layers with the same projection, extent and resolution: r1: class : RasterLayer dimensions : 33434, 89431, 2990036054 (nrow, ncol, ncell) resolution : 0.001447053, ...
2
votes
1answer
374 views

How can I get my georeferenced TIF file to rectify?

I have added a TIF file (size 1,433 KB) in ArcGIS 10.2.2 and defined numerous georeferencing points, with the aim of creating a raster file for conversion to polygons. However, on clicking the ...
1
vote
1answer
36 views

Resolution problem in QGIS raster

I have a raster file I need to clip. I created a virtual raster which I used to "copy" the extent from in QGIS raster calculator. As a result, I get the raster with the extent I need, but pixel size ...
2
votes
0answers
67 views

Large Rasters in ArcGIS & MapInfo

My geoscientists like to work with MapInfo and ArcGIS. I require a common 1 band raster format that can hold obscene amounts of data without damaging the data (compression). I have tried .tif and ...
0
votes
0answers
24 views

Extract value from Raster data by elevation

I have one raster data (AVHRR NDVI value) and one dtm data (elevation value). Is there anyway to know the NDVI value by 50m interval elevation? For example, I wanna know what is the NDVI value for ...
2
votes
3answers
423 views

Raster map in different zone () than region ()

I am new to QGIS (just installed QGIS 2.0.1) and am having problems running any spatial analysis tools. I followed the instructions on how to call GRASS tools into QGIS, but when I try to run the ...
2
votes
1answer
44 views

How to change no data value from -32768 to -3.40282e+38 in raster in QGIS?

I am trying to change the null values of a raster from -32768 to -3.40282e+38 in QGIS. I tried using warp tool setting the no data values to my desired number but it did not change it. Then I used ...
0
votes
0answers
22 views

Raster to point: 10 rows in the attribute table per 1 point

I have just made Raster to Point operation. In the output, if I select a point on the map, in the attribute table appear I have just selected 10 rows. How is it possible? Where, in the Raster to Point ...
2
votes
2answers
47 views

Mosaic to new raster: same number of bands issue

I am trying to mosaic 32 raster files (min value 0, max value 13) into one raster file so that I can later use this new raster to extract multiple values to points. However, when I try and mosaic the ...
1
vote
2answers
27 views

Include non-raster object in overlay function in R

I have two raster objects and I would like to calculate values of the first conditional on values in the second. I am currently using the overlay function, but unfortunately I can't seem to pass non ...
0
votes
0answers
19 views

PostGis - ST_AsRaster returning raster smaller than reference raster

I am trying to convert a point geometry to a raster using a reference raster: SELECT ST_AsRaster(my_points, ref_raster) FROM my_table This works fine except it is only returning a subset of the ...
0
votes
1answer
23 views

Python error in polygon to raster conversion

I want to convert polygon to raster. I converted the dbf file ( "cntymam") to table view to make use in the conversion. I am getting a error that the parameters are not called and also with the grid ...
0
votes
1answer
22 views

Combining continuous raster and point in ArcGIS for Desktop?

I have a layer that's a topographic map of a mountain range, represented by a continuous raster. I have another layer that is just points, representing where the summits are. How can I use the ...
2
votes
0answers
16 views

Raster Copy: Output bit size does not match specified value

Using ArcGIS (Map/Catalog) 10.0. I have a raster file (kdens) developed from point data using the kernel density tool. It is 32-bit float file format. I need this file converted to a polygon ...
0
votes
0answers
8 views

Use of OTB BandmathX

I have a couple of three-band satellite images that I want to apply an expression to and get a three-band output. The expression is of a simple form: output_pixel= (input_pixel*d^2)/cos e After ...
2
votes
2answers
1k views

How to calculate volume from a raster file?

I have a raster file containing the depth of water. I need to find the volume of water using that raster file. I need to find the area of each cell and multiply with the depth. How can I do it in ...
1
vote
1answer
638 views

Why does CON statement give ERROR 010240: Could not save raster dataset to (value) with output format GRID?

I am receiving the following error when trying to run the following code: import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension = "Spatial" env.workspace = ...
0
votes
0answers
44 views

How to set raster projection in R

I am new to R and grib files. library(raster) I have a "grd" file in and I am trying to set the coordinates to polar stereographic projection r <- raster("p190001.grd") # class : ...
4
votes
2answers
80 views

Calculating average raster to point distances within census tracts

I have some experience using ArcGIS, but mostly with the field calculator in the attribute table/spatial joins, so I apologize if I say something that doesn't make sense. To provide a bit of ...
2
votes
0answers
32 views

ArcGIS 10 restricted WEIGHTED Flow Accumulation

I have a question very similar to one asked by wxfox4god on 12th June 2013 ("Arcmap 10 restrict Flow Accumulation") that was answered by whuber. (I have had to post it as a new question as I do not ...
0
votes
0answers
70 views

Merging rasters which overlap using ArcGIS for Desktop?

I need to merge two rasters which overlap, both indicate distance values. I need the output of the merge to result in the shorter/lower distance value. I am using ArcGIS 10.1. I hope it is more ...
0
votes
2answers
70 views

QGIS from console: raster algebra

I'm newbie to programming in pyqgis. I need to perform a simple "GeoTiff * A" type of calculation(where A is a constant), but I am struggling to do so. I tried ...
1
vote
2answers
42 views

Can the maximum and minimum values of raster display be changed automatically when changing the data frame extents?

I have a raster layer in arcgis which covers a large surface area. I would like to be able to zoom into specific areas of this raster and have it display only the range of values in the area I have ...
0
votes
0answers
39 views

How to resample a raster by defined value?

I have got an Euclidean Distance Raster and I need to resample it. I work for a security company and I need a map with the camera resolution (pix/m) in every point of the map covered by a camera. What ...
0
votes
0answers
32 views

How to create an attribute table from a Euclidean Distance Raster?

I am trying to create an attribute table from an Euclidean Distance Raster. I get the following error: "error 000423: Only single band integer dataset is a valid input". The ED Raster has actually the ...
2
votes
1answer
771 views

Problem in importing raster data from PostGIS to Geoserver

I am using Opengeo Suite 3.0.2, PostGIS 2.0.3 and PostgreSQl 9.2. I am trying to import raster data from PostGIS to Geoserver but facing an error. I follow this tutorial link to import the raster ...
2
votes
0answers
29 views

How to create raster from table containing cell values in PostGIS?

I am having a table with integer values. These values are in between 0 and 2. I want to create a raster out of that table with integers as cell values. Or else how to create polygons out of that table ...
2
votes
1answer
210 views

Spectral profile (z-profile) viewer for ArcGIS

I have multilayer raster with 6 bands. Is there a way to select one specific pixel and to display the z profile (the values of each band) for this pixel as a chart or table? I am looking for a tool ...
1
vote
1answer
26 views

QGIS clipper problem when mask used

I have encountered a problem with the raster>extraction>clipper function in QGIS when a mask layer is used. In the image below the diagram on the left shows part of the original raster. The diagram ...
4
votes
2answers
214 views

How to access raster NoData value?

I am trying to programmatically access the NoData value in a raster dataset as shown in the screenshot. Two tools that come to mind to describe raster properties do not seem to be able to describe ...
1
vote
2answers
752 views

Calculate area covered by a particular raster layer within polygons in QGIS

I am trying to extract information on vegetation cover within a set radius of point locations (my sites). I have succeeded in creating a new vector layer of circles with a 5 km radius around my sites. ...
0
votes
1answer
24 views

QGIS: Delete information from rasters and shapes that are out of country borders [duplicate]

I am trying to make topographic maps for some countries and show only those countries. I already created reliefs from SRTM-data and imported lake and river data from Natural Earth. Now I want to ...
2
votes
1answer
73 views

(How) can I write string data to a raster with Python/GDAL?

In Python, I have a NumPy array of string values (categories of some variable) that I'd like to write to a raster file (.tif or .img) using GDAL. The impression I get is that it's not possible to ...
0
votes
2answers
123 views

How do I mask a raster in TileMill?

I've tried just about every single TileMill compositing operation on the vector and raster layers in question, and I have to admit that I can't figure it out: How the heck can I mask a raster with a ...
0
votes
0answers
12 views

Panel plotting of raster images

I have never used panel plotting for raster images in TIFF format. Any ideas what would be a better module/library to panel plot raster images with examples?
0
votes
1answer
35 views

Rasterize gives weird image

ro<-readShapeSpatial("roads") ra<-readShapeSpatial("railways") co<-readShapeSpatial("LIE_adm0") u<-union(union(extent(ro),extent(ra)),extent(co)) rast<-raster(u,res=1) ...
6
votes
1answer
478 views

Histogram Matching Python

I am trying to do histogram matching using Python to improve the mosaicking process of multiple overlapping rasters. I am basing my code on that found at: ...
0
votes
2answers
35 views

Combine multiple binary rasters to a single raster

I have 5 different species richness maps which I am trying to join in order to show one cohesive map. Each species raster layer has values of 1 and 0; 1 if the species lives there and 0 if the species ...
1
vote
1answer
38 views

Determine value nearest to given coordinates [duplicate]

I'm new to GIS and have a very simple question. I have a raster that specifies the geographical distribution of temperature. I would like to find the temperature that is closest to a particular set of ...