SlideShare a Scribd company logo
INTRO TO GEODJANGO
That’s the Django Pony. And I’m Eric Palakovich Carr.
THE TALKING POINTS

•   Installing and Configuring PostGIS

•   Setting up a GeoDjango project

•   GeoDjango Model + Django Admin

•   Loading ESRI (ArcGIS) data

•   Spatial Queries in Django’s ORM

•   GeoDjango + Google Maps

•   ...and more!
INSTALLING POSTGIS

• OSX

 • http://www.kyngchaos.com/software:postgres

• Ubuntu   > Lucid

 • Apt-get   for PostgreSQL and PostGIS

• Ubuntu   = Lucid

 • http://pastebin.com/rTDnhCdq
SETTING UP POSTGIS



• Create   the PostGIS template in your PostgreSQL database

 • See   last block in http://pastebin.com/rTDnhCdq for tips
LET’S CODE!
https://github.com/bigsassy/weloveponies_blank
GIS DATUMS & PROJECTIONS

  Datum      X-Coordinate       Y-Coordinate


 NAD_1927   -122.466903686523   48.7440490722656


 NAD_1983   -122.46818353793    48.7438798543649

 WGS_1984
            -122.46818353793    48.7438798534299
TWO DIFFERENT DATUMS
HOORAY! BACK TO CODE!
KEY LEGAL TAKEAWAYS WITH
      GOOGLE MAPS (IANAL!)
•   http://code.google.com/apis/maps/terms.html

•   Must be free, but you can require logins.

•   The API requires you to report things sometimes (like if you’re using a sensor)

•   Link to Google's Terms of Use

•   Explicitly state in your Maps API Implementation's terms of use that, by using your Maps API
    Implementation, your users are agreeing to be bound by Google's Terms of Use

•   You can pre-fetch, cache, or store api data for improving the performance of your Maps API
    implementation, as long as it’s temporary, securely, and in a manner that does not permit use of
    the Content outside of your service
GOOGLE MAP ALTERNATIVES


• Bing
     Maps: http://www.microsoft.com/maps/developers/
 web.aspx

• MapQuest:   http://developer.mapquest.com/

• OpenStreetMaps:   http://leaflet.cloudmade.com/
DONE? GET BACK TO IT!
HLS COLOR TRICK
Base Color: RGB(0, 255, 0)

           HLS: (0.333..., 0.5, 1)


L = 0.15                             L = 0.92
CODE CODE CODE CODE
  CODE CODE CODE...
IT’S OVER!


• Eric   Palakovich Carr

• @bigsassy

• gplus.to/bigsassy

More Related Content

PDF
Django Rest Framework and React and Redux, Oh My!
Eric Palakovich Carr
 
PDF
Laravel 8 export data as excel file with example
Katy Slemon
 
PDF
Future of Web Apps: Google Gears
dion
 
PDF
Create responsive websites with Django, REST and AngularJS
Hannes Hapke
 
PDF
[Srijan Wednesday Webinars] Ruling Drupal 8 with #d8rules
Srijan Technologies
 
PPT
[Srijan Wednesday Webinar] Rails 5: What's in It for Me?
Srijan Technologies
 
PDF
The Best (and Worst) of Django
Jacob Kaplan-Moss
 
PDF
"Migrate large gwt applications - Lessons Learned" By Harald Pehl
GWTcon
 
Django Rest Framework and React and Redux, Oh My!
Eric Palakovich Carr
 
Laravel 8 export data as excel file with example
Katy Slemon
 
Future of Web Apps: Google Gears
dion
 
Create responsive websites with Django, REST and AngularJS
Hannes Hapke
 
[Srijan Wednesday Webinars] Ruling Drupal 8 with #d8rules
Srijan Technologies
 
[Srijan Wednesday Webinar] Rails 5: What's in It for Me?
Srijan Technologies
 
The Best (and Worst) of Django
Jacob Kaplan-Moss
 
"Migrate large gwt applications - Lessons Learned" By Harald Pehl
GWTcon
 

What's hot (20)

PPT
Presentation
Manav Prasad
 
PDF
The Django Book - Chapter 5: Models
Sharon Chen
 
PPT
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
vodQA
 
PPTX
Tango with django
Rajan Kumar Upadhyay
 
PPTX
Progressive What Apps?
Patrick Kettner
 
PDF
Implement react pagination with react hooks and react paginate
Katy Slemon
 
PDF
Data models in Angular 1 & 2
Adam Klein
 
PPTX
The Django Web Application Framework 2
fishwarter
 
PDF
Hybrid Web Applications
James Da Costa
 
PDF
HTML5 JavaScript APIs
Remy Sharp
 
PDF
Web components with java by Haijian Wang
GWTcon
 
PPT
Jsp
Manav Prasad
 
PDF
React for Beginners
Derek Willian Stavis
 
PPT
jQuery and_drupal
BlackCatWeb
 
PDF
Data Migrations in the App Engine Datastore
Ryan Morlok
 
PDF
HTML5: friend or foe (to Flash)?
Remy Sharp
 
PPT
Drupal Javascript for developers
Dream Production AG
 
PDF
COScheduler
WO Community
 
PDF
Cache Money Talk: Practical Application
Wolfram Arnold
 
PDF
Django Heresies
Simon Willison
 
Presentation
Manav Prasad
 
The Django Book - Chapter 5: Models
Sharon Chen
 
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
vodQA
 
Tango with django
Rajan Kumar Upadhyay
 
Progressive What Apps?
Patrick Kettner
 
Implement react pagination with react hooks and react paginate
Katy Slemon
 
Data models in Angular 1 & 2
Adam Klein
 
The Django Web Application Framework 2
fishwarter
 
Hybrid Web Applications
James Da Costa
 
HTML5 JavaScript APIs
Remy Sharp
 
Web components with java by Haijian Wang
GWTcon
 
React for Beginners
Derek Willian Stavis
 
jQuery and_drupal
BlackCatWeb
 
Data Migrations in the App Engine Datastore
Ryan Morlok
 
HTML5: friend or foe (to Flash)?
Remy Sharp
 
Drupal Javascript for developers
Dream Production AG
 
COScheduler
WO Community
 
Cache Money Talk: Practical Application
Wolfram Arnold
 
Django Heresies
Simon Willison
 
Ad

Similar to Geotalk presentation (20)

PPTX
Python and GIS: Improving Your Workflow
John Reiser
 
PPTX
Deep Dive into the ArcGIS Geotrigger Service - Esri DevSummit Dubai 2013
Aaron Parecki
 
PDF
Saving Money with Open Source GIS
bryanluman
 
PDF
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
ShashibhushanKumar61
 
PDF
CartoDB Inside Out
Jorge Sanz
 
PDF
Tops for Lean Startup
David Chen
 
KEY
Google App Engine Java, Groovy and Gaelyk
Guillaume Laforge
 
PDF
Big datalab
David Chen
 
PPTX
OpenStack DevOps Workflows with TOSCA
Cloud Native Day Tel Aviv
 
PDF
Integrating PostGIS in Web Applications
Command Prompt., Inc
 
PDF
Introduction to serverless computing on Google Cloud
wesley chun
 
PDF
Devfest09 App Engine Java
Chris Schalk
 
PDF
Implementing your own Google App Engine
Virtual JBoss User Group
 
PDF
OSA Con 2022 - Switching Jaeger Distributed Tracing to ClickHouse to Enable A...
Altinity Ltd
 
PDF
Does Your Stuff Scale?
stevenh0lmes
 
PPTX
Automating Application over OpenStack using Workflows
Yaron Parasol
 
PPTX
LocationTech Projects
Jody Garnett
 
PDF
Bringing spatial love to your python application
Shekhar Gulati
 
PDF
Powerful Google Cloud tools for your hack
wesley chun
 
PDF
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade
 
Python and GIS: Improving Your Workflow
John Reiser
 
Deep Dive into the ArcGIS Geotrigger Service - Esri DevSummit Dubai 2013
Aaron Parecki
 
Saving Money with Open Source GIS
bryanluman
 
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
ShashibhushanKumar61
 
CartoDB Inside Out
Jorge Sanz
 
Tops for Lean Startup
David Chen
 
Google App Engine Java, Groovy and Gaelyk
Guillaume Laforge
 
Big datalab
David Chen
 
OpenStack DevOps Workflows with TOSCA
Cloud Native Day Tel Aviv
 
Integrating PostGIS in Web Applications
Command Prompt., Inc
 
Introduction to serverless computing on Google Cloud
wesley chun
 
Devfest09 App Engine Java
Chris Schalk
 
Implementing your own Google App Engine
Virtual JBoss User Group
 
OSA Con 2022 - Switching Jaeger Distributed Tracing to ClickHouse to Enable A...
Altinity Ltd
 
Does Your Stuff Scale?
stevenh0lmes
 
Automating Application over OpenStack using Workflows
Yaron Parasol
 
LocationTech Projects
Jody Garnett
 
Bringing spatial love to your python application
Shekhar Gulati
 
Powerful Google Cloud tools for your hack
wesley chun
 
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade
 
Ad

Recently uploaded (20)

PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 

Geotalk presentation

  • 1. INTRO TO GEODJANGO That’s the Django Pony. And I’m Eric Palakovich Carr.
  • 2. THE TALKING POINTS • Installing and Configuring PostGIS • Setting up a GeoDjango project • GeoDjango Model + Django Admin • Loading ESRI (ArcGIS) data • Spatial Queries in Django’s ORM • GeoDjango + Google Maps • ...and more!
  • 3. INSTALLING POSTGIS • OSX • http://www.kyngchaos.com/software:postgres • Ubuntu > Lucid • Apt-get for PostgreSQL and PostGIS • Ubuntu = Lucid • http://pastebin.com/rTDnhCdq
  • 4. SETTING UP POSTGIS • Create the PostGIS template in your PostgreSQL database • See last block in http://pastebin.com/rTDnhCdq for tips
  • 6. GIS DATUMS & PROJECTIONS Datum X-Coordinate Y-Coordinate NAD_1927 -122.466903686523 48.7440490722656 NAD_1983 -122.46818353793 48.7438798543649 WGS_1984 -122.46818353793 48.7438798534299
  • 9. KEY LEGAL TAKEAWAYS WITH GOOGLE MAPS (IANAL!) • http://code.google.com/apis/maps/terms.html • Must be free, but you can require logins. • The API requires you to report things sometimes (like if you’re using a sensor) • Link to Google's Terms of Use • Explicitly state in your Maps API Implementation's terms of use that, by using your Maps API Implementation, your users are agreeing to be bound by Google's Terms of Use • You can pre-fetch, cache, or store api data for improving the performance of your Maps API implementation, as long as it’s temporary, securely, and in a manner that does not permit use of the Content outside of your service
  • 10. GOOGLE MAP ALTERNATIVES • Bing Maps: http://www.microsoft.com/maps/developers/ web.aspx • MapQuest: http://developer.mapquest.com/ • OpenStreetMaps: http://leaflet.cloudmade.com/
  • 11. DONE? GET BACK TO IT!
  • 12. HLS COLOR TRICK Base Color: RGB(0, 255, 0) HLS: (0.333..., 0.5, 1) L = 0.15 L = 0.92
  • 13. CODE CODE CODE CODE CODE CODE CODE...
  • 14. IT’S OVER! • Eric Palakovich Carr • @bigsassy • gplus.to/bigsassy

Editor's Notes