官术网_书友最值得收藏!

Importing Spatial Data

Learning database tools means working with data, so we need to cover that aspect first. There are many ways of importing data to PgSQL/PostGIS; some are more database-specific, some are PostGIS-specific, and some use external tools. To complicate things a bit more, quite often real-world data import processes are wrapped into programs that perform different tasks and ops in order to maintain the data quality and integrity when importing it. The key though is that even very complex import tools usually use simpler procedures or commands in order to achieve their goals.

Such simple import procedures are described in this chapter. We specifically focus on:

  • Importing flat data through both psql and pgAdmin and extracting spatial information from flat data
  • Importing shape files using shp2pgsql
  • Importing vector data using ogr2ogr
  • Importing vector data using GIS clients
  • Importing OpenStreetMap data
  • Connecting to external data sources with data wrappers
  • Loading rasters using raster2pgsql
  • Importing data with pgrestore
主站蜘蛛池模板: 油尖旺区| 云安县| 墨脱县| 德兴市| 区。| 临安市| 习水县| 垣曲县| 普洱| 南安市| 郯城县| 监利县| 民勤县| 大姚县| 淳化县| 德江县| 临颍县| 大洼县| 岳普湖县| 昌吉市| 太谷县| 巴林右旗| 达尔| 扎赉特旗| 阜城县| 阿坝县| 丹东市| 本溪| 德庆县| 陵川县| 子长县| 开化县| 克拉玛依市| 什邡市| 武川县| 喜德县| 南靖县| 乌苏市| 秦安县| 靖江市| 正安县|