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

  • Mastering PostGIS
  • Dominik Mikiewicz Michal Mackiewicz Tomasz Nycz
  • 158字
  • 2021-07-02 22:52:19

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
主站蜘蛛池模板: 新闻| 韶关市| 曲沃县| 晋城| 临湘市| 改则县| 白城市| 年辖:市辖区| 西平县| 丁青县| 密山市| 新密市| 大悟县| 泌阳县| 荔波县| 神木县| 将乐县| 阳谷县| 象州县| 贞丰县| 彭阳县| 丹凤县| 泸溪县| 永定县| 台北县| 关岭| 犍为县| 高要市| 上饶县| 嘉荫县| 陇南市| 吕梁市| 含山县| 贡嘎县| 新巴尔虎右旗| 出国| 阳东县| 南部县| 阜康市| 垦利县| 南宁市|