Chapter 1. Moving Data In and Out of PostGIS
In this chapter, we will cover:
Importing nonspatial tabular data (CSV) using PostGIS functions
Importing nonspatial tabular data (CSV) using GDAL
Importing shapefiles with
shp2pgsql
Importing and exporting data with the
ogr2ogr
GDAL commandHandling batch importing and exporting of datasets
Exporting data to the shapefile with the
pgsql2shp
PostGIS commandImporting OpenStreetMap data with the
osm2pgsql
commandImporting raster data with the
raster2pgsql
PostGIS commandImporting multiple rasters at a time
Exporting rasters with the
gdal_translate
andgdalwarp
GDAL commands