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

learn more… | top users | synonyms

0
votes
1answer
20 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
120 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
233 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
71 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
56 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 ...
1
vote
2answers
784 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
40 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, ...
1
vote
1answer
38 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
79 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
33 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
439 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
53 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
58 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
29 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
23 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
28 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
24 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
17 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 ...
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
668 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
53 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
96 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
36 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
75 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
80 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
46 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
48 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
37 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
0answers
31 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 ...
1
vote
1answer
35 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
231 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 ...
0
votes
1answer
27 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
79 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
134 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
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) ...
2
votes
2answers
42 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
43 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 ...
4
votes
1answer
406 views

QGis Save Raster as Rendered Image

In QGIS 1.9.0 Master, when you right click on a raster in the Layers Panel and select "Save As", you can select the output mode to be "Raw Data" or "Renedered Image". When selecting the Rendered ...
0
votes
0answers
30 views

Landsat Data to Map Slums in India

I am working on a project to answer the following geographic question: How much have slum areas increased in Mumbai, India, since the 1970's (or earliest data). I have downloaded LandSat imagery and ...
2
votes
0answers
104 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 <- ...
1
vote
1answer
58 views

creating a random gdal raster with random predefined values

So far I have developed the below code but for some reason it only works for say one class of landuse instead of two. Would you please tell me where I have gone wrong? Thanks so much import os, ...
10
votes
7answers
6k views

How to get raster image as array in Python with ArcGIS

When starting to work with Python and ArcGIS 9.3, I assumed there would be a simple way to get a raster image into a Python array so that I can manipulate it before storing it back as another raster ...
1
vote
0answers
55 views

How to avoid “Unable to compute a transformation between pixel/line”?

I am trying to re-project from Equi-rectangular to the NASA global EASE grid (Equal Area Scalable Earth) grid 1383 586 with a ~25 km cylindrical projection (ESPG=3410). The file is provided as HDF5. ...
1
vote
0answers
26 views

Where to find QGIS geoprocessing results?

Is there a way to access in QGIS 2.6.1 something like the Geoprocessing Results window found in ArcGIS? The History and Log window in QGIS appears to show the geoprocessing results from SAGA, OTB ...
0
votes
1answer
59 views

Extract values from raster by using polygons

I am working with multiple raster files that cover all of united states. The file format of the rasters - GeoTIFF. I have around 100 geotiffs that I need to process. Then I have another shapefile with ...
4
votes
2answers
283 views

Creating planes, eg roof surfaces, from LiDAR/DSM data

I am capturing the area of roof tops of buildings from a DSM (derived from LiDAR data) which has not been much of a problem. I can then also derive angle, hillshade and aspect but it is only ...
3
votes
2answers
54 views

How to compute layer by layer after stack?

I have some rasters that I want to compute the moving average and then rewrite the rasters again. r1 <- r2 <- r3 <- r4 <- r5 <- r6 <- raster(nrows=10, ncols=10); r1 <- ...