Questions tagged [raster]

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

What is raster data?

Raster data consists of spatial features or phenomena that are partitioned into reguar sampling units called "cells" (grid cells) and organized into a Cartesian matrix.

Cell values signify the presence or absence of the categorical phenomena, or the values of continuous phenomena (e.g. topography, temperature, etc.)

Raster data share many characteristics with photographs, as values are often measurements across the surface of the earth. Raster data are common for remote sensed products, where cameras allow capturing gridded data at regular intervals. Raster data are also the most common source of elevation data.

Raster data vs. Vector data:

In the concept of GIS, there are two primary data types:raster and vector. Vector data consists of points, lines and polygons, while raster data consists of a "fishnet overlay" of cells that create association with each other by having similar cell values.

Raster data:

  • Good for complex analysis
  • Efficent for overlays
  • Data structure common for imagery

Vector data:

  • Compact data structure (generally smaller files than raster data)
  • Efficient for topological operations (examining the relationship of two features in close proximity)
  • True representation of shape

Common raster data file formats utilized in GIS:

ADRG - National Geospatial-Intelligence Agency (NGA)'s ARC Digitized Raster Graphics

BIL - Band Interleaved by Line (image format linked with satellite derived imagery)

CADRG - National Geospatial-Intelligence Agency (NGA)'s Compressed ARC Digitised Raster Graphics (nominal compression of 55:1 over ADRG)

CIB - National Geospatial-Intelligence Agency (NGA)'s Controlled Image Base (type of Raster Product Format)

Digital raster graphic (DRG) - digital scan of a paper USGS topographic map

ECRG - National Geospatial-Intelligence Agency (NGA)'s Enhanced Compressed ARC Raster Graphics (Better resolution than CADRG and no color loss)

ECW - Enhanced Compressed Wavelet (from ERDAS). A compressed wavelet format, often lossy.

ESRI GRID - proprietary binary and metadataless ASCII raster formats used by Esri

GeoTIFF - TIFF variant enriched with GIS relevant metadata

IMG - ERDAS IMAGINE image file format

JPEG2000 - Open-source raster format. A compressed format, allows both lossy and lossless compression.

MrSID - Multi-Resolution Seamless Image Database (by Lizardtech). A compressed wavelet format, allows both lossy and lossless compression.

netCDF-CF - netCDF file format with CF medata conventions for earth science data. Binary storage in open format with optional compression. Allows for direct web-access of subsets/aggregations of maps through OPeNDAP protocol.

9939 questions
15
votes
2 answers

Are "gridded data" and "raster data" the same thing?

I'm working on a project that will involve both "raster data" (aerial imagery and DEMs) and "gridded data" which I understand to be other kinds of numerical measurements taken at grid points, and which could be completely non-image related (eg,…
Steve Bennett
  • 5,682
  • 2
  • 44
  • 69
12
votes
5 answers

How to scan large paper maps without a large format scanner?

Is there a way people have used to import a paper map as a raster without using a large format scanner. I do not want to cut my map. I'm wondering how much success people have gotten using things like a regular digital camera, and what software they…
mike
  • 476
  • 1
  • 3
  • 6
6
votes
1 answer

What is the best raster format for large NoData areas?

Is there a good raster format for dealing with a large number of NoData cells? I do a lot of flood modeling and mapping, and recently I've been using rasters to show predicted flood depth and/or elevation for large areas, often for an entire county.…
thwllms
  • 353
  • 1
  • 9
5
votes
5 answers

How to show cell boundaries on a raster?

I am trying to recreate a situation where each cell from a raster dataset has a black border as seen in this image. Any ideas?
Dayne
  • 61
  • 3
4
votes
1 answer

Specifying single cell value of raster

I'm looking to automate a procedure that will change a single cell value in a raster. I have a known x, y and z, and a raster. I need to change the cell value (closest to my x and y value) to the specified z value. I've been doing this using Saga…
user1650538
  • 373
  • 2
  • 10
4
votes
2 answers

How to force extent of multiband image to match the extent of another image?

I have two 8bit unsigned integer 4-band raster images that overlap (Raster 1 and Raster 2). One of the images is slightly smaller than the other (Raster 1). How can I extend the extent of the smaller raster (Raster 1) to match the extent of the…
Aaron
  • 51,658
  • 28
  • 154
  • 317
3
votes
1 answer

Converting raster pixel depth to 1 Bit - Python/QGIS

I want to convert an 8 bit pixel depth raster into 1 bit to reduce the file size. The raster has already been reclassified to store only 0s and 1s but the metadata still shows me 8 bit pixel depth and the file size is unnecessarily big. I know of…
Leon Powałka
  • 1,653
  • 5
  • 18
3
votes
1 answer

Getting azimuthal (direction) values of raster pixels?

I have extracted urban footprints using Landsat ETM+. I am now interested to make rose diagram depicting direction of each pixel to ascertain in which direction urban area has been increased over the study period. Obviously, this need reference…
Rex
  • 1,198
  • 8
  • 24
3
votes
3 answers

Why are .grd files used? (Mining and construction industries)

I'm researching the .grd file format and its not clear to me why they are used, especially regarding the mining and construction industries. I understand they demonstrate changes in elevation or other geographic attributes in a binary format. What…
maxxmill
  • 33
  • 5
3
votes
0 answers

Generating spatially correlated landscapes (2 spatial layers)?

I want to generate artificial landscapes that vary in "tree cover" abundance and distribution. This should be relatively easy to do by varying Hurst exponents (level of aggregation) and adjusting the number of pixels representing tree cover in a…
Stephanie
  • 31
  • 1
3
votes
3 answers

Standard deviation and average over 1000 images with random null values

I have a large collection of raster files that I would like to calculate the standard deviation over. The first issue is that ArcGIS cannot process over 1000 rasters via cell statistics, so I decided to go another route by summing the squared values…
Matthew To
  • 83
  • 1
  • 7
2
votes
2 answers

Where can I get an ocean shaded relief for Central America?

Does anyone know where I can get an ocean shaded relief for the Central American coast?
user2344
  • 21
  • 1
2
votes
0 answers

Raster layer with unique vector for each raster cell

I am working on a WebGIS tool that interprets local geology. From more than 70 asc-files, I would like to create one raster layer that contains in each raster cell the local geology, e.g. as a 2 x n vector with a code for the present formations and…
user19264
  • 21
  • 1
2
votes
0 answers

Automatically discard nodata area of raster

Given a raster with an overly large nodata surround, how can I automatically discard the surround? Said another way: how does one shrink the raster extent to only occupy the area containing values? I know one can interactively draw a box and clip…
matt wilkie
  • 28,176
  • 35
  • 147
  • 280
2
votes
1 answer

Orux Maps raster display

Does anyone know what format of raster images works with Orux Maps? I tried to export maps acc to Orux Maps specs from ArcGIS 10.1 in every possible format (Geotiff, GRID, jpeg2000...), loaded with a .tfw file and it always displayed a colorless…
Adi
  • 21
  • 1
  • 2
1
2 3 4