PacktLib: Python Geospatial Development

Python Geospatial Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Geo-Spatial Development Using Python

Python

Geo-spatial development

Applications of geo-spatial development

Recent developments

Summary

GIS

Core GIS concepts

GIS data formats

Working with GIS data manually

Summary

Python Libraries for Geo-Spatial Development

Reading and writing geo-spatial data

Dealing with projections

Analyzing and manipulating geo-spatial data

Visualizing geo-spatial data

Summary

Sources of Geo-Spatial Data

Sources of geo-spatial data in vector format

Sources of geo-spatial data in raster format

Sources of other types of geo-spatial data

Summary

Working with Geo-Spatial Data in Python

Prerequisites

Reading and writing geo-spatial data

Changing datums and projections

Representing and storing geo-spatial data

Working with Shapely geometries

Converting and standardizing units of geometry and distance

Exercises

Summary

GIS in the Database

Spatially-enabled databases

Spatial indexes

Open source spatially-enabled databases

Commercial spatially-enabled databases

Recommended best practices

Working with Spatial Data

About DISTAL

Designing and building the database

Downloading the data

The "Select Country" script

The "Select Area" script

The "Show Results" script

Application review and improvements

Summary

Using Python and Mapnik to Generate Maps

Introducing Mapnik

Creating an example map

Mapnik in depth

MapGenerator revisited

Map definition files

Summary

Web Frameworks for Python Geo-Spatial Development

Web application concepts

Protocols

Tools

Summary

Putting it All Together: A Complete Mapping Application

About the ShapeEditor

Designing the application

Prerequisites

The structure of a Django application

Setting up the database

Setting up the GeoDjango project

Setting up the ShapeEditor application

Defining the data models

Playing with the admin system

Summary

ShapeEditor: Implementing List View, Import, and Export

Implementing the "List Shapefiles" view

Importing Shapefiles

Exporting Shapefiles

Summary

ShapeEditor: Selecting and Editing Features

Selecting a feature to edit

Editing features

Adding features

Deleting features

Deleting Shapefiles

Using ShapeEditor

Further improvements and enhancements

Summary

Index