Oscon 2010

26
An Enterprise Street Addressing System Using Open Source Paul E. McCullough City and County of San Francisco gmail: p.e.mccullough • slides: • repo: http://esams.googlecode.com/svn/

description

An Enterprise Street Addressing System Using Open Source

Transcript of Oscon 2010

Page 1: Oscon 2010

An Enterprise Street Addressing System Using Open Source

Paul E. McCullough

City and County of San Francisco

• gmail: p.e.mccullough

• slides:

• repo: http://esams.googlecode.com/svn/

Page 2: Oscon 2010

mundane

insert, update, delete (retire)

useful

Enterprise Addressing System

Page 3: Oscon 2010

satisfy 80% of street address use cases

be the “system of record”

reduce the silo count

We built it to...

Page 4: Oscon 2010

We thought it should be...

geospatial

web centric

based on open source

Page 5: Oscon 2010

Agenda

architecture

web client demonstration

extract - transform - load

messaging

Page 6: Oscon 2010

Architecture/Deploy

JavascriptExt JS

OpenLayers

modelview

controller

Web ClientHttpd

PythonDjango

GeoDjango

Web Server

modelview

template

map_dbapp_db

RDBMSPostgreSQL/PostGIS

json

ajax

Virtualized Linux on Applogic

JavaTomcat

Geoserver

Map Server

maps

map cache

Page 7: Oscon 2010

Web Client Demonstration

search

change request

address review

Page 8: Oscon 2010

Extract - Transform - Load

ETL

app_db

map_db

Public Works

parcelsstreets

Assessor

ownership

Enterprise GIS

transform

Page 9: Oscon 2010

Extract - Transform - Load

Feature Manipulation Engine

Python scripts

dev, qa, prod

two-phase commit

ssh

map cache reseed

Page 10: Oscon 2010

Messaging

Web Services

AddressSystem

Web Server

look up

change notification

ClientSystem

Web Server

Page 11: Oscon 2010

Review

architecture

web client

extract - transform - load

messaging

Page 12: Oscon 2010

Questions

gmail: p.e.mcculloughslides: todo – urlrepo: todo - url

Page 13: Oscon 2010

Credits

City and County of San Francisco Department of Technology Department of Building Inspection Assessors Office Department of Public Works

Farallon Geographics

Open Source Projects Ext JS / OpenLayers Mozilla / Firefox / Firebug EveryBlock Python / Django / GeoDjango GeoServer PostgreSQL / PostGIS Linux

Page 14: Oscon 2010

the following slides are supplemental

Page 15: Oscon 2010

Data Model

Page 16: Oscon 2010

Feature: Simple, Adequate Data Model

parcel to address (many to many)apartments

timeshares

multi-story

condos

tenants in common

mailing address

status (official, provisional ...)

Page 17: Oscon 2010

Feature: Address Lineage

Main Street

150150 152 154 156

change request

Page 18: Oscon 2010

Feature: Address Point Tablestreet based geo-coding falls short

Main Street 198100

101 199

Add Constraint:point must be within a polygon

Page 19: Oscon 2010
Page 20: Oscon 2010
Page 21: Oscon 2010
Page 22: Oscon 2010
Page 23: Oscon 2010
Page 24: Oscon 2010
Page 25: Oscon 2010
Page 26: Oscon 2010