geodjango presentation

Post on 29-Jan-2018

2.581 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Introduction toGeodjango

Dan Hilton daniel.hilton@gmail.com

@danhilton

Neo-geography

• gmaps - BGM & ADM

• GPS - chips as cheap

• Open Street Map / mapping data

Why should you care?

• Location based services

• Geo-SEO

• Beyond the pin map

Key concepts

• A point

• A shape or boundary

• SRID - Spatial reference system identifier

Open Geostack

• Web map: openlayers & gmaps

• Tile server: ArcGIS or Tilecache

• Cartographic map renderer: GeoServer or mapnik

• Spatial Database: PostGIS/PostgreSQL

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.

Working with existingspatial data

• Live demo (part1)

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

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)

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

Questions?

• daniel.hilton@gmail.com

top related