SlideShare a Scribd company logo
1 of 28
Download to read offline
Python and GIS
          Nobody expects Python in maps!

                       Andrii V. Mishkovskyi


                           January 30, 2010


Andrii V. Mishkovskyi ()       Python and GIS   January 30, 2010   1 / 28
GIS stands for...


        Geographic
        Information
        System




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   2 / 28
Maps and map services


        Tiles
        Routing
        Geocoding
        Staticmaps




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   3 / 28
Geolocation



        GPS Navigators
        Geotagging (Flickr, Twitter, GeoRSS)




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   4 / 28
And also


        Historical mapping
        Geocaching
        Augmented reality




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   5 / 28
GIS involves...


        Math (analytic geometry)
        Computer graphics (rendering)
        Databases (GiST, OpenGIS spec)




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   6 / 28
Python advantages


        Clean language
        Lots of existing modules
        Easy interaction with C libraries




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   7 / 28
Shapely

        Wrapper over GEOS library
        Basic geometries
        Geometry collections
        Functions for all geometry operations
        (intersection, equality, etc.)



Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   8 / 28
NumPy


        Lots of array operations
        Best way of converting binary data
        For example, hillshading or heatmaps




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   10 / 28
PyProj


        Pyrex wrapper over PROJ.4
        Forward and reverse projections
        Geodetic projections




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   12 / 28
Mapnik

        Established library for making beautiful
        maps
        Written in C++
        Boost.Python interface
        Used by Flickr, OpenStreetMap,
        CloudMade and many more


Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   16 / 28
SQLAlchemy


        Best ORM ever
        Access to almost any existing RDBMS
        ...but not really suitable for GIS stuff




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   21 / 28
GeoAlchemy


        Small add-on to SQLAlchemy
        Support of OpenGIS geometries
        Geometry functions (AsKML,
        Intersects, etc.)




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   22 / 28
TileCache


        Implements WMS-C standard
        Proxy over tile providers (Google
        Maps, OSM, CloudMade)
        Uses TurboGears




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   23 / 28
GeoDjango


        Everybody loves Django
        Great documentation
        All in one place, no need to do it
        yourself




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   25 / 28
GIS is fun and geeky
        Lots of cool Python APIs to experiment
        with
        Lots of free data to play with
        Python has all you need for GIS
        ...unless you’re mapping distant
        planets


Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   26 / 28
Links


        gispython.org
        geodjango.org
        mapnik.org
        openstreetmap.org




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   27 / 28
Thank you!
                    mishok13@gmail.com




Andrii V. Mishkovskyi ()   Python and GIS   January 30, 2010   28 / 28

More Related Content

Viewers also liked

Build website in_django
Build website in_django Build website in_django
Build website in_django
swee meng ng
 
Flask patterns
Flask patternsFlask patterns
Flask patterns
it-people
 

Viewers also liked (13)

Solving Geophysics Problems with Python
Solving Geophysics Problems with PythonSolving Geophysics Problems with Python
Solving Geophysics Problems with Python
 
Python in geoinformatics
Python in geoinformaticsPython in geoinformatics
Python in geoinformatics
 
Milos Miljkovic - Analyzing satellite images with python scientific stack
Milos Miljkovic - Analyzing satellite images with python scientific stackMilos Miljkovic - Analyzing satellite images with python scientific stack
Milos Miljkovic - Analyzing satellite images with python scientific stack
 
Build website in_django
Build website in_django Build website in_django
Build website in_django
 
Flask Full Stack - Desenvolvendo um CMS com Flask e MongoDB
Flask Full Stack - Desenvolvendo um CMS com Flask e MongoDBFlask Full Stack - Desenvolvendo um CMS com Flask e MongoDB
Flask Full Stack - Desenvolvendo um CMS com Flask e MongoDB
 
Quokka CMS - Desenvolvendo web apps com Flask e MongoDB - grupy - Outubro 2015
Quokka CMS - Desenvolvendo web apps com Flask e MongoDB - grupy - Outubro 2015Quokka CMS - Desenvolvendo web apps com Flask e MongoDB - grupy - Outubro 2015
Quokka CMS - Desenvolvendo web apps com Flask e MongoDB - grupy - Outubro 2015
 
Quick flask an intro to flask
Quick flask   an intro to flaskQuick flask   an intro to flask
Quick flask an intro to flask
 
Writing your first web app using Python and Flask
Writing your first web app using Python and FlaskWriting your first web app using Python and Flask
Writing your first web app using Python and Flask
 
Introduction to Google App Engine with Python
Introduction to Google App Engine with PythonIntroduction to Google App Engine with Python
Introduction to Google App Engine with Python
 
Flask patterns
Flask patternsFlask patterns
Flask patterns
 
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스
 
Flask – Python
Flask – PythonFlask – Python
Flask – Python
 
Transformation of traditional village into eco-village
Transformation of traditional village into eco-villageTransformation of traditional village into eco-village
Transformation of traditional village into eco-village
 

Similar to Python and GIS (6)

It Jam 2009
It Jam 2009It Jam 2009
It Jam 2009
 
Presentation final 72
Presentation final 72Presentation final 72
Presentation final 72
 
Visualisation of Complex 3D City Models on Mobile Webbrowsers Using Cloud-bas...
Visualisation of Complex 3D City Models on Mobile Webbrowsers Using Cloud-bas...Visualisation of Complex 3D City Models on Mobile Webbrowsers Using Cloud-bas...
Visualisation of Complex 3D City Models on Mobile Webbrowsers Using Cloud-bas...
 
Introduction of open source gis
Introduction of open source gisIntroduction of open source gis
Introduction of open source gis
 
SC2 Workshop 2: Big Data Europe Project
SC2 Workshop 2: Big Data Europe ProjectSC2 Workshop 2: Big Data Europe Project
SC2 Workshop 2: Big Data Europe Project
 
Geotagging+ar
Geotagging+arGeotagging+ar
Geotagging+ar
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Python and GIS

  • 1. Python and GIS Nobody expects Python in maps! Andrii V. Mishkovskyi January 30, 2010 Andrii V. Mishkovskyi () Python and GIS January 30, 2010 1 / 28
  • 2. GIS stands for... Geographic Information System Andrii V. Mishkovskyi () Python and GIS January 30, 2010 2 / 28
  • 3. Maps and map services Tiles Routing Geocoding Staticmaps Andrii V. Mishkovskyi () Python and GIS January 30, 2010 3 / 28
  • 4. Geolocation GPS Navigators Geotagging (Flickr, Twitter, GeoRSS) Andrii V. Mishkovskyi () Python and GIS January 30, 2010 4 / 28
  • 5. And also Historical mapping Geocaching Augmented reality Andrii V. Mishkovskyi () Python and GIS January 30, 2010 5 / 28
  • 6. GIS involves... Math (analytic geometry) Computer graphics (rendering) Databases (GiST, OpenGIS spec) Andrii V. Mishkovskyi () Python and GIS January 30, 2010 6 / 28
  • 7. Python advantages Clean language Lots of existing modules Easy interaction with C libraries Andrii V. Mishkovskyi () Python and GIS January 30, 2010 7 / 28
  • 8. Shapely Wrapper over GEOS library Basic geometries Geometry collections Functions for all geometry operations (intersection, equality, etc.) Andrii V. Mishkovskyi () Python and GIS January 30, 2010 8 / 28
  • 9.
  • 10. NumPy Lots of array operations Best way of converting binary data For example, hillshading or heatmaps Andrii V. Mishkovskyi () Python and GIS January 30, 2010 10 / 28
  • 11.
  • 12. PyProj Pyrex wrapper over PROJ.4 Forward and reverse projections Geodetic projections Andrii V. Mishkovskyi () Python and GIS January 30, 2010 12 / 28
  • 13.
  • 14.
  • 15.
  • 16. Mapnik Established library for making beautiful maps Written in C++ Boost.Python interface Used by Flickr, OpenStreetMap, CloudMade and many more Andrii V. Mishkovskyi () Python and GIS January 30, 2010 16 / 28
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. SQLAlchemy Best ORM ever Access to almost any existing RDBMS ...but not really suitable for GIS stuff Andrii V. Mishkovskyi () Python and GIS January 30, 2010 21 / 28
  • 22. GeoAlchemy Small add-on to SQLAlchemy Support of OpenGIS geometries Geometry functions (AsKML, Intersects, etc.) Andrii V. Mishkovskyi () Python and GIS January 30, 2010 22 / 28
  • 23. TileCache Implements WMS-C standard Proxy over tile providers (Google Maps, OSM, CloudMade) Uses TurboGears Andrii V. Mishkovskyi () Python and GIS January 30, 2010 23 / 28
  • 24.
  • 25. GeoDjango Everybody loves Django Great documentation All in one place, no need to do it yourself Andrii V. Mishkovskyi () Python and GIS January 30, 2010 25 / 28
  • 26. GIS is fun and geeky Lots of cool Python APIs to experiment with Lots of free data to play with Python has all you need for GIS ...unless you’re mapping distant planets Andrii V. Mishkovskyi () Python and GIS January 30, 2010 26 / 28
  • 27. Links gispython.org geodjango.org mapnik.org openstreetmap.org Andrii V. Mishkovskyi () Python and GIS January 30, 2010 27 / 28
  • 28. Thank you! mishok13@gmail.com Andrii V. Mishkovskyi () Python and GIS January 30, 2010 28 / 28