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

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
主站蜘蛛池模板: 陆良县| 沿河| 三都| 新竹市| 内江市| 齐齐哈尔市| 确山县| 安新县| 济源市| 山阴县| 宾阳县| 绥阳县| 迁西县| 沁源县| 赤峰市| 读书| 葵青区| 雅安市| 泰来县| 紫金县| 泰顺县| 斗六市| 青浦区| 双柏县| 寿阳县| 麻江县| 东台市| 岚皋县| 漠河县| 年辖:市辖区| 石阡县| 琼结县| 乌审旗| 修武县| 峡江县| 河北区| 定日县| 美姑县| 新密市| 太湖县| 天全县|