Book Image

Python Geospatial Analysis Cookbook

Book Image

Python Geospatial Analysis Cookbook

Overview of this book

Table of Contents (20 chapters)
Python Geospatial Analysis Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Other Geospatial Python Libraries
Mapping Icon Libraries
Index

Chapter 3. Moving Spatial Data from One Format to Another

In this chapter, we will cover the following topics:

  • Converting a Shapefile to a PostGIS table using ogr2ogr

  • Batch importing a folder of Shapefiles into PostGIS using ogr2ogr

  • Batch exporting a list of tables from PostGIS to Shapefiles

  • Converting an OpenStreetMap (OSM) XML to a Shapefile

  • Converting a Shapefile (vector) to a GeoTiff (raster)

  • Converting a raster (GeoTiff) to a vector (Shapefile) using GDAL

  • Creating a Shapefile from point data stored in Microsoft Excel

  • Converting an ESRI ASCII DEM to an image height map