geodjango presentation

10
Introduction to Geodjango Dan Hilton [email protected] @danhilton

Upload: dan-hilton

Post on 29-Jan-2018

2.581 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Geodjango presentation

Introduction toGeodjango

Dan Hilton [email protected]

@danhilton

Page 2: Geodjango presentation

Neo-geography

• gmaps - BGM & ADM

• GPS - chips as cheap

• Open Street Map / mapping data

Page 3: Geodjango presentation

Why should you care?

• Location based services

• Geo-SEO

• Beyond the pin map

Page 4: Geodjango presentation

Key concepts

• A point

• A shape or boundary

• SRID - Spatial reference system identifier

Page 5: Geodjango presentation

Open Geostack

• Web map: openlayers & gmaps

• Tile server: ArcGIS or Tilecache

• Cartographic map renderer: GeoServer or mapnik

• Spatial Database: PostGIS/PostgreSQL

Page 6: Geodjango presentation

Geodjango

• In django.contrib.gis

• Works with spatial databases out of the box

• Provides ORM fields for points, shapes & queryset filters for dealing with spatial queries.

Page 7: Geodjango presentation

Working with existingspatial data

• Live demo (part1)

• http://github.com/dhilton/uk_parl/

Page 8: Geodjango presentation

Geodjango for SEO

• Geographical keywords: Placenames, POI’s & regions

• <object> near / in / by / close <place>

• WOEID - Where on earth identifier

• (Live demo 2 - pub reviews)

Page 9: Geodjango presentation

What’s coming?

• Geolocation social-nets: 4sq Vs Gowalla Vs F8 Vs Google lattitude

• Geosearch - results enhanced by your current location

• HTML5 - exposing your location via the DOM