- Python Geospatial Development(Third Edition)
- Erik Westra
- 594字
- 2021-07-16 10:51:44
GIS data formats
A GIS data format specifies how geospatial data is stored in a file (or multiple files) on disk. The format describes the logical structure used to store geospatial data within the file(s).
A GIS data format will typically support:
- Geospatial data describing geographical features.
- Additional meta-data describing this data, including the datum and projection used, the coordinate system and units that the data is in, the date this file was last updated, and so on.
- Attributes providing additional information about the geographical features that are being described. For example, a city feature may have attributes such as name, population, average temperature, and so on.
- Display information, such as the color or line style to use when a feature is displayed.
There are two main types of GIS data: raster format data and vector format data. Raster formats are generally used to store bitmapped images, such as scanned paper maps or aerial photographs. Vector formats, on the other hand, represent spatial data using points, lines, and polygons. Vector formats are the most common type used by GIS applications as the data is smaller and easier to manipulate.
Some of the more common raster formats include:
- Digital Raster Graphic (DRG): This format is used to store digital scans of paper maps
- Digital Elevation Model (DEM): This is used to record elevation data
- Band Interleaved by Line (BIL), Band Interleaved by Pixel (BIP), Band Sequential (BSQ): These data formats are typically used by remote sensing systems
Some of the more common vector formats include:
- Shapefile: This is an open specification developed by a company called the Environmental Systems Research Institute (ESRI) for storing and exchanging GIS data. A shapefile actually consists of a collection of files all with the same base name, for example,
hawaii.shp
,hawaii.shx
,hawaii.dbf
, and so on. - Simple Features: This is an OpenGIS standard for storing geographical data (points, lines, and polygons) along with associated attributes.
- TIGER/Line: This is a text-based format previously used by the US Census Bureau to describe geographic features such as roads, buildings, rivers, and coastlines. More recent data comes in the Shapefile format, so the TIGER/Line format is only used for earlier Census Bureau datasets.
- Coverage: This is a proprietary data format used by ESRI's ARC/INFO system.
In addition to these "major" data formats, there are also so-called micro-formats, which are often used to represent individual pieces of geospatial data. These are often used to represent shapes within a running program or to transfer shapes from one program to another, but they aren't generally used to store data permanently. As you work with geospatial data, you are likely to encounter the following micro-formats:
- Well-known Text (WKT): This is a simple text-based format for representing a single geographic feature such as a polygon or LineString
- Well-known Binary (WKB): This alternative to WKT uses binary data rather than text to represent a single geographic feature
- GeoJSON: This is an open format for encoding geographic data structures and is based on the JSON data interchange format
- Geography Markup Language (GML): This is an XML-based open standard for exchanging GIS data
Whenever you work with geospatial data, you need to know which format the data is in so that you can extract the information you need from the file(s) and, where necessary, transform the data from one format to another.
- Beginning C++ Game Programming
- 編寫高質量代碼:改善C程序代碼的125個建議
- 嚴密系統設計:方法、趨勢與挑戰
- HTML 5與CSS 3權威指南(第3版·上冊)
- Getting Started with React Native
- Instant Debian:Build a Web Server
- 從零開始學Python網絡爬蟲
- Scratch·愛編程的藝術家
- Python青少年趣味編程
- JavaScript Concurrency
- Koa與Node.js開發實戰
- Swift 2 Design Patterns
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- Go語言編程之旅:一起用Go做項目
- Spark for Data Science