SlideShare a Scribd company logo
Creating CountDracula
Open Source Count Management Tool
Lisa Zorn, Dan Tischler, Elizabeth Sall
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
TRB 93rd Annual Meeting
January 13th, 2014, Washington D.C.
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 2
Why?
Neighborhood Study
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 3
Why?
Consulting Engineer Data Request
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 4
Why?
Public Requests
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 5
Why?
Dynamic Traffic Assignment Validation
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 6
Why?
Existing Resources
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 7
Requirements
• Store count data electronically in a single location
• Allow universal access
• Easy and intuitive queries
• Times, date, or location
• API or Web-based GUI
• Download data into commonly used data
formats, e.g. UTDF
• Various levels of account permissions
• Straight forward user uploads
• Store meta-data
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 8
Development
• Approach
• In-house development
• Open source
• Benefits
• Fulfill all design requirements
• Share with others
• Collaborative dev possibilities
• Consultant flexibility
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 9
Design
• Django
• Open source
• Active dev community
• Python-based
• Object-relational mapper
• Built-in admin interface
• Elegant URL design
• Customizable template views
• GeoDjango (add-on)
• Spatial data types
• Efficient spatial queries using PostGIS
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 10
Data Upload
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 11
Data Upload
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 12
Data Models
• Nodes
• location
• StreetName
• name, suffix, nodes
• TurnCountLocation
• from_street, from_dir, intersection_street, to_street, to_dir, node
• TurnCount
• location, count, date, year, start_time, duration, veh_type,
source, project, user
• MainlineCountLocation
• street, dir, from_street, from_node, to_street, to_node
• MainlineCount
• location, count, date, year, start_time, duration, veh_type, source,
project, user, position_on_link
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 13
Data Models
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 14
CountDracula Today
Web-Based Interface
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 15
CountDracula Today
API
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 16
CountDracula Today
Admin
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 17
Questions? Suggestions?
modeling@sfcta.org
https://github.com/sfcta/CountDracula
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 18
Objectives

More Related Content

Similar to Creating CountDracula : An Open Source Count Management Tool

TripChain: A Peer-to-Peer Trip Generation Database
TripChain: A Peer-to-Peer Trip Generation DatabaseTripChain: A Peer-to-Peer Trip Generation Database
TripChain: A Peer-to-Peer Trip Generation Database
Jon Kostyniuk
 
Big data meet_up_08042016
Big data meet_up_08042016Big data meet_up_08042016
Big data meet_up_08042016
Mark Smith
 
Disrupting Data Discovery
Disrupting Data DiscoveryDisrupting Data Discovery
Disrupting Data Discovery
markgrover
 
Neo4j GraphTalk Oslo - Introduction to Graphs
Neo4j GraphTalk Oslo - Introduction to GraphsNeo4j GraphTalk Oslo - Introduction to Graphs
Neo4j GraphTalk Oslo - Introduction to Graphs
Neo4j
 
Neo4j GraphDay Seattle- Sept19- in the enterprise
Neo4j GraphDay Seattle- Sept19-  in the enterpriseNeo4j GraphDay Seattle- Sept19-  in the enterprise
Neo4j GraphDay Seattle- Sept19- in the enterprise
Neo4j
 
AWS Cloud Assessment
AWS Cloud AssessmentAWS Cloud Assessment
AWS Cloud Assessment
Michael Cronan
 
Building Satori: Web Data Extraction On Hadoop
Building Satori: Web Data Extraction On HadoopBuilding Satori: Web Data Extraction On Hadoop
Building Satori: Web Data Extraction On Hadoop
Nikolai Avteniev
 
Data All the Way Down
Data All the Way DownData All the Way Down
Data All the Way Down
Jeni Tennison
 
AWS Webcast - Open Data on AWS – An Introduction
AWS Webcast - Open Data on AWS – An Introduction  AWS Webcast - Open Data on AWS – An Introduction
AWS Webcast - Open Data on AWS – An Introduction
Amazon Web Services
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentation
Tao Feng
 
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedInDataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
Hakka Labs
 
Streaming sql and druid
Streaming sql and druid Streaming sql and druid
Streaming sql and druid
arupmalakar
 
Open Data Portals: 9 Solutions and How they Compare
Open Data Portals: 9 Solutions and How they CompareOpen Data Portals: 9 Solutions and How they Compare
Open Data Portals: 9 Solutions and How they Compare
Safe Software
 
Stream reasoning agents
Stream reasoning agentsStream reasoning agents
Stream reasoning agents
Jean-Paul Calbimonte
 
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
cdmaxime
 
A Framework for Dynamic Data Source Identification and Orchestration on the Web
A Framework for Dynamic Data Source Identification and Orchestration on the WebA Framework for Dynamic Data Source Identification and Orchestration on the Web
A Framework for Dynamic Data Source Identification and Orchestration on the Web
mashups
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...
Sylvain Zimmer
 
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures
FIWARE: Cross-domain concepts and technologies in domain Reference ArchitecturesFIWARE: Cross-domain concepts and technologies in domain Reference Architectures
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures
OPEN DEI
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapubeswcsummerschool
 

Similar to Creating CountDracula : An Open Source Count Management Tool (20)

TripChain: A Peer-to-Peer Trip Generation Database
TripChain: A Peer-to-Peer Trip Generation DatabaseTripChain: A Peer-to-Peer Trip Generation Database
TripChain: A Peer-to-Peer Trip Generation Database
 
Big data meet_up_08042016
Big data meet_up_08042016Big data meet_up_08042016
Big data meet_up_08042016
 
Disrupting Data Discovery
Disrupting Data DiscoveryDisrupting Data Discovery
Disrupting Data Discovery
 
Neo4j GraphTalk Oslo - Introduction to Graphs
Neo4j GraphTalk Oslo - Introduction to GraphsNeo4j GraphTalk Oslo - Introduction to Graphs
Neo4j GraphTalk Oslo - Introduction to Graphs
 
Neo4j GraphDay Seattle- Sept19- in the enterprise
Neo4j GraphDay Seattle- Sept19-  in the enterpriseNeo4j GraphDay Seattle- Sept19-  in the enterprise
Neo4j GraphDay Seattle- Sept19- in the enterprise
 
AWS Cloud Assessment
AWS Cloud AssessmentAWS Cloud Assessment
AWS Cloud Assessment
 
Building Satori: Web Data Extraction On Hadoop
Building Satori: Web Data Extraction On HadoopBuilding Satori: Web Data Extraction On Hadoop
Building Satori: Web Data Extraction On Hadoop
 
Data All the Way Down
Data All the Way DownData All the Way Down
Data All the Way Down
 
AWS Webcast - Open Data on AWS – An Introduction
AWS Webcast - Open Data on AWS – An Introduction  AWS Webcast - Open Data on AWS – An Introduction
AWS Webcast - Open Data on AWS – An Introduction
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentation
 
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedInDataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
DataEngConf: Building Satori, a Hadoop toll for Data Extraction at LinkedIn
 
Streaming sql and druid
Streaming sql and druid Streaming sql and druid
Streaming sql and druid
 
Open Data Portals: 9 Solutions and How they Compare
Open Data Portals: 9 Solutions and How they CompareOpen Data Portals: 9 Solutions and How they Compare
Open Data Portals: 9 Solutions and How they Compare
 
Stream reasoning agents
Stream reasoning agentsStream reasoning agents
Stream reasoning agents
 
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
Rocana Deep Dive OC Big Data Meetup #19 Sept 21st 2016
 
A Framework for Dynamic Data Source Identification and Orchestration on the Web
A Framework for Dynamic Data Source Identification and Orchestration on the WebA Framework for Dynamic Data Source Identification and Orchestration on the Web
A Framework for Dynamic Data Source Identification and Orchestration on the Web
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...
 
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures
FIWARE: Cross-domain concepts and technologies in domain Reference ArchitecturesFIWARE: Cross-domain concepts and technologies in domain Reference Architectures
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
 

More from San Francisco County Transportation Authority Technology Data + Analysis

NACTO 2013 - SFCTA Apps
NACTO 2013 - SFCTA AppsNACTO 2013 - SFCTA Apps
California Bike Summit - 2013
California Bike Summit - 2013California Bike Summit - 2013
Modeling for Planners
Modeling for PlannersModeling for Planners
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
San Francisco County Transportation Authority Technology Data + Analysis
 
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
San Francisco County Transportation Authority Technology Data + Analysis
 
Testing and validating commercial speed data for cmp los monitoring 20130117
Testing and validating commercial speed data for cmp los monitoring 20130117Testing and validating commercial speed data for cmp los monitoring 20130117
Testing and validating commercial speed data for cmp los monitoring 20130117
San Francisco County Transportation Authority Technology Data + Analysis
 
Stone Soup Data Collection w/ CycleTracks
Stone Soup Data Collection w/ CycleTracksStone Soup Data Collection w/ CycleTracks
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
San Francisco County Transportation Authority Technology Data + Analysis
 
Completing the Cycle: Incorporating CycleTracks into SF-CHAMP
Completing the Cycle: Incorporating CycleTracks into SF-CHAMPCompleting the Cycle: Incorporating CycleTracks into SF-CHAMP
Completing the Cycle: Incorporating CycleTracks into SF-CHAMP
San Francisco County Transportation Authority Technology Data + Analysis
 

More from San Francisco County Transportation Authority Technology Data + Analysis (11)

NACTO 2013 - SFCTA Apps
NACTO 2013 - SFCTA AppsNACTO 2013 - SFCTA Apps
NACTO 2013 - SFCTA Apps
 
California Bike Summit - 2013
California Bike Summit - 2013California Bike Summit - 2013
California Bike Summit - 2013
 
Modeling for Planners
Modeling for PlannersModeling for Planners
Modeling for Planners
 
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
EXPLORING PARKING PRICING FOR CONGESTION MANAGEMENT USING THE SFCTA ACTIVITY-...
 
Incorporating Discrete Characteristics and Network Relationships of Parking i...
Incorporating Discrete Characteristics and Network Relationships of Parking i...Incorporating Discrete Characteristics and Network Relationships of Parking i...
Incorporating Discrete Characteristics and Network Relationships of Parking i...
 
A GPS-based Bicycle Route CHoice Model for San Francisco, California
A GPS-based Bicycle Route CHoice Model for San Francisco, CaliforniaA GPS-based Bicycle Route CHoice Model for San Francisco, California
A GPS-based Bicycle Route CHoice Model for San Francisco, California
 
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
Evaluating Regional Pricing Strategies in San Francisco - Application of the ...
 
Testing and validating commercial speed data for cmp los monitoring 20130117
Testing and validating commercial speed data for cmp los monitoring 20130117Testing and validating commercial speed data for cmp los monitoring 20130117
Testing and validating commercial speed data for cmp los monitoring 20130117
 
Stone Soup Data Collection w/ CycleTracks
Stone Soup Data Collection w/ CycleTracksStone Soup Data Collection w/ CycleTracks
Stone Soup Data Collection w/ CycleTracks
 
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
San Francisco's Dynamic Traffic Assignment Model (& the DTA Anyway Library) -...
 
Completing the Cycle: Incorporating CycleTracks into SF-CHAMP
Completing the Cycle: Incorporating CycleTracks into SF-CHAMPCompleting the Cycle: Incorporating CycleTracks into SF-CHAMP
Completing the Cycle: Incorporating CycleTracks into SF-CHAMP
 

Recently uploaded

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
abdulrafaychaudhry
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 

Recently uploaded (20)

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 

Creating CountDracula : An Open Source Count Management Tool

  • 1. Creating CountDracula Open Source Count Management Tool Lisa Zorn, Dan Tischler, Elizabeth Sall SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY TRB 93rd Annual Meeting January 13th, 2014, Washington D.C.
  • 2. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 2 Why? Neighborhood Study
  • 3. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 3 Why? Consulting Engineer Data Request
  • 4. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 4 Why? Public Requests
  • 5. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 5 Why? Dynamic Traffic Assignment Validation
  • 6. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 6 Why? Existing Resources
  • 7. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 7 Requirements • Store count data electronically in a single location • Allow universal access • Easy and intuitive queries • Times, date, or location • API or Web-based GUI • Download data into commonly used data formats, e.g. UTDF • Various levels of account permissions • Straight forward user uploads • Store meta-data
  • 8. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 8 Development • Approach • In-house development • Open source • Benefits • Fulfill all design requirements • Share with others • Collaborative dev possibilities • Consultant flexibility
  • 9. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 9 Design • Django • Open source • Active dev community • Python-based • Object-relational mapper • Built-in admin interface • Elegant URL design • Customizable template views • GeoDjango (add-on) • Spatial data types • Efficient spatial queries using PostGIS
  • 10. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 10 Data Upload
  • 11. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 11 Data Upload
  • 12. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 12 Data Models • Nodes • location • StreetName • name, suffix, nodes • TurnCountLocation • from_street, from_dir, intersection_street, to_street, to_dir, node • TurnCount • location, count, date, year, start_time, duration, veh_type, source, project, user • MainlineCountLocation • street, dir, from_street, from_node, to_street, to_node • MainlineCount • location, count, date, year, start_time, duration, veh_type, source, project, user, position_on_link
  • 13. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 13 Data Models
  • 14. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 14 CountDracula Today Web-Based Interface
  • 15. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 15 CountDracula Today API
  • 16. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 16 CountDracula Today Admin
  • 17. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 17 Questions? Suggestions? modeling@sfcta.org https://github.com/sfcta/CountDracula
  • 18. SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY 18 Objectives

Editor's Notes

  1. Abstract One of the most persistent problems faced by the San Francisco County Transportation Authority (the Authority) is that of handling a growing collection of counts.  Traffic, pedestrian and bicycle counts have been collected by staff, consultants and sister agencies for numerous planning studies at various locations in San Francisco over the years. But how should these counts be organized?  Some are in Excel workbooks of varying and spontaneous formats, others consist of scanned handwritten documents, and finally some are on (gasp!) paper. Since the modeling team at the Authority has a continuous need for these counts in order to calibrate and validate the travel demand model as well as to inform model development, these counts have come under the team’s purview.  After a couple of failed attempts to standardize Excel formats and directory structures, the modeling team decided to modernized its counts management system.  The Authority first explored proprietary software products, but found them either too expensive, cumbersome, or inflexible.  Instead, Authority staff embarked on developing Count Dracula, an open source counts management tool.  Count Dracula’s aim is to make uploading, downloading and querying counts easy for Authority staff as well as other interested parties outside the organization.  The Count Dracula code base has been designed to be reusable by other agencies with similar needs, and it’s built on GeoDjango, a geographic web framework.   Count Dracula includes a web-based map GUI for visualizing where counts are located (and where more counts are needed), and it includes a query interface so that specific types of counts can be batch-downloaded (for example, midweek counts from the last three years).  As it was developed by a modeling team, there is a specific emphasis on counts seamlessly interfacing with model transportation networks.  Counts can also be uploaded using this interface, and moderated through an admin interface.  This presentation will explain the development of Count Dracula and convince everyone attending to download it and dive in.
  2. This is Chester, a planner at the TA! He lead this neighborhood planning study, looking at Western SoMa. As part of that study, we needed to forecast traffic volumes, and so we needed some counts to inform our modeling forecasts in the area: to see how the modeled volumes are doing in the baseline, and if adjustments to the forecasts would need to be made.
  3. This is similar to the previous case This is Eric Womeldorff, a consultant (admittedly not a recent photo but still recognizably Eric) who works on numerous city projects For example, Better Market Street
  4. Say you’re a member of the public, and you want traffic to look at traffic counts to make decisions on where to locate your business… You could download these counts from the SFMTA website! And find what you want in a 239 page PDF!
  5. As you’ve may have heard in our 3 other presentations, we also worked on a little project to make a citywide DTA model. In order to validate the citywide model, we needed…
  6. So we’d go searching around in a file system all the time.  The file system wasn’t organized in a great way. We could try searching for counts, but many pdfs and image versions of the counts weren’t searchable. Slow. Tedious. We’d miss stuff. We’d send interns to MTA but it didn’t improve anything in the long term.
  7. Django: Data models completely in python Database details are hidden and mostly (so far!) just work Web-based admin interface, with built-in users and basic editing of objects Don’t reinvent the wheel Geodjango: Adds spatial layer on top of Django by using a spatial database such as PostGIS Models can now have components like Points, Lines, Polygons and Mult-versions of those There’s also an understanding of Geography Spatial indexing for spatial query speed
  8. MS2= web-based, not free (? How much?) http://www.trafficcountdata.com/ CS http://www.camsys.com/traffic_count.htm North Central Texas Council of Governments (NCTCOG) has something on the web: http://www.nctcog.org/trans/data/trafficcounts/indexcdp.asp
  9. Node: just a location (PointField) StreetName: Variations on the street name, plus ManyToMany relationship with Nodes TurnCountLocation: incoming street and direction, intersection node, outgoing street and direction TurnCount: TurnCountLocation, count, date/time, duration in minutes, vehicle type, source file, upload user MainlineCountLocation: on street and direction, from street, from node, to street, to node
  10. Node: just a location (PointField) StreetName: Variations on the street name, plus ManyToMany relationship with Nodes TurnCountLocation: incoming street and direction, intersection node, outgoing street and direction TurnCount: TurnCountLocation, count, date/time, duration in minutes, vehicle type, source file, upload user MainlineCountLocation: on street and direction, from street, from node, to street, to node
  11. Today, CountDracula has basic functionality: A web-based interface including a map view Vehicle-type filtering Year-based filtering Address-based filtering Download capabilities
  12. Today, CountDracula has basic functionality: An API that we used in our DTA Validation to correlated counts with our DTA network
  13. Today, CountDracula has basic functionality: An admin interface for each of the elements (top view and node view) An upload interface for standardized count workbooks
  14. Store raw data Differing temporal granularity Can be aggregated Anyone can easily upload -> Users Anyone can easily download Maps Filters (year, vehicle type, day of week, location) Aggregated to time period desired API access – this drove actual development UTDF = Universal Traffic Data Format, for importing into Synchro, etc