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

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
主站蜘蛛池模板: 桐乡市| 大竹县| 东城区| 贺兰县| 汉阴县| 娱乐| 方山县| 乌恰县| 澄城县| 三穗县| 商城县| 江西省| 阿合奇县| 元阳县| 博兴县| 濉溪县| 房产| 新昌县| 大丰市| 乌恰县| 马鞍山市| 昭苏县| 通州市| 莫力| 黄浦区| 馆陶县| 宜宾市| 准格尔旗| 和平县| 合肥市| 色达县| 柞水县| 深水埗区| 缙云县| 巩义市| 遂溪县| 吴忠市| 丹东市| 广饶县| 九寨沟县| 玛多县|