SlideShare a Scribd company logo
1 of 42
Download to read offline
Strategies for the seamless deployment of
travel diary collection systems to new
regions
A. C. Prelipcean, Y. O. Susilo
Department of Transportation Science
KTH Royal Institute of Technology
acpr@kth.se
@Adi Prelipcean
adrianprelipcean.github.io
31 May 2017
Travel behaviour
How do we use travel behaviour?
Some of the main reasons for analyzing travel behaviour are:
to investigate the reasons and mechanisms that underlie
an individual’s travel decision making process,
2
Travel behaviour
How do we use travel behaviour?
Some of the main reasons for analyzing travel behaviour are:
to investigate the reasons and mechanisms that underlie
an individual’s travel decision making process,
to predict the effect of implementing new transportation
policies or changing the transportation infrastructure, or
2
Travel behaviour
How do we use travel behaviour?
Some of the main reasons for analyzing travel behaviour are:
to investigate the reasons and mechanisms that underlie
an individual’s travel decision making process,
to predict the effect of implementing new transportation
policies or changing the transportation infrastructure, or
to understand the dynamic of transportation movement
within study areas.
2
(Activity) Travel diaries
What are they?
A way of summarizing where, why and how a user traveled
during a defined time frame by specifying:
The destination of a trip
Img: http://soarministries.com/hp_wordpress/wp-content/uploads/2011/08/Destinations-Icon.jpg 3
(Activity) Travel diaries
What are they?
A way of summarizing where, why and how a user traveled
during a defined time frame by specifying:
The destination of a trip
The trip’s purpose
Img: https://cdn2.vox-cdn.com/thumbor/93Yaxs7y3Tb8tzFfppyRsSn_yN8=/1020x0/cdn0.vox-cdn.com/ 3
(Activity) Travel diaries
What are they?
A way of summarizing where, why and how a user traveled
during a defined time frame by specifying:
The destination of a trip
The trip’s purpose
The means of transportation, i.e., trip legs
Img: https://d3ui957tjb5bqd.cloudfront.net/images/screenshots/products/4/42/42990/ 3
(Activity) Travel diaries
How to collect them?
Traditionally - Users declare what they have done in a
survey, e.g., PP or CATI
Img: http://www.schoolsurveyexperts.co.uk/i/photos/paper_survey.jpg
4
(Activity) Travel diaries
How to collect them?
Traditionally - Users declare what they have done in a
survey, e.g., PP or CATI
New methods - E.g., GPS collection + Web and Mobile
GIS based interaction
4
(Activity) Travel diaries
How to collect them?
Traditionally - Users declare what they have done in a
survey, e.g., PP or CATI
New methods - E.g., GPS collection + Web and Mobile
GIS based interaction
4
“Any improvements made anywhere besides the
bottleneck are an illusion.” Gene Kim, The Phoenix Project
5
“Any improvements made anywhere besides the
bottleneck are an illusion.” Gene Kim, The Phoenix Project
Img: https://www.unitedsystemsok.com/resources/blog/
how-a-small-bottleneck-issue-can-significantly-hinder-network-performance
5
Bottlenecks in travel behaviour
There are two main bottlenecks in current travel behaviour
studies:
Lack of data (immediate bottleneck), and
Lack of relevant performance measures
6
Bottlenecks in travel behaviour
There are two main bottlenecks in current travel behaviour
studies:
Lack of data (immediate bottleneck), and
Lack of relevant performance measures
6
Addressing the data bottleneck
Making data collection widely available
MEILI-travel diary collection, annotation & automation system
MEILI Mobility Collector, which is a smartphone app
that collects trajectories fused with accelerometer
readings from users.
MEILI Travel Diary, which is a web app that allows
users to annotate trajectories into travel diaries.
MEILI Database, which is the database that stores both
the collected and annotated data.
MEILI API, which securely connects the Mobility
Collector and the Travel Diary to the Database.
MEILI AI, which is an Artificial Intelligence module that
automatically annotates the trajectories collected by
users.
7
Addressing the data bottleneck
MEILI Workflow
8
Addressing the data bottleneck
How does MEILI help?
MEILI is useful because:
it collects travel diaries on a large scale
it has passed the prototype stage and it has been / is
being used in different projects (travel diary automation,
travel behaviour studies, logistics) in different places
(Stockholm, Gothenburg, Singapore)
its source code is available under an open source
(copyleft) license free for everybody to use
it has all the perks of automated and centralized data
collection
9
Addressing the data bottleneck
Data used by MEILI
MEILI makes use of two types of data:
primary (needed to generate travel diaries)
– GPS points (collected via smartphones)
– schema of travel modes (based on project specifications)
– schema of purposes (based on project specifications)
auxiliary (improve AI predictions / aid user selection)
– Destination Point of Interest datasets
– Transportation Point of Interest datasets
10
Data collected by MEILI
Trips and triplegs
11
Deploying MEILI
One needs to take the following steps to deploy MEILI:
1. decide on hosting solution
2. decide on the travel modes and purpose schemas
3. create database according to the MEILI specifications
4. find auxiliary POI datasets
5. import auxiliary POI datasets in the MEILI database
according to specs
6. deploy web-app to the hosting solution
7. link database with web app
8. compile smartphone apps to point to the web host’s URLs
9. distribute smartphone apps and annotation website to
users / participants
12
Deploying MEILI
One needs to take the following steps to deploy MEILI:
1. decide on hosting solution
2. decide on the travel modes and purpose schemas
3. create database according to the MEILI specifications
4. find auxiliary POI datasets
5. import auxiliary POI datasets in the MEILI database
according to specs
6. deploy web-app to the hosting solution
7. link database with web app
8. compile smartphone apps to point to the web host’s URLs
9. distribute smartphone apps and annotation website to
users / participants
12
Deploying MEILI is an intimidating process!
How can we simplify it?
13
Simplifying MEILI deployment
What if...
1. decide on hosting solution
2. decide on the travel modes, and purpose schemas
3. create database according to the MEILI specifications
4. find auxiliary POI datasets
5. import auxiliary POI datasets in the MEILI database
according to specs
6. deploy web-app to the hosting solution
7. link database with web app
8. compile smartphone apps to point to the web host’s URLs
9. distribute smartphone apps and annotation website to
users / participants
14
Simplifying MEILI deployment
What if...
1. decide on hosting solution
2. decide on the travel modes, and purpose schemas
3. pipeline web-app deployment, database creation and POI
extraction
4. link database with web app
5. compile smartphone apps to point to the web host’s URLs
6. distribute smartphone apps and annotation website to
users / participants
14
Simplified deployment
In theory
15
Simplified deployment
In practice, for MEILI
16
Simplified deployment
A sequence of scripts
1. Download POI datasets from OSM using the Overpass
API via wget
17
Simplified deployment
A sequence of scripts
1. Download POI datasets from OSM using the Overpass
API via wget
2. Insert the downloaded POI datasets using osm2pgsql
17
Simplified deployment
A sequence of scripts
1. Download POI datasets from OSM using the Overpass
API via wget
2. Insert the downloaded POI datasets using osm2pgsql
3. Map the inserted POIs to MEILI tables
17
Parameterized deployment of MEILI
New initialization script added that:
creates and enables a database with the tables and
schemas needed by MEILI
retrieves the auxiliary data needed by MEILI
– Destination Points of Interest
– Transportation Points of Interest
runs the unit and integration tests
aids users in setting up the database connection in the
webapp
18
Example
To set up MEILI’s backend, run the following commands:
$ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git
$ cd MEILI-Travel-Diary/MEILI_Travel_Diary/
$ npm run init_meili_with_zone -- --namedb=meili_test_stockholm
--username=postgres --hostdb=localhost --min_lat=59.0836
--min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679
19
Example
To set up MEILI’s backend, run the following commands:
$ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git
$ cd MEILI-Travel-Diary/MEILI_Travel_Diary/
$ npm run init_meili_with_zone -- --namedb=meili_test_stockholm
--username=postgres --hostdb=localhost --min_lat=59.0836
--min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679
19
Example
To set up MEILI’s backend, run the following commands:
$ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git
$ cd MEILI-Travel-Diary/MEILI_Travel_Diary/
$ npm run init_meili_with_zone -- --namedb=meili_test_stockholm
--username=postgres --hostdb=localhost --min_lat=59.0836
--min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679
At this stage, MEILI is fully functional, if you also want to
test the web app, modify the routes/database.js file run:
$ npm start
20
After running script
Destination POIs (Full extent)
21
After running script
Destination POIs (Center of Stockholm)
21
After running script
Transportation POIs - Bus stops
22
After running script
Transportation POIs - Subway stops
22
POI data sources
Chose OSM because:
data are available world-wide
well documented APIs
you do not inherit extra costs
data are updated constantly
Special considerations:
Sometimes the OSM data quality (crowd source) or
coverage is insufficient for your project
– We decided to let users add their own POIs
– During one case study we had another data set for
transportation stations in a region of Stockholm and it was
troublesome to remove duplicates
For surveys over long periods of time (months / years),
you need to have a strategy for getting the updates from
upstream OSM
23
Summary
Introduced a strategy to easily deploy systems dependent
on auxiliary POI data to any place where OSM data is
available (and sufficient)
The strategy was shown for MEILI, an (semi-)automated
travel diary collection system
– it makes it easier to get MEILI up and running
– MEILI can be used anywhere now without overhead by:
relying on the availability of OSM data and crowd
sourced data inserted by case study participants
replacing / complementing OSM datasets with
proprietary / other data sets
running MEILI without any POI dataset
Illustrated the need of a good design and architecture for
travel diary collection systems.
24
Future work
Find an easy way to take in a schema of types of POI as
input
Find contributors and research advocates for MEILI
Identify the next bottlenecks for new users of MEILI (next
bottleneck is the smartphone apps recompilation and
deployment)
UI / UX improvements are needed
What features would make MEILI more useful?
25
References
Source code for MEILI https://github.com/Badger-MEILI
For publications on MEILI, see
http://adrianprelipcean.github.io/publications.html
For presentations on MEILI, see
https://www.slideshare.net/AdrianCPrelipcean
Other Open Source projects relevant for this presentation:
– PostgreSQL – https://www.postgresql.org/
– PostGIS – http://www.postgis.net/
– OSM – https://www.openstreetmap.org
– osm2pgsql –
https://github.com/openstreetmap/osm2pgsql
– Overpass API – http://overpass-api.de/
– Many others that MEILI is built on...
26
Thank you for your attention!
Questions and Discussions
Adrian C. Prelipcean
CTO, Airmee
Phd Student in Transport Science
KTH, Royal Institute of Technology
http://adrianprelipcean.github.io/
acpr@kth.se
@Adi Prelipcean
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

More Related Content

Similar to Strategies for the seamless deployment of travel diary collection systems to new regions

ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...Sean Barbeau
 
Search Engine Scrapper
Search Engine ScrapperSearch Engine Scrapper
Search Engine ScrapperIRJET Journal
 
Travelogue: A Travel Package Recommendation using Python
Travelogue: A Travel Package Recommendation using PythonTravelogue: A Travel Package Recommendation using Python
Travelogue: A Travel Package Recommendation using PythonIRJET Journal
 
BUTLER project presentation
BUTLER project presentationBUTLER project presentation
BUTLER project presentationbutler-iot
 
On how to build SDI using social networking principles in the scope of spatia...
On how to build SDI using social networking principles in the scope of spatia...On how to build SDI using social networking principles in the scope of spatia...
On how to build SDI using social networking principles in the scope of spatia...Beniamino Murgante
 
Dublinked tech workshop_15_dec2011
Dublinked tech workshop_15_dec2011Dublinked tech workshop_15_dec2011
Dublinked tech workshop_15_dec2011Dublinked .
 
Wirecloud hamburg kickoff
Wirecloud hamburg kickoffWirecloud hamburg kickoff
Wirecloud hamburg kickoffMiguel Jiménez
 
AI IN VEHICLE COUNTING (1).pptx
AI IN VEHICLE COUNTING (1).pptxAI IN VEHICLE COUNTING (1).pptx
AI IN VEHICLE COUNTING (1).pptxYash670955
 
Samuel_Wayfinding_Metropolia_2015
Samuel_Wayfinding_Metropolia_2015Samuel_Wayfinding_Metropolia_2015
Samuel_Wayfinding_Metropolia_2015dbelgi
 
Geophone -- Data Mining Presentation
Geophone -- Data Mining PresentationGeophone -- Data Mining Presentation
Geophone -- Data Mining PresentationRicardo Aguirre
 
IRJET- Popularity based Recommender Sytsem for Google Maps
IRJET-  	  Popularity based Recommender Sytsem for Google MapsIRJET-  	  Popularity based Recommender Sytsem for Google Maps
IRJET- Popularity based Recommender Sytsem for Google MapsIRJET Journal
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetsymbiote-h2020
 
How Open Data can help entrepreneurs - ITFest 2014 E2
How Open Data can help entrepreneurs - ITFest 2014 E2How Open Data can help entrepreneurs - ITFest 2014 E2
How Open Data can help entrepreneurs - ITFest 2014 E2Sammy Fung
 
Social Space for Geospatial Information
Social Space for Geospatial InformationSocial Space for Geospatial Information
Social Space for Geospatial InformationNaturNetPlus
 
Ist africa paper_ref_115_doc_3988
Ist africa paper_ref_115_doc_3988Ist africa paper_ref_115_doc_3988
Ist africa paper_ref_115_doc_3988Karel Charvat
 
Social Space for Geospatial Information
Social Space for Geospatial InformationSocial Space for Geospatial Information
Social Space for Geospatial InformationNaturNetPlus
 
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...MindYourPrivacy: Design and Implementation of a Visualization System for Thir...
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...Yuuki Takano
 
Data Science in the Elastic Stack
Data Science in the Elastic StackData Science in the Elastic Stack
Data Science in the Elastic StackRochelle Sonnenberg
 
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Paolo Nesi
 
Gps general-training-and-software-applications-kuala lumpur-nov-2018
Gps general-training-and-software-applications-kuala lumpur-nov-2018Gps general-training-and-software-applications-kuala lumpur-nov-2018
Gps general-training-and-software-applications-kuala lumpur-nov-2018Harshali Mane
 

Similar to Strategies for the seamless deployment of travel diary collection systems to new regions (20)

ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
 
Search Engine Scrapper
Search Engine ScrapperSearch Engine Scrapper
Search Engine Scrapper
 
Travelogue: A Travel Package Recommendation using Python
Travelogue: A Travel Package Recommendation using PythonTravelogue: A Travel Package Recommendation using Python
Travelogue: A Travel Package Recommendation using Python
 
BUTLER project presentation
BUTLER project presentationBUTLER project presentation
BUTLER project presentation
 
On how to build SDI using social networking principles in the scope of spatia...
On how to build SDI using social networking principles in the scope of spatia...On how to build SDI using social networking principles in the scope of spatia...
On how to build SDI using social networking principles in the scope of spatia...
 
Dublinked tech workshop_15_dec2011
Dublinked tech workshop_15_dec2011Dublinked tech workshop_15_dec2011
Dublinked tech workshop_15_dec2011
 
Wirecloud hamburg kickoff
Wirecloud hamburg kickoffWirecloud hamburg kickoff
Wirecloud hamburg kickoff
 
AI IN VEHICLE COUNTING (1).pptx
AI IN VEHICLE COUNTING (1).pptxAI IN VEHICLE COUNTING (1).pptx
AI IN VEHICLE COUNTING (1).pptx
 
Samuel_Wayfinding_Metropolia_2015
Samuel_Wayfinding_Metropolia_2015Samuel_Wayfinding_Metropolia_2015
Samuel_Wayfinding_Metropolia_2015
 
Geophone -- Data Mining Presentation
Geophone -- Data Mining PresentationGeophone -- Data Mining Presentation
Geophone -- Data Mining Presentation
 
IRJET- Popularity based Recommender Sytsem for Google Maps
IRJET-  	  Popularity based Recommender Sytsem for Google MapsIRJET-  	  Popularity based Recommender Sytsem for Google Maps
IRJET- Popularity based Recommender Sytsem for Google Maps
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slideset
 
How Open Data can help entrepreneurs - ITFest 2014 E2
How Open Data can help entrepreneurs - ITFest 2014 E2How Open Data can help entrepreneurs - ITFest 2014 E2
How Open Data can help entrepreneurs - ITFest 2014 E2
 
Social Space for Geospatial Information
Social Space for Geospatial InformationSocial Space for Geospatial Information
Social Space for Geospatial Information
 
Ist africa paper_ref_115_doc_3988
Ist africa paper_ref_115_doc_3988Ist africa paper_ref_115_doc_3988
Ist africa paper_ref_115_doc_3988
 
Social Space for Geospatial Information
Social Space for Geospatial InformationSocial Space for Geospatial Information
Social Space for Geospatial Information
 
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...MindYourPrivacy: Design and Implementation of a Visualization System for Thir...
MindYourPrivacy: Design and Implementation of a Visualization System for Thir...
 
Data Science in the Elastic Stack
Data Science in the Elastic StackData Science in the Elastic Stack
Data Science in the Elastic Stack
 
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
Snap4City November 2019 Course: Smart City IOT Data Ingestion Interoperabilit...
 
Gps general-training-and-software-applications-kuala lumpur-nov-2018
Gps general-training-and-software-applications-kuala lumpur-nov-2018Gps general-training-and-software-applications-kuala lumpur-nov-2018
Gps general-training-and-software-applications-kuala lumpur-nov-2018
 

Recently uploaded

Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfSumit Kumar yadav
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .Poonam Aher Patil
 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptRakeshMohan42
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Silpa
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professormuralinath2
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...Monika Rani
 
Exploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdfExploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdfrohankumarsinghrore1
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptxryanrooker
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingadibshanto115
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxrohankumarsinghrore1
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusNazaninKarimi6
 

Recently uploaded (20)

Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.ppt
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
 
Exploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdfExploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdf
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptx
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 

Strategies for the seamless deployment of travel diary collection systems to new regions

  • 1. Strategies for the seamless deployment of travel diary collection systems to new regions A. C. Prelipcean, Y. O. Susilo Department of Transportation Science KTH Royal Institute of Technology acpr@kth.se @Adi Prelipcean adrianprelipcean.github.io 31 May 2017
  • 2. Travel behaviour How do we use travel behaviour? Some of the main reasons for analyzing travel behaviour are: to investigate the reasons and mechanisms that underlie an individual’s travel decision making process, 2
  • 3. Travel behaviour How do we use travel behaviour? Some of the main reasons for analyzing travel behaviour are: to investigate the reasons and mechanisms that underlie an individual’s travel decision making process, to predict the effect of implementing new transportation policies or changing the transportation infrastructure, or 2
  • 4. Travel behaviour How do we use travel behaviour? Some of the main reasons for analyzing travel behaviour are: to investigate the reasons and mechanisms that underlie an individual’s travel decision making process, to predict the effect of implementing new transportation policies or changing the transportation infrastructure, or to understand the dynamic of transportation movement within study areas. 2
  • 5. (Activity) Travel diaries What are they? A way of summarizing where, why and how a user traveled during a defined time frame by specifying: The destination of a trip Img: http://soarministries.com/hp_wordpress/wp-content/uploads/2011/08/Destinations-Icon.jpg 3
  • 6. (Activity) Travel diaries What are they? A way of summarizing where, why and how a user traveled during a defined time frame by specifying: The destination of a trip The trip’s purpose Img: https://cdn2.vox-cdn.com/thumbor/93Yaxs7y3Tb8tzFfppyRsSn_yN8=/1020x0/cdn0.vox-cdn.com/ 3
  • 7. (Activity) Travel diaries What are they? A way of summarizing where, why and how a user traveled during a defined time frame by specifying: The destination of a trip The trip’s purpose The means of transportation, i.e., trip legs Img: https://d3ui957tjb5bqd.cloudfront.net/images/screenshots/products/4/42/42990/ 3
  • 8. (Activity) Travel diaries How to collect them? Traditionally - Users declare what they have done in a survey, e.g., PP or CATI Img: http://www.schoolsurveyexperts.co.uk/i/photos/paper_survey.jpg 4
  • 9. (Activity) Travel diaries How to collect them? Traditionally - Users declare what they have done in a survey, e.g., PP or CATI New methods - E.g., GPS collection + Web and Mobile GIS based interaction 4
  • 10. (Activity) Travel diaries How to collect them? Traditionally - Users declare what they have done in a survey, e.g., PP or CATI New methods - E.g., GPS collection + Web and Mobile GIS based interaction 4
  • 11. “Any improvements made anywhere besides the bottleneck are an illusion.” Gene Kim, The Phoenix Project 5
  • 12. “Any improvements made anywhere besides the bottleneck are an illusion.” Gene Kim, The Phoenix Project Img: https://www.unitedsystemsok.com/resources/blog/ how-a-small-bottleneck-issue-can-significantly-hinder-network-performance 5
  • 13. Bottlenecks in travel behaviour There are two main bottlenecks in current travel behaviour studies: Lack of data (immediate bottleneck), and Lack of relevant performance measures 6
  • 14. Bottlenecks in travel behaviour There are two main bottlenecks in current travel behaviour studies: Lack of data (immediate bottleneck), and Lack of relevant performance measures 6
  • 15. Addressing the data bottleneck Making data collection widely available MEILI-travel diary collection, annotation & automation system MEILI Mobility Collector, which is a smartphone app that collects trajectories fused with accelerometer readings from users. MEILI Travel Diary, which is a web app that allows users to annotate trajectories into travel diaries. MEILI Database, which is the database that stores both the collected and annotated data. MEILI API, which securely connects the Mobility Collector and the Travel Diary to the Database. MEILI AI, which is an Artificial Intelligence module that automatically annotates the trajectories collected by users. 7
  • 16. Addressing the data bottleneck MEILI Workflow 8
  • 17. Addressing the data bottleneck How does MEILI help? MEILI is useful because: it collects travel diaries on a large scale it has passed the prototype stage and it has been / is being used in different projects (travel diary automation, travel behaviour studies, logistics) in different places (Stockholm, Gothenburg, Singapore) its source code is available under an open source (copyleft) license free for everybody to use it has all the perks of automated and centralized data collection 9
  • 18. Addressing the data bottleneck Data used by MEILI MEILI makes use of two types of data: primary (needed to generate travel diaries) – GPS points (collected via smartphones) – schema of travel modes (based on project specifications) – schema of purposes (based on project specifications) auxiliary (improve AI predictions / aid user selection) – Destination Point of Interest datasets – Transportation Point of Interest datasets 10
  • 19. Data collected by MEILI Trips and triplegs 11
  • 20. Deploying MEILI One needs to take the following steps to deploy MEILI: 1. decide on hosting solution 2. decide on the travel modes and purpose schemas 3. create database according to the MEILI specifications 4. find auxiliary POI datasets 5. import auxiliary POI datasets in the MEILI database according to specs 6. deploy web-app to the hosting solution 7. link database with web app 8. compile smartphone apps to point to the web host’s URLs 9. distribute smartphone apps and annotation website to users / participants 12
  • 21. Deploying MEILI One needs to take the following steps to deploy MEILI: 1. decide on hosting solution 2. decide on the travel modes and purpose schemas 3. create database according to the MEILI specifications 4. find auxiliary POI datasets 5. import auxiliary POI datasets in the MEILI database according to specs 6. deploy web-app to the hosting solution 7. link database with web app 8. compile smartphone apps to point to the web host’s URLs 9. distribute smartphone apps and annotation website to users / participants 12
  • 22. Deploying MEILI is an intimidating process! How can we simplify it? 13
  • 23. Simplifying MEILI deployment What if... 1. decide on hosting solution 2. decide on the travel modes, and purpose schemas 3. create database according to the MEILI specifications 4. find auxiliary POI datasets 5. import auxiliary POI datasets in the MEILI database according to specs 6. deploy web-app to the hosting solution 7. link database with web app 8. compile smartphone apps to point to the web host’s URLs 9. distribute smartphone apps and annotation website to users / participants 14
  • 24. Simplifying MEILI deployment What if... 1. decide on hosting solution 2. decide on the travel modes, and purpose schemas 3. pipeline web-app deployment, database creation and POI extraction 4. link database with web app 5. compile smartphone apps to point to the web host’s URLs 6. distribute smartphone apps and annotation website to users / participants 14
  • 27. Simplified deployment A sequence of scripts 1. Download POI datasets from OSM using the Overpass API via wget 17
  • 28. Simplified deployment A sequence of scripts 1. Download POI datasets from OSM using the Overpass API via wget 2. Insert the downloaded POI datasets using osm2pgsql 17
  • 29. Simplified deployment A sequence of scripts 1. Download POI datasets from OSM using the Overpass API via wget 2. Insert the downloaded POI datasets using osm2pgsql 3. Map the inserted POIs to MEILI tables 17
  • 30. Parameterized deployment of MEILI New initialization script added that: creates and enables a database with the tables and schemas needed by MEILI retrieves the auxiliary data needed by MEILI – Destination Points of Interest – Transportation Points of Interest runs the unit and integration tests aids users in setting up the database connection in the webapp 18
  • 31. Example To set up MEILI’s backend, run the following commands: $ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git $ cd MEILI-Travel-Diary/MEILI_Travel_Diary/ $ npm run init_meili_with_zone -- --namedb=meili_test_stockholm --username=postgres --hostdb=localhost --min_lat=59.0836 --min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679 19
  • 32. Example To set up MEILI’s backend, run the following commands: $ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git $ cd MEILI-Travel-Diary/MEILI_Travel_Diary/ $ npm run init_meili_with_zone -- --namedb=meili_test_stockholm --username=postgres --hostdb=localhost --min_lat=59.0836 --min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679 19
  • 33. Example To set up MEILI’s backend, run the following commands: $ git clone git://github.com/Badger-MEILI/MEILI-Travel-Diary.git $ cd MEILI-Travel-Diary/MEILI_Travel_Diary/ $ npm run init_meili_with_zone -- --namedb=meili_test_stockholm --username=postgres --hostdb=localhost --min_lat=59.0836 --min_lon=17.3584 --max_lat=59.8352 --max_lon=18.9679 At this stage, MEILI is fully functional, if you also want to test the web app, modify the routes/database.js file run: $ npm start 20
  • 34. After running script Destination POIs (Full extent) 21
  • 35. After running script Destination POIs (Center of Stockholm) 21
  • 36. After running script Transportation POIs - Bus stops 22
  • 37. After running script Transportation POIs - Subway stops 22
  • 38. POI data sources Chose OSM because: data are available world-wide well documented APIs you do not inherit extra costs data are updated constantly Special considerations: Sometimes the OSM data quality (crowd source) or coverage is insufficient for your project – We decided to let users add their own POIs – During one case study we had another data set for transportation stations in a region of Stockholm and it was troublesome to remove duplicates For surveys over long periods of time (months / years), you need to have a strategy for getting the updates from upstream OSM 23
  • 39. Summary Introduced a strategy to easily deploy systems dependent on auxiliary POI data to any place where OSM data is available (and sufficient) The strategy was shown for MEILI, an (semi-)automated travel diary collection system – it makes it easier to get MEILI up and running – MEILI can be used anywhere now without overhead by: relying on the availability of OSM data and crowd sourced data inserted by case study participants replacing / complementing OSM datasets with proprietary / other data sets running MEILI without any POI dataset Illustrated the need of a good design and architecture for travel diary collection systems. 24
  • 40. Future work Find an easy way to take in a schema of types of POI as input Find contributors and research advocates for MEILI Identify the next bottlenecks for new users of MEILI (next bottleneck is the smartphone apps recompilation and deployment) UI / UX improvements are needed What features would make MEILI more useful? 25
  • 41. References Source code for MEILI https://github.com/Badger-MEILI For publications on MEILI, see http://adrianprelipcean.github.io/publications.html For presentations on MEILI, see https://www.slideshare.net/AdrianCPrelipcean Other Open Source projects relevant for this presentation: – PostgreSQL – https://www.postgresql.org/ – PostGIS – http://www.postgis.net/ – OSM – https://www.openstreetmap.org – osm2pgsql – https://github.com/openstreetmap/osm2pgsql – Overpass API – http://overpass-api.de/ – Many others that MEILI is built on... 26
  • 42. Thank you for your attention! Questions and Discussions Adrian C. Prelipcean CTO, Airmee Phd Student in Transport Science KTH, Royal Institute of Technology http://adrianprelipcean.github.io/ acpr@kth.se @Adi Prelipcean This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.