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
1answer
513 views

How to calculate total number of data cells in raster?

I am using ArcGIS 9.3 and python 2.5. My code is shown at the bottom of this post. I have a raster containing fire intensity information at 200m cell resolution. I run the script and the first count ...
2
votes
3answers
1k views

Clip a raster using a shapefile into multiple rasters?

I have a raster file representing a large area and a shapefile of 30 polygons representing watersheds. I would like to clip the raster with the shapefile to create 30 rasters representing each ...
0
votes
1answer
66 views

Attribute names being truncated during extraction

I have 30-40 raster layers and each raster has approximately 40 columns. The attribute/column names are very long, and the beginning of each column name is the same. During the extraction process, ...
1
vote
1answer
220 views

Converting a raster to a polygon

I need to convert a raster into a polygon, and I ran into "Error 000863: Invalid GP Data Type" After searching, I saw this solution online. Basically I needed to convert the float raster to an ...
0
votes
2answers
86 views

Is it possible to alter raster values without Arcpy? [closed]

I'd like to be able to alter raster values, through fairly simple equations, without using the module Arcpy. Is that possible? It seems like gdal, numpy, and rasterlang might make this possible but ...
0
votes
2answers
340 views

Batch merge large numbers of.asc grid files

I have >2.5k .asc grid files which I need to merge into a single overarching dataset. I would like to avoid having to convert them into esri grids first so was looking to use QGIS (v.2.0). I am ...
0
votes
0answers
145 views

recording pixel value with Python script in ArcGIS 10.x

A scripting newbie question... I'd like to write a Python script for ArcGIS 10.x that would record the pixel value for all pixels in a raster. Furthermore, I'd like to only record a given value once ...
2
votes
3answers
793 views

How to get count of non-NA raster cells within polygon using R

I've been running into all sorts of issues using ArcGIS ZonalStats and thought R could be a great way. Saying that I'm fairly new to R, but got a coding background. The situation is that I have ...
1
vote
0answers
86 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
2answers
165 views

QGIS howto create raster from map canvas easily

i have question ho to create raster from QGIS map canvas (what i seen in my qgis) easily. Now i have used print composer and after some luck i get whole dataset into map item, after that i throw lucky ...
1
vote
3answers
165 views

How to create a multi-colored raster image based on long,latt,color information?

I want to create a multi-colored raster layer to overlay on my map in OpenLayers I have the following information in my DataBase: D_Cell_ID Long Lat ColorCode 055113 ...
2
votes
1answer
343 views

Create a subset of a dataset with a specific grid size in ArcGIS using Data Management Tool

I am wondering how you can create a subset of a dataset that is a specific grid size (in pixels) using the Clip tool within the Data Management Tool box for raster data. I was trying to find a hint ...
2
votes
0answers
177 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 ...
1
vote
0answers
282 views

TIN to Raster Tool, output elevations are 3.40282e+038 and -3.40282e+038, tried calculate statistics didn't work

I have an input TIN file that I created using Create TIN. The elevations are all correct. When I convert the TIN to Raster using the tool, my output elevations are 3.40282e+038 and -3.40282e+038 ...
4
votes
1answer
88 views

Cutting Raster using two Polygons as Masks

I am trying to cut this raster in order to drop the outside of the walls white area and the area with the dots. I made one step using as mask the green polygon but i couldn't remove the inside of the ...
1
vote
2answers
354 views

convert data.frame with no lat-long info to a raster

coders, I need to read in a .txt file into R and later do some spatial analyses on it. I’m working in R. 3.0.2 on a Windows server. I load the following libraries (probably more than I need): ...
2
votes
0answers
46 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
49 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 ...
9
votes
4answers
262 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 ...
1
vote
1answer
97 views

Analyzing Raster Data From Vector Layer Buffer

I am using QGIS 2.0. I have satellite images of night-time lights all over earth. I also have a vector shapefile of country boundaries including the largest cities on earth. I want to use buffers to ...
1
vote
1answer
66 views

QGIS Grid Division/Grid Product etc. results are wrong projection

I have several raster grids, all 4320 columns, 2160 rows in WGS 84 projection. They are loaded from ESRI ascii files. When I use the Processing Toolbox to carry out arithmetical transformations on the ...
3
votes
2answers
717 views

Resample, ArcGIS: How do I avoid resample taking into acount NoData values?

I am trying to Resample a raster dataset to match the resolution of another dataset. I have fine resolution data on small islands (surrounded by NoData in the sea). When I re-sample the data to a ...
1
vote
1answer
63 views

How to read the count of the cells with data with non “no-data” values ,in QGis?

How to read the count of the cells with data with non "no-data" values ,in QGis
7
votes
2answers
841 views

What Open Source (command line/API) method is there to orthorectify and georeference an aerial image given telemetry data?

How can I take an image and orthorectify it automatically with open source software? The information associated with each image is: camera specs latitude, longitude, elevation of the camera ...
4
votes
1answer
119 views

How to make raster cells with a certain value stand out in QGIS?

I would like to make my raster cells glow in QGIS. If I have a dataset where only a few pixels has a value, they can be pretty difficult to spot (unless I know where to look). Stretching helps a bit, ...
2
votes
1answer
120 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 ...
1
vote
2answers
26 views

working with hydrography raster the cost array ignores the end of water

We have our maps laid out using hydrography maps from NOAA. We had to run the graphics through several steps to create the water feature raster. I have a process that pulls in that raster, sets a ...
1
vote
2answers
1k views

What to do when raster cell size is larger than zonal vector feature in order to collect statistics?

I am trying to extract the mean cell values for a raster dataset based on a survey grid polygon feature using ArcINFO 10.1. The cell size of the raster dataset is about 4 times the size of the survey ...
7
votes
2answers
231 views

Finding specific pixel values ​​in ArcGIS using Python

I have a raster file containing some integer values. I need to find all pixels whose values are not defined in list like this one: l = [1,2,4,8,16,32,64,128]. Is there any easy way to solve that ...
1
vote
2answers
339 views

Can raster files from ArcGIS for Desktop be visualized in Google Maps?

I have raster files created using ArcGIS (Desktop application). On the other side I develop an application using google maps. Can I visualize those raster files somehow on google maps API?
8
votes
3answers
1k views

calculate area of vegetations in a raster file

How do I calculate area of several vegetation types in a raster (.img file type) image. They are color coded. Am using QGIS (1.8.0) and ERDAS 9.2.
4
votes
1answer
293 views

Create a point at the highest value in a raster ArcGIS 10.1

I am trying to find the location of the highest value pixel in my Direct Solar Radiation Raster. I can see the extent of the data in my raster but don't know where the highest value pertains to. Is ...
2
votes
2answers
1k views

Iterate through multiple Raster files and compute statistics using Zonal Statistics

I have a large number of raster images. What I'd like to do is to compute statistics on different sections of these raster files using a polygon. I think everyone is suggesting Zonal statistics. ...
4
votes
1answer
87 views

Simple way to compare ranges and distributions of species, looking for correlation and differences between ranges

As a biology student just beginning with GIS, wondered if someone could give me an idea of what tools to go about using to compare the range of 3 species that have trophic effects on one another. I ...
1
vote
0answers
103 views

Importing GPS coordinates to extract multiple DN values in ERDAS

I have a set of GPS points (stored as a csv for now) and would like to import these points to ERDAS to find the DN values associated with each location. I am able to import a SHP to ERDAS but the ...
17
votes
2answers
2k views

What resampling technique should be used when projecting aerial photos?

I'm doing some time-intensive projecting of aerial photos, and I'm curious - what resampling technique is best to use on aerial photos? In ArcMap, my options are NEAREST, BILINEAR, CUBIC, and ...
1
vote
1answer
64 views

Should large Basemaps be stored in DBMS via ArcSDE?

As I understand it, the SDE Geodatabase provides the technology for Multiuser databases, Versioning, replication and other Geodatabase functionality. In my organisation, this could be useful for ...
1
vote
3answers
258 views

Converting files for use in fragstats

To use my data in fragstats i need to convert it into a signed integer grid. I have the data in a raster format and have tried 'right click>data>export data> and setting the format to 'Grid' and it ...
3
votes
2answers
342 views

Using python to Raster clip the extent to be the same as the display?

I've been trying to figure this out for almost a week now. I am creating a tool which first needs the raster to be clipped out to the current display. I have tried all sorts of things. Below is the ...
1
vote
1answer
531 views

Convert polygons in shape file to a numpy array?

I have a shape file containing a number of polygons and all attributes being text. I'm trying to import the polygons into numpy as an array where each polygon is represented as unique values. I ...
8
votes
1answer
311 views

Where is this raster offset being introduced in the QGIS processing toolbox?

I'm using the (awesome!) processing toolbox in QGIS 2.0 to reclassify some NoData values in a raster from -9999 to 0, but at some point in the process there's an offset of about 0.2 degrees being ...
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 ...
3
votes
1answer
760 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 ...
0
votes
1answer
45 views

Isolate And Save Raster Features From Existing Multivalue Raster Map

I have Cyprus Corine map with 44 different types of land use. I want to run a raster calculator query or any other way to isolate the areas with codes 10 to 22 and 26 to 34, all other values 1 to 44 ...
0
votes
0answers
90 views

How to split a raster into multiple rasters using QGIS?

I would like to know how to split a raster into multiple rasters in a single operation using QGIS. Although I can clip the raster image, it would be better to split it using a single operation. I am ...
10
votes
2answers
991 views

How can I improve my Georeferencing results?

Background This is my second question related to georeferencing naked raster maps in order to re-visualize them on different coordinate systems and in conjunction with other data layers. The previous ...
0
votes
1answer
176 views

How do I use wildcards to work around the GDAL character limit?

I am attempting to use the 'Merge' & 'Create VRT' tools in QGIS 2.0 on a folder with 3000+ raster tiles in. However whenever I try to perform this operation the following error appears: 'The ...
2
votes
1answer
63 views

How to stop transfer of large raster into arcsde geodatabase

I have just realised that I will not have enough space on my harddrive to accomodate a raster which is being copied into an arcsde geodatadatabase. I am afraid, that if I stop the process in ...
1
vote
1answer
678 views

How can i convert a raster from continuous to discrete?

I have a tiff that is 'invalid' for a lot of tools and will not let me view the attribute table. I think this is because it is "continuous" rather than "discrete". Does anybody know how to convert it ...
2
votes
0answers
226 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 ...