Академический Документы
Профессиональный Документы
Культура Документы
Raster Formats
Note that neither the world file nor the ASCII raster headers have any information about the coordinate
system. You need a .prj file, auxiliary file (.aux.xml) or knowledge of the correct SR.
.prj file:
Projection UTM
Zone 5
Datum NAD83
Spheroid GRS80
Units METERS
Zunits NO
Parameters
Georeferencing can be embedded in the header of a few binary formats, eg, TIFF (which makes it a geotiff),
JPEG 2000, ECW, MrSID.
Check properties of raster in ArcCatalog or use gdalinfo command to see if a raster has georeferencing
associated with it:
>gdalinfo ascii_raster.asc
Driver: AAIGrid/Arc/Info ASCII Grid
Files: ascii_raster.asc
ascii_raster.prj
Size is 407, 404
Coordinate System is:
PROJCS["UTM Zone 5, Northern Hemisphere",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-153],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["METERS",1]]
Origin = (666882.786210629970000,6795699.949423200500000)
Pixel Size = (50.000000000000000,-50.000000000000000)
Corner Coordinates:
Upper Left ( 666882.786, 6795699.949) (149d53'17.59"W, 61d15'35.26"N)
Lower Left ( 666882.786, 6775499.949) (149d54'21.69"W, 61d 4'43.36"N)
Upper Right ( 687232.786, 6795699.949) (149d30'34.38"W, 61d15' 2.06"N)
Lower Right ( 687232.786, 6775499.949) (149d31'46.24"W, 61d 4'10.40"N)
Center ( 677057.786, 6785599.949) (149d42'29.97"W, 61d 9'53.25"N)
Band 1 Block=407x1 Type=Int32, ColorInterp=Undefined
NoData Value=-9999
Georeferencing demo
‘Update georeferencing’ – creates world file, .aux.xml, and internal tags, if applicable.
Update or rectify?
o Transformations
Nominal size of raster is rows * columns * bands * bytes. An 8-bit RGB image measuring 5000 x 5000 is
5,000 (height) x 5,000 (width) x 3 (bands) x 1 (byte) = 75,000,000 bytes = 75 MB
Size of a floating point 32 bit DEM – 30 MB
The same DEM reduced to 16 unsigned – 14.5 MB
Compression
Lossy vs lossless
o Lossy is fine for background images but usually not suitable for data
o Lossless compression does not usually result in much compression unless there are large areas of
NoData or the same value.
Compression Lossless/lossy Notes
LZ77 lossless Used in PNG
PackBits lossless Apple format
LZW lossless Used in GIF
JPEG lossy Choose amount of compression
JPEG 2000 either
Downsampled versions of the original raster that speed up panning and zooming.
At ArcGIS 10, pyramids are stored in .ovr file adjacent to the raster
Can also be internal in JPEG 2000, ECW, MrSID, and TIFF
GDAL overview = ESRI pyramid
Formats
A couple
others
GeoPackage Open Geospatial SQL-Lite based database raster stored in png or jpg tiles.
raster Consortium
GDAL Open XML-based specification for creating raster catalogs, eg., multiple,
Virtual tiled rasters can be viewed and analyzed as a single raster without
Raster loading all of the tiles at once.
(VRT)
GDAL Examples
Internal tiles and pyramids in geotiff
o SPOTchip_0.tif - 2.6 GB
o Step 1 – build internal tiles and compress with JPEG compression
gdal_translate -co TILED=YES -co COMPRESS=JPEG SPOTchip_0.tif SPOTchip_1.tif
o Build overviews
o SPOT5.SDMI.AK.ORTHO.RGB.vrt
4,475 rasters
2.08 TB of data
8.3 GB of overviews
Opens in ArcGIS and QGIS