Нефть и песок О стали Компрессор - подбор и ошибки Из истории стандартизации резьб Соперник ксерокса - гектограф Новые технологии производства стали Экспорт проволоки из России Прогрессивная технологическая оснастка Цитадель сварки с полувековой историей Упрочнение пружин Способы обогрева Назначение, структура, характеристики анализаторов Промышленные пылесосы Штампованные гайки из пружинной стали Консервация САУ Стандарты и качество Технология производства Водород Выбор материала для крепежных деталей Токарный резец в миниатюре Производство проволоки Адгезия резины к металлокорду Электролитическое фосфатирование проволоки Восстановление корпусных деталей двигателей Новая бескислотная технология производства проката Синие кристаллы Автоклав Нормирование шумов связи Газосварочный аппарат для тугоплавких припоев
Главная --> Промиздат -->  Map principle 

1 2 3 4 5 6 7 8 9 10 11 12 ( 13 ) 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

NOTES

1 GRASS 5.3 users manual, http: grass.itc.it/gdp/online.html

2 FreeGIS Web portal, http: www.freegis.org

3 OpenOSX site, http: openosx.com/products.html

4 Source for Spearfish data set: http: grass.itc.it (section sample data )

5 Description of Spearfish data set, http: grass.itc.it/gdp/tutorial/spearDB.ps.gz

6 PROJ4 Web site, http: www.remotesensing.org/proj/

7 National Atlas of the U.S. download area, http: nationalatlas.gov/atlasftp.html

8 GDAL library, http: www.remotesensing.org/gdal/ OGR library, http: www.remotesensing.org/gdal/ogr/

9 GLCF Maryland LANDSAT data for Spearfish (SD) region, ftp: ftp.glcf.umiacs.umd.edu/glcf/Landsat/WRS2/

p033/r029/

10 Spearfish LANDSAT-TM7 scene, spatial subset, reprojected to UTM/NAD27: http: mpa.itc.it/grasstutor/, data sets, file p033r029 2 0000712 NAD2 7 small.tar.gz



Chapter 4

GRASS DATA MODELS AND DATA EXCHANGE

GRASS stores the georeferenced data as raster, vector and site map layers. In this chapter, we explain the basic properties of GRASS data models and their management. The import and export for the various raster, vector and point data formats is presented, including a number of examples.

4.1. RASTER DATA

Raster data, stored in GRASS as a matrix of values, represent either a continuous field (surface), an image, or geometric objects (points, lines, areas) corresponding to discrete fields (Figure 4.1). For surfaces, the values in the matrix are assigned to the center points of grid cells. They represent the actual measured or computed values (e.g. elevation, slope, temperature). For non-continuous fields (images, geometric objects), the values are assigned to the entire cell area and represent the category number.

4.1.1 GRASS raster data model

A raster map layer is stored in GRASS as a set of files, which include the raster data and their description, organized as follows:

generic matrix of values in a compressed format which depends on the raster data type (integer, floating point or 3D grid);

map header which contains georeferencing data, resolution, number of rows and columns, range of values and histogram;

optional category file which contains text or numeric labels;

optional color table;



optional timestamp;

history file which contains metadata such as the data source or other information provided by the user;

reclass table for a map that is a reclassification of another map.

All this information is stored in the relevant subdirectories in the LOCA-TION/MAPSET directory. In the following sections, we describe how these components are managed and queried.

In GRASS, raster data can be stored as a 2D integer grid, 2D floating point grid (single or double precision), or a 3D floating point grid (single or double precision). The internal GRASS raster data storage format is architecture independent and portable between 32 bit and 64 bit machines. As a result of that a GRASS DATABASE may be accessed in a heterogeneous network file sys-


Figure 4.1. Types of raster data: a) continuous field, b) discrete areas



1 2 3 4 5 6 7 8 9 10 11 12 ( 13 ) 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127