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

learn more… | top users | synonyms (1)

1
vote
1answer
40 views

Extracting data, not colors, from geotiffs in R

I'm an experienced R user new to GIS, but finding my way. I've recently run into an issue that I haven't been able to find any satisfactory documentation on (but could just be searching poorly). I'm ...
2
votes
1answer
26 views

basic understanding of ArcGIS for Flex not clear on the concept

I am a complete newbie to GIS so please excuse the simple question. I am looking for someone to point me in the right direction to get some answers and/or maybe provide links to where I can find some ...
2
votes
0answers
29 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 ...
1
vote
1answer
18 views

Select value of zero from a raster and assign new value based on the majority of its neighborhood

I have a raster layer has values +1, -1, and zero. Now I want to select those pixels whose value is zero and assign them new values based on the majority of its neighbor 5*5 cells. Is there anyway ...
1
vote
0answers
26 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 ...
3
votes
1answer
38 views

Export Raster Attribute Table using Open Source software

I've got 120 or so geotiff files that I'd like to build and export the raster attribute table to something a little more friendly (e.g. csv). I'm curious if there is an open source way to do this. ...
3
votes
1answer
46 views

Zonal Statistics Tool on raster

I am working on a one-band raster with pixel values from 1 to 7, each representing a land-use class. I also have a grid of polygons and what I need is to obtain the percentage of each class in each ...
2
votes
1answer
30 views

r.recode rules file issue

I have a raster that I want to reclassify and I'm using GRASS r.recode from within QGIS v.2.4.0. The rules file I am using has this content: 0:149:1 150:229:2 230:379:3 380:459:4 460:*:5 The raster ...
2
votes
1answer
28 views

Least cost path with one-off cost for highest elevation

I'm trying to write a script to calculate the least cost path between two cells on a raster. I'm reasonably familiar with the approaches used by tools such as GRASS GIS's r.cost and ArcGIS's ...
3
votes
1answer
60 views

How are raster pixels determined whether they are in or out of a zone?

I just needed to confirm something that I think I already know the answer to because help pages are always unclear. I am running ArcGIS 10.2.2 and often use the Zonal Statistics and Tabulate Area ...
1
vote
1answer
31 views

Raster image does not show up in Data View

I'm a new GIS Student. I created and imported 3 raster files for last week's lab. In our lab this week, we are creating a vector image using the raster data. When I import the 3 raster files, it ...
1
vote
0answers
39 views

Using gdal ReadAsArray or Arcpy.RasterToNumPyArray on python 2.6 32bit without it crashing

I am trying to run ReadAsArray on an entire raster and on a single band, python will crash without an error message when trying to do either. Is there a way I can create a 3d array without having to ...
0
votes
0answers
27 views

Problem with Raster Calculator in Model Builder

I have created a model which repeatedly uses the raster calculator. My problem is that unlike that of the other tools, the output name of the raster calculator does not change. This means that I can ...
2
votes
0answers
31 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
50 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 ...
0
votes
1answer
16 views

Is PostGIS-2.x raster in text format (WKT) only?

I was reading PostGIS FAQ and this tutorial. From all that I can tell, it seems that PostGIS raster is a text format, i.e. WKT or well-known-text. I was wondering if PostGIS raster data are ...
1
vote
0answers
18 views

How to merge elevation from a raster image onto a shape road network with QGIS? [duplicate]

I have a shape file with Stockholms road network and a raster image with elevation data from the same area. Is there any way to merge the two somehow, either by adding the slope direction as ...
3
votes
1answer
66 views

How to perform raster Overlay Analysis using QGIS?

I tried to do a raster Weighted Overlay Suitability Analysis to find the best location for home lands using QGIS. Used layers are: School location (point) Crime locations (point) Road (line) Water ...
4
votes
1answer
51 views

Removing some bands or layers from a tiff using gdal

I have been working on a multiband raster image. It is a pix image. I need to just work on the 26 bands that are raster files and not the 4 bitmaps that are are also included in the pix image. I could ...
3
votes
1answer
40 views

Is there an image editor that can edit GeoTIFFs without affecting their embedded georeferencing?

I know there are a couple workarounds for this but I was hoping a direct solution exists. I am looking for an image editor (like Photoshop but hopefully free software) which can be used to edit ...
3
votes
1answer
25 views

How to clip vector data from raster data?

I have two files: National land cover data (raster) HUC 8 (vector files of watersheds) Both are national scale but the HUC 8 takes up a larger geographic region than the raster set so I want ...
1
vote
1answer
47 views

Reclassification of raster surface using ArcGIS for Desktop?

I have a raster surface with values ranging from 0 -100. I want to create a categorical classification (percentage categories of 5%, e.g. 0-5%, 6-10%...) and reclassify my surface into these ...
0
votes
0answers
29 views

Find correct SRID

I'm learning PostGIS raster, and importing GeoTiff with raster2pgsql. This command line tool states: -s <srid> Set the raster's SRID. Defaults to 0. If SRID not provided or is 0, ...
2
votes
2answers
35 views

Raster clipping without producing no data values

I'm trying to clip a raster in ArcMap using a polygon, and I'm wondering if there's any way to have the resulting raster not include any "no data" values (I apologize for the poor grammar). My process ...
0
votes
0answers
27 views

Setting raster resolution in meters when working in a Geographic Coordinate System

I work in WGS 84 (Geographic Coordinate System) in ArcGIS 10.1. I need to create a raster specifying its cell size in meters, and output it in WGS84. Is it a good solution (towards a less shape/area ...
4
votes
0answers
65 views

How to determine the optimal raster resolution when interpolating a surface from points?

I'm looking for guidance on how to determine the desired output resolution, when interpolating a surface from irregularly-spaced point samples. I have a series of boreholes taken across a city, and ...
1
vote
2answers
49 views

How does Environments > Raster analysis > Cell size works in ArcGIS?

How does Environments > Raster analysis > Cell size works, when creating a raster from a polygon using ArcGIS? I have tried to handle both "Maximum of Inputs" and "Minimum of Inputs" and nothing ...
1
vote
3answers
21 views

Raster statistics

In ArcMap, I have a raster layer representing site locations. I derived elevations values for the sites from a DEM. Now want stats on distribution of elevation values at those sites. How can I do ...
1
vote
2answers
33 views

Troubles exporting raster to tiff in ArcGIS

I am exporting in ArcGIS a raster by doing Data > Export data. But in the Export Raster Data window, I don't have the option for choosing the file format. Am I missing something? Perhaps must the ...
1
vote
2answers
37 views

How to set the cell size of a tiff to 1 meter when working in a Geographic Coordinate System?

I am working in a Geographic coordinate system in ArcGIS, and I need to create TIFFs by exporting rasters. THese .TIF file must have a resolution (cell size, or GSD) of 1 m. Is it possible to set any ...
3
votes
2answers
71 views

How can I extract all distinct values from a PostGIS Raster?

I am working with an integer raster in PostGIS 2.1 and I would like to extract all distinct values in that raster. I was hoping to be able to do something along the lines of the following query, but I ...
1
vote
1answer
39 views

How to convert raster to im object for point process model covariate in R

I am trying to convert a raster object to an .im object for use with a point process model in the spatstat package in R. I begin by creating the raster from a tiff file using the raster() package. No ...
1
vote
0answers
40 views

using r.volume model GRASS plugin in QGIS

I am calculating volume of bathymetric data in the form of a clipped raster in GRASS with a Custom Lambert projection centered around 70degrees North, using the module r.volume in GRASS. Side note: ...
1
vote
0answers
42 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 ...
0
votes
0answers
12 views

What do pixeltypes in PostGIS raster mean?

I'm trying to build a raster in PostGIS from a vector layer and I was curious as to the meaning of pixeltypes in the raster geometry? How does it effect my raster?
1
vote
0answers
26 views

Making grayscale map from multiple band satellite image in ArcGIS for Desktop?

I have satellite multiple band map, I needs to make grayscale map,what should i do? what is the steps? which band and format of input are to be used in this? How to make attribute table of this? In ...
1
vote
1answer
29 views

How to know the GSD (grid size, resolution) in meters of an existing raster when working in Geographic coordinates?

I would need to know the GSD or grid size (resolution), in meters, of a raster created when working in a Geographic coordinate system in ArcGIS. Is is possible? Even better, can I set the Cell size ...
1
vote
1answer
19 views

How to output the number of channels in a .JP2

I am looking for any tool (or python code snippet) that can loop through a file folder of .jp2 images and determine which have 3 bands and which have 4 bands. I am having trouble creating a raster ...
5
votes
3answers
69 views

Create a Raster file out of a ASCII grid file?

im using a special system to do geomagnetic surveys. Its software let me output the information as image files, ASCII or in its own proprietary file format. Now i want to get its information in my GIS ...
1
vote
1answer
29 views

Raster created by python GDAL interpreted upside down

I am using CRS which has axis in left bottom corner. Code below produce Geotiff which is shown allright in QGIS but when I open it in other software it is upside down. Also gdal_calc takes it as ...
1
vote
1answer
47 views

Export Multiple Raster Data with custom Cell Size

I Have 172 Raster, and need to change the cellsize. So I use Export Data from TOC and change the cellsize manually (example I want to change it to "3") I tried using this python script to ...
0
votes
0answers
18 views

Interpolating points to surface not working

I am trying to create a surface from points using IDW interpolation. Have tried both 3D analyst and Spatial Analyst tool with my selected xyz data sheet. It appears to process and I don't get an error ...
2
votes
1answer
60 views

ListRasters based on filename using Arcpy

I am trying to create a python script for ArcMap which calculates the ndvi from two raster images for each RGB/NIR pair in a folder. However, I am unsure how to create two raster lists; one which ...
1
vote
2answers
40 views

Changing raster resolution using ArcGIS for Desktop?

My raster is displaying at a very low resolution so it is almost useless. Last time I used this file it was at a much higher resolution, so I know the information is there. To change it I first ...
1
vote
1answer
28 views

Batch processing of geodatabases - join raster with table

I am unsure how to go about doing this using Python in ArcMap, though I know how to do it by hand. I have geodatabases containing gSSURGO data, one for each state, in their own folders. I have a ...
1
vote
1answer
24 views

Split linear features from non-linear in the same feature class

I have a vector layer (Originally a raster layer) of well sites, cut blocks, and seismic lines all lumped together in the same feature class and no distinguishing attribute between them. I want to ...
1
vote
1answer
40 views

geoserver world image publishing error (georeferenced by ArcMap)

I want to add store - WorldImage in geoserver 2.5, but I still get this error: "Could not list layers for this store, an error occurred retrieving them: Failed to create reader from ...
0
votes
1answer
40 views

Determining the slope of a DEM (SRTM-data) in QGIS

I'm new to QGIS and I have to calculate the slope of a DEM (I use srtm-data). I already detected the geoalgorithms toolbox and I also produced a raster layer with the slope using the tool "slope, ...
1
vote
1answer
36 views

Error importing raster into GRASS plugin in QGIS

I am trying to import a tiff raster file into GRASS however every time I do this the below error message comes up. I am using a custom CRS so I have tried changing it back to the default CRS but still ...
2
votes
1answer
88 views

Dealing with raster: creating it in projected CRS and exporting it in geographic CRS

When creating a raster from a polygon (the CRS of the polygon is a geographic coordinate system), the raster is created in the projected coordinate reference system of the data frame, which is a ...