Geotalk presentation
Upcoming SlideShare
Loading in...5
×
 

Geotalk presentation

on

  • 1,891 views

Slides from GeoDjango talk given by Eric Palakovich Carr. Last given in Washington, D.C. for django-district meetup on July 27th, 2011. ...

Slides from GeoDjango talk given by Eric Palakovich Carr. Last given in Washington, D.C. for django-district meetup on July 27th, 2011.

http://www.meetup.com/django-district/events/16015696/

Source code hosted on github:

https://github.com/bigsassy/geodjango_talk

Statistics

Views

Total Views
1,891
Views on SlideShare
1,885
Embed Views
6

Actions

Likes
2
Downloads
8
Comments
0

2 Embeds 6

http://twitter.com 5
https://twitter.com 1

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Geotalk presentation Geotalk presentation Presentation Transcript

  • INTRO TO GEODJANGOThat’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 Googles Terms of Use• Explicitly state in your Maps API Implementations terms of use that, by using your Maps API Implementation, your users are agreeing to be bound by Googles 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 TRICKBase 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