SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler 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

Mais conteúdo relacionado

Destaque

Solving Geophysics Problems with Python
Solving Geophysics Problems with PythonSolving Geophysics Problems with Python
Solving Geophysics Problems with PythonPaige Bailey
 
Python in geoinformatics
Python in geoinformaticsPython in geoinformatics
Python in geoinformaticsMapWindow GIS
 
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 stackPyData
 
Build website in_django
Build website in_django Build website in_django
Build website in_django swee meng ng
 
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 MongoDBBruno Rocha
 
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 2015Bruno Rocha
 
Quick flask an intro to flask
Quick flask   an intro to flaskQuick flask   an intro to flask
Quick flask an intro to flaskjuzten
 
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 FlaskDanielle Madeley
 
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 PythonBrian Lyttle
 
Flask patterns
Flask patternsFlask patterns
Flask patternsit-people
 
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스
OpenStreetMap 기반의 Mapbox 오픈소스 매핑 서비스Kyu-sung Choi
 
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-villageRamesh Bhandari
 

Destaque (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
 

Semelhante a Python and GIS

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...Martin Christen
 
Introduction of open source gis
Introduction of open source gisIntroduction of open source gis
Introduction of open source gisHiroaki Sengoku
 
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 ProjectBigData_Europe
 

Semelhante a 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
 

Último

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
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 educationjfdjdjcjdnsjd
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
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 TerraformAndrey Devyatkin
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Último (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

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