Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Geospatial Analysis with Python

You're reading from  Mastering Geospatial Analysis with Python

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788293334
Pages 440 pages
Edition 1st Edition
Languages
Authors (3):
Silas Toms Silas Toms
Profile icon Silas Toms
Paul Crickard Paul Crickard
Profile icon Paul Crickard
Eric van Rees Eric van Rees
Profile icon Eric van Rees
View More author details

Table of Contents (23) Chapters

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Package Installation and Management 2. Introduction to Geospatial Code Libraries 3. Introduction to Geospatial Databases 4. Data Types, Storage, and Conversion 5. Vector Data Analysis 6. Raster Data Processing 7. Geoprocessing with Geodatabases 8. Automating QGIS Analysis 9. ArcGIS API for Python and ArcGIS Online 10. Geoprocessing with a GPU Database 11. Flask and GeoAlchemy2 12. GeoDjango 13. Geospatial REST API 14. Cloud Geodatabase Analysis and Visualization 15. Automating Cloud Cartography 16. Python Geoprocessing with Hadoop 1. Other Books You May Enjoy Index

Installing and configuring Django and GeoDjango


Django, compared to Flask, is a batteries-included framework. It includes modules that allow for database backend support, without requiring a separate database code package (unlike Flask, which relies on SQLAlchemy). Django also includes an admin panel that allows for easy data editing and management through a web interface. This means fewer modules are installed and more code is included to handle database interactions and web processing.

There are some major differences between Flask and Django. Django separates URLs from views and models in a more structured manner than Flask. Django also uses Python classes for databases tables, but it has built-in database support. For geospatial databases, no extra module is required. Django also supports geometry columns in a wider range of databases, though PostgreSQL and PostGIS are used the most often. 

Like many Python 3 modules, Django development is geared towards Linux development environments...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}