Your SlideShare is downloading. ×
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Geotalk presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Geotalk presentation

301

Published on

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

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
301
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. INTRO TO GEODJANGOThat’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
    • 5. LET’S CODE!https://github.com/bigsassy/weloveponies_blank
    • 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
    • 7. TWO DIFFERENT DATUMS
    • 8. HOORAY! BACK TO CODE!
    • 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 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
    • 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 TRICKBase 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

    ×