SlideShare a Scribd company logo
#AppsForGhent2011
                         Team iText:
                     Ik let op mijn lijn

1T3XT BVBA, the iText Company              http://itextpdf.com/
Doel van onze deelname
• We willen kennis maken met de data die
  ter beschikking wordt gesteld, vooral de
  informatie van De Lijn
• We willen daarmee iets doen in PDF:
    – Waarom PDF? Because we love PDF
    – We willen offline gebruik mogelijk maken,
      zonder verlies van interactiviteit



1T3XT BVBA, the iText Company       http://itextpdf.com/
Voorbeeld
• Kaart met verschillende lagen die verschillende
  bustrajecten tonen
• Zie figuur 15.4 uit “iText in Action”




1T3XT BVBA, the iText Company        http://itextpdf.com/
Maar nu met data van De Lijn
• Kaarten op maat van de gebruiker
    – Met beperkte selectie van ritten
    – Met overzicht van alternatieve trajecten
      tussen vertrekpunt en eindbestemming
• Dat was de bedoeling, maar:
    – Veel data, weinig tijd
    – Eerst analyse van de data nodig



1T3XT BVBA, the iText Company           http://itextpdf.com/
Stap 1

                 BEGRIJPEN VAN DE DATA


1T3XT BVBA, the iText Company   http://itextpdf.com/
Stap 1: begrijpen van de data
• Tabel vvm_calendar:
    – 8107 records
    – Datums van 7 april 2011 tot 8 oktober 2011
    – Per dag: verschillende “vehicle schedules”
    – Vraag: hoe moeten we die schedules
      interpreteren?




1T3XT BVBA, the iText Company       http://itextpdf.com/
Stap 1: begrijpen van de data
• Tabel vvm_route:
    – 4464 records
    – Ongeveer 1200 routes (verschillende versies)
    – Bij voorbeeld lijn 1:
        • 2010: Gent Fl. Expo – Korenmarkt (2 versies)
        • 2101: Gent Fl. Expo - Gent St.Pieters - Evergem
          Brielken (5 versies)
        • 2110: Gent Flanders Expo - Wondelgem
          Industrieweg (5 versies)

1T3XT BVBA, the iText Company              http://itextpdf.com/
Stap 1: begrijpen van de data
• Tabel vvm_trip:
    – 279702 records
    – Ritten zijn afhankelijk van kalender
        • Link met vvm_calendar via “vehicle schedule”.
    – Verschillende ritten per dag
        • Elke busrit op een route heeft een trip-record
    – Ritten bestaan uit segmenten
        • Zie table vvm_segmenten
    – Ritten hebben een begin- en eindplaats
        • Zie tabel vvm_places


1T3XT BVBA, the iText Company                  http://itextpdf.com/
Stap 1: begrijpen van de data
• Tabel vvm_place:
    – 12539 records
    – Plaatsnaam zonder coördinaat
• Tabel vvm_segment
    – Meer dan 11 miljoen records!
    – Niet echt segment, maar halte
        • Verwijzing naar vvm_stop
    – Met start- en eindtijd (aankomst, vertrek?)

1T3XT BVBA, the iText Company         http://itextpdf.com/
Stap 1: begrijpen van de data
• Tabel vvm_stop:
    – 42904 records
    – Lambert coördinaat van elke halte
    – Verdere info over de halte
        • Beschrijving (naam),
        • Straatnaam,
        • Gemeente,...




1T3XT BVBA, the iText Company       http://itextpdf.com/
Stap 2

                  IETS DOEN MET DE DATA


1T3XT BVBA, the iText Company   http://itextpdf.com/
Stap 2: iets doen met de data
• Welke lijnen hebben betrekking op Gent?
• SELECT route_public_identifier,
  route_description, route_identifier,
  route_version, route_id FROM
  vvm_route WHERE route_description
  LIKE '%GENT%' ORDER BY
  route_public_identifier


1T3XT BVBA, the iText Company   http://itextpdf.com/
Stap 2: iets doen met de data
• Welke trips komen overeen met die routes met
  vehicle schedule id 1610 (vrijdag 8 april 2011)?
• SELECT trip.trip_id, f.place_description,
  trip.trip_time_24h_start, t.place_description,
  trip.trip_time_24h_end FROM vvm_trip trip,
  vvm_place f, vvm_place t WHERE trip.route_id =
  ? AND trip.place_identifier_start = f.place_id AND
  trip.place_identifier_end = t.place_id AND
  trip.vehicle_schedule_id = 1610 ORDER BY
  trip.trip_time_24h_start, trip.trip_id


1T3XT BVBA, the iText Company         http://itextpdf.com/
Stap 2: iets doen met de data




1T3XT BVBA, the iText Company   http://itextpdf.com/
Stap 2: iets doen met de data
•   We kiezen een trip, bvb 694575
•   Van 8:34: Evergem Brielken
•   Tot 9:24: Sint-Denijs-Westrem Fl. Expo
•   SELECT sgmnt_sequence,
    segment.sgmnt_time_24h_start,
    segment.sgmnt_time_24h_end,
    stop.stop_description, stop.stop_street,
    stop.stop_coordinate_x_lambert72,
    stop.stop_coordinate_y_lambert72 FROM
    vvm_segment segment, vvm_stop stop WHERE
    segment.trip_id = 694575 AND segment.stop_id
    = stop.stop_id ORDER BY sgmnt_sequence

1T3XT BVBA, the iText Company       http://itextpdf.com/
Stap 2: iets doen met de data




1T3XT BVBA, the iText Company   http://itextpdf.com/
Stap 2: iets doen met de data




1T3XT BVBA, the iText Company   http://itextpdf.com/
Na #AppsForGhent

                   RESULTAAT TOT NU TOE


1T3XT BVBA, the iText Company    http://itextpdf.com/
Resultaat na #appsforghent
• We kunnen een busrit tekenen in PDF
• We hebben een beter zicht op de
  geleverde data
• We hebben een beter zicht op wat we
  met de data kunnen doen
MAAR:
• De “lijngids op maat” is verre van af!

1T3XT BVBA, the iText Company   http://itextpdf.com/
Hoe verder na #AppsForGhent

                           TODO: STAP 3 TOT 5


1T3XT BVBA, the iText Company              http://itextpdf.com/
[TODO] Stap 3: werkdata
• Een subset maken van de data
    – Maakt het gemakkelijker om te testen
    – De subset beperken tot een paar dagen en
      ritten in het Gentse
• Een raster image van Gent zoeken
    – Bijvoorbeeld images opvragen bij OSM
    – Die images gebruiken als onderliggende laag
      van de kaart

1T3XT BVBA, the iText Company       http://itextpdf.com/
[TODO] Stap 4: POC
• Een webapplicatie maken:
    – Waarbij de gebruiker een selectie van busritten
      kan selecteren
    – Waarbij een PDF gemaakt wordt die alle
      geselecteerde ritten toont op een kaart in
      verschillende lagen van “optional content”
• Haalbaarheid: korte termijn
    –   Weinig “intelligence” nodig
    –   Alle elementen zijn reeds voorhanden
    –   Grootste uitdaging: mooie presentatie
    –   Wij kunnen dit op ons eentje bij wijze van POC

1T3XT BVBA, the iText Company            http://itextpdf.com/
[TODO] Stap 5: applicatie
• Een webapplicatie maken:
    – Waarbij een gebruiker een begin- en eindhalte
      kan kiezen
    – Waarbij een PDF gemaakt wordt met alle
      mogelijke trajecten/uurregelingen
• Haalbaarheid: langere termijn
    –   Meer algoritmes, meer processing nodig
    –   Complexere tabellen
    –   Complexere tabellen
    –   We doen dit liever niet op ons eentje, wel
        eventueel in samenwerking met De Lijn, iRail,...

1T3XT BVBA, the iText Company             http://itextpdf.com/
#AppsForGhent was...

                                     BESLUIT


1T3XT BVBA, the iText Company       http://itextpdf.com/
Besluit
•   #AppsForGhent was leuk
•   #AppsForGhent was leerrijk
•   #AppsForGhent was een uitdaging
•   #AppsForGhent was geen eindpunt
•   Wordt vervolgd!




1T3XT BVBA, the iText Company             http://itextpdf.com/

More Related Content

Viewers also liked

Cumple césar
Cumple césarCumple césar
Cumple césarbesanja
 
Gatos lindos y graciosos
Gatos lindos y graciososGatos lindos y graciosos
Gatos lindos y graciososbesanja
 
Startup Weekend Ghent
Startup Weekend GhentStartup Weekend Ghent
Startup Weekend Ghent
Bruno Lowagie
 
Startup Legal and IP
Startup Legal and IPStartup Legal and IP
Startup Legal and IP
Bruno Lowagie
 
What's new in PDF 2.0 regarding digital signatures
What's new in PDF 2.0 regarding digital signaturesWhat's new in PDF 2.0 regarding digital signatures
What's new in PDF 2.0 regarding digital signatures
Bruno Lowagie
 
FOTOGRAMETRÍA
FOTOGRAMETRÍAFOTOGRAMETRÍA
FOTOGRAMETRÍA
Luis Cano Ramos
 
PDF Digital signatures
PDF Digital signaturesPDF Digital signatures
PDF Digital signatures
Bruno Lowagie
 
Uso Catia v5
Uso Catia v5Uso Catia v5
Uso Catia v5
Juan Espinosa
 
Nonverbal Communication
Nonverbal CommunicationNonverbal Communication
Nonverbal CommunicationAnirak
 
How can large open source projects be monetized?
How can large open source projects be monetized?How can large open source projects be monetized?
How can large open source projects be monetized?
Bruno Lowagie
 

Viewers also liked (11)

Real revision
Real revisionReal revision
Real revision
 
Cumple césar
Cumple césarCumple césar
Cumple césar
 
Gatos lindos y graciosos
Gatos lindos y graciososGatos lindos y graciosos
Gatos lindos y graciosos
 
Startup Weekend Ghent
Startup Weekend GhentStartup Weekend Ghent
Startup Weekend Ghent
 
Startup Legal and IP
Startup Legal and IPStartup Legal and IP
Startup Legal and IP
 
What's new in PDF 2.0 regarding digital signatures
What's new in PDF 2.0 regarding digital signaturesWhat's new in PDF 2.0 regarding digital signatures
What's new in PDF 2.0 regarding digital signatures
 
FOTOGRAMETRÍA
FOTOGRAMETRÍAFOTOGRAMETRÍA
FOTOGRAMETRÍA
 
PDF Digital signatures
PDF Digital signaturesPDF Digital signatures
PDF Digital signatures
 
Uso Catia v5
Uso Catia v5Uso Catia v5
Uso Catia v5
 
Nonverbal Communication
Nonverbal CommunicationNonverbal Communication
Nonverbal Communication
 
How can large open source projects be monetized?
How can large open source projects be monetized?How can large open source projects be monetized?
How can large open source projects be monetized?
 

Similar to De lijn

De Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source ToolsDe Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source Tools
Just van den Broecke
 
CV_Spronk Ingrid_SMART Analyses_NL
CV_Spronk Ingrid_SMART Analyses_NLCV_Spronk Ingrid_SMART Analyses_NL
CV_Spronk Ingrid_SMART Analyses_NLIngrid Spronk
 
Meetup 20092018 - Eindhoven Smart Society en sensorprojecten
Meetup 20092018 - Eindhoven Smart Society en sensorprojectenMeetup 20092018 - Eindhoven Smart Society en sensorprojecten
Meetup 20092018 - Eindhoven Smart Society en sensorprojecten
VNG Realisatie
 
151127 leveranciersbijeenkomst efactureren_
151127 leveranciersbijeenkomst efactureren_151127 leveranciersbijeenkomst efactureren_
151127 leveranciersbijeenkomst efactureren_
KING
 
Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni   dcatGebruikersbijeenkomst data.overheid.nl 30 juni   dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
Jeffrey Cafferata
 
Big Data en Open Data
Big Data en Open DataBig Data en Open Data
Big Data en Open Data
Bart Hanssens
 
Ecp digitalehandtekening 20131203
Ecp digitalehandtekening 20131203Ecp digitalehandtekening 20131203
Ecp digitalehandtekening 20131203
Bart Hanssens
 
Kvan11 semistatisch archief en het e-depot - sander ujzanovitch
Kvan11   semistatisch archief en het e-depot - sander ujzanovitchKvan11   semistatisch archief en het e-depot - sander ujzanovitch
Kvan11 semistatisch archief en het e-depot - sander ujzanovitchKVANdagen
 
Van inktpot naar i pad
Van inktpot naar i padVan inktpot naar i pad
Van inktpot naar i pad
rolfcraenen
 

Similar to De lijn (9)

De Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source ToolsDe Levenscyclus van Open Geodata met Open Source Tools
De Levenscyclus van Open Geodata met Open Source Tools
 
CV_Spronk Ingrid_SMART Analyses_NL
CV_Spronk Ingrid_SMART Analyses_NLCV_Spronk Ingrid_SMART Analyses_NL
CV_Spronk Ingrid_SMART Analyses_NL
 
Meetup 20092018 - Eindhoven Smart Society en sensorprojecten
Meetup 20092018 - Eindhoven Smart Society en sensorprojectenMeetup 20092018 - Eindhoven Smart Society en sensorprojecten
Meetup 20092018 - Eindhoven Smart Society en sensorprojecten
 
151127 leveranciersbijeenkomst efactureren_
151127 leveranciersbijeenkomst efactureren_151127 leveranciersbijeenkomst efactureren_
151127 leveranciersbijeenkomst efactureren_
 
Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni   dcatGebruikersbijeenkomst data.overheid.nl 30 juni   dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
 
Big Data en Open Data
Big Data en Open DataBig Data en Open Data
Big Data en Open Data
 
Ecp digitalehandtekening 20131203
Ecp digitalehandtekening 20131203Ecp digitalehandtekening 20131203
Ecp digitalehandtekening 20131203
 
Kvan11 semistatisch archief en het e-depot - sander ujzanovitch
Kvan11   semistatisch archief en het e-depot - sander ujzanovitchKvan11   semistatisch archief en het e-depot - sander ujzanovitch
Kvan11 semistatisch archief en het e-depot - sander ujzanovitch
 
Van inktpot naar i pad
Van inktpot naar i padVan inktpot naar i pad
Van inktpot naar i pad
 

More from Bruno Lowagie

The Dark Magic of Start-Up Valuation
The Dark Magic of Start-Up ValuationThe Dark Magic of Start-Up Valuation
The Dark Magic of Start-Up Valuation
Bruno Lowagie
 
Open Source Survival: A Story from the Trenches
Open Source Survival: A Story from the TrenchesOpen Source Survival: A Story from the Trenches
Open Source Survival: A Story from the Trenches
Bruno Lowagie
 
Entreprenerd: presenting the book
Entreprenerd: presenting the bookEntreprenerd: presenting the book
Entreprenerd: presenting the book
Bruno Lowagie
 
The Secret of your Success
The Secret of your SuccessThe Secret of your Success
The Secret of your Success
Bruno Lowagie
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the future
Bruno Lowagie
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
Bruno Lowagie
 
Digital Signatures in PDF: how it's done
Digital Signatures in PDF: how it's doneDigital Signatures in PDF: how it's done
Digital Signatures in PDF: how it's done
Bruno Lowagie
 
Open source: an introduction to IP and Legal
Open source: an introduction to IP and LegalOpen source: an introduction to IP and Legal
Open source: an introduction to IP and Legal
Bruno Lowagie
 
How can large open source projects be monetized?
How can large open source projects be monetized?How can large open source projects be monetized?
How can large open source projects be monetized?
Bruno Lowagie
 
Waarom iText de Leeuw van de Export 2016 moet winnen
Waarom iText de Leeuw van de Export 2016 moet winnenWaarom iText de Leeuw van de Export 2016 moet winnen
Waarom iText de Leeuw van de Export 2016 moet winnen
Bruno Lowagie
 
Belgium and the US: a mutual introduction
Belgium and the US: a mutual introductionBelgium and the US: a mutual introduction
Belgium and the US: a mutual introduction
Bruno Lowagie
 
Four failures and one hit
Four failures and one hitFour failures and one hit
Four failures and one hit
Bruno Lowagie
 
Doing business in the US: Yes, You Can!
Doing business in the US: Yes, You Can!Doing business in the US: Yes, You Can!
Doing business in the US: Yes, You Can!
Bruno Lowagie
 
Community Leadership Summit - Calistoga March 2013
Community Leadership Summit - Calistoga March 2013Community Leadership Summit - Calistoga March 2013
Community Leadership Summit - Calistoga March 2013
Bruno Lowagie
 
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisionsBizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
Bruno Lowagie
 
GentM #9: Business Angels
GentM #9: Business AngelsGentM #9: Business Angels
GentM #9: Business Angels
Bruno Lowagie
 
Zenika - iText in Action
Zenika - iText in ActionZenika - iText in Action
Zenika - iText in Action
Bruno Lowagie
 
A Hippopotamus for Christmas
A Hippopotamus for ChristmasA Hippopotamus for Christmas
A Hippopotamus for Christmas
Bruno Lowagie
 
iText IP Review
iText IP ReviewiText IP Review
iText IP Review
Bruno Lowagie
 

More from Bruno Lowagie (19)

The Dark Magic of Start-Up Valuation
The Dark Magic of Start-Up ValuationThe Dark Magic of Start-Up Valuation
The Dark Magic of Start-Up Valuation
 
Open Source Survival: A Story from the Trenches
Open Source Survival: A Story from the TrenchesOpen Source Survival: A Story from the Trenches
Open Source Survival: A Story from the Trenches
 
Entreprenerd: presenting the book
Entreprenerd: presenting the bookEntreprenerd: presenting the book
Entreprenerd: presenting the book
 
The Secret of your Success
The Secret of your SuccessThe Secret of your Success
The Secret of your Success
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the future
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
Digital Signatures in PDF: how it's done
Digital Signatures in PDF: how it's doneDigital Signatures in PDF: how it's done
Digital Signatures in PDF: how it's done
 
Open source: an introduction to IP and Legal
Open source: an introduction to IP and LegalOpen source: an introduction to IP and Legal
Open source: an introduction to IP and Legal
 
How can large open source projects be monetized?
How can large open source projects be monetized?How can large open source projects be monetized?
How can large open source projects be monetized?
 
Waarom iText de Leeuw van de Export 2016 moet winnen
Waarom iText de Leeuw van de Export 2016 moet winnenWaarom iText de Leeuw van de Export 2016 moet winnen
Waarom iText de Leeuw van de Export 2016 moet winnen
 
Belgium and the US: a mutual introduction
Belgium and the US: a mutual introductionBelgium and the US: a mutual introduction
Belgium and the US: a mutual introduction
 
Four failures and one hit
Four failures and one hitFour failures and one hit
Four failures and one hit
 
Doing business in the US: Yes, You Can!
Doing business in the US: Yes, You Can!Doing business in the US: Yes, You Can!
Doing business in the US: Yes, You Can!
 
Community Leadership Summit - Calistoga March 2013
Community Leadership Summit - Calistoga March 2013Community Leadership Summit - Calistoga March 2013
Community Leadership Summit - Calistoga March 2013
 
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisionsBizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
Bizcamp #8: The Founder's Dilemmas, Control vs. Wealth decisions
 
GentM #9: Business Angels
GentM #9: Business AngelsGentM #9: Business Angels
GentM #9: Business Angels
 
Zenika - iText in Action
Zenika - iText in ActionZenika - iText in Action
Zenika - iText in Action
 
A Hippopotamus for Christmas
A Hippopotamus for ChristmasA Hippopotamus for Christmas
A Hippopotamus for Christmas
 
iText IP Review
iText IP ReviewiText IP Review
iText IP Review
 

De lijn

  • 1. #AppsForGhent2011 Team iText: Ik let op mijn lijn 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 2. Doel van onze deelname • We willen kennis maken met de data die ter beschikking wordt gesteld, vooral de informatie van De Lijn • We willen daarmee iets doen in PDF: – Waarom PDF? Because we love PDF – We willen offline gebruik mogelijk maken, zonder verlies van interactiviteit 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 3. Voorbeeld • Kaart met verschillende lagen die verschillende bustrajecten tonen • Zie figuur 15.4 uit “iText in Action” 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 4. Maar nu met data van De Lijn • Kaarten op maat van de gebruiker – Met beperkte selectie van ritten – Met overzicht van alternatieve trajecten tussen vertrekpunt en eindbestemming • Dat was de bedoeling, maar: – Veel data, weinig tijd – Eerst analyse van de data nodig 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 5. Stap 1 BEGRIJPEN VAN DE DATA 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 6. Stap 1: begrijpen van de data • Tabel vvm_calendar: – 8107 records – Datums van 7 april 2011 tot 8 oktober 2011 – Per dag: verschillende “vehicle schedules” – Vraag: hoe moeten we die schedules interpreteren? 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 7. Stap 1: begrijpen van de data • Tabel vvm_route: – 4464 records – Ongeveer 1200 routes (verschillende versies) – Bij voorbeeld lijn 1: • 2010: Gent Fl. Expo – Korenmarkt (2 versies) • 2101: Gent Fl. Expo - Gent St.Pieters - Evergem Brielken (5 versies) • 2110: Gent Flanders Expo - Wondelgem Industrieweg (5 versies) 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 8. Stap 1: begrijpen van de data • Tabel vvm_trip: – 279702 records – Ritten zijn afhankelijk van kalender • Link met vvm_calendar via “vehicle schedule”. – Verschillende ritten per dag • Elke busrit op een route heeft een trip-record – Ritten bestaan uit segmenten • Zie table vvm_segmenten – Ritten hebben een begin- en eindplaats • Zie tabel vvm_places 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 9. Stap 1: begrijpen van de data • Tabel vvm_place: – 12539 records – Plaatsnaam zonder coördinaat • Tabel vvm_segment – Meer dan 11 miljoen records! – Niet echt segment, maar halte • Verwijzing naar vvm_stop – Met start- en eindtijd (aankomst, vertrek?) 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 10. Stap 1: begrijpen van de data • Tabel vvm_stop: – 42904 records – Lambert coördinaat van elke halte – Verdere info over de halte • Beschrijving (naam), • Straatnaam, • Gemeente,... 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 11. Stap 2 IETS DOEN MET DE DATA 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 12. Stap 2: iets doen met de data • Welke lijnen hebben betrekking op Gent? • SELECT route_public_identifier, route_description, route_identifier, route_version, route_id FROM vvm_route WHERE route_description LIKE '%GENT%' ORDER BY route_public_identifier 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 13. Stap 2: iets doen met de data • Welke trips komen overeen met die routes met vehicle schedule id 1610 (vrijdag 8 april 2011)? • SELECT trip.trip_id, f.place_description, trip.trip_time_24h_start, t.place_description, trip.trip_time_24h_end FROM vvm_trip trip, vvm_place f, vvm_place t WHERE trip.route_id = ? AND trip.place_identifier_start = f.place_id AND trip.place_identifier_end = t.place_id AND trip.vehicle_schedule_id = 1610 ORDER BY trip.trip_time_24h_start, trip.trip_id 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 14. Stap 2: iets doen met de data 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 15. Stap 2: iets doen met de data • We kiezen een trip, bvb 694575 • Van 8:34: Evergem Brielken • Tot 9:24: Sint-Denijs-Westrem Fl. Expo • SELECT sgmnt_sequence, segment.sgmnt_time_24h_start, segment.sgmnt_time_24h_end, stop.stop_description, stop.stop_street, stop.stop_coordinate_x_lambert72, stop.stop_coordinate_y_lambert72 FROM vvm_segment segment, vvm_stop stop WHERE segment.trip_id = 694575 AND segment.stop_id = stop.stop_id ORDER BY sgmnt_sequence 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 16. Stap 2: iets doen met de data 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 17. Stap 2: iets doen met de data 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 18. Na #AppsForGhent RESULTAAT TOT NU TOE 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 19. Resultaat na #appsforghent • We kunnen een busrit tekenen in PDF • We hebben een beter zicht op de geleverde data • We hebben een beter zicht op wat we met de data kunnen doen MAAR: • De “lijngids op maat” is verre van af! 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 20. Hoe verder na #AppsForGhent TODO: STAP 3 TOT 5 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 21. [TODO] Stap 3: werkdata • Een subset maken van de data – Maakt het gemakkelijker om te testen – De subset beperken tot een paar dagen en ritten in het Gentse • Een raster image van Gent zoeken – Bijvoorbeeld images opvragen bij OSM – Die images gebruiken als onderliggende laag van de kaart 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 22. [TODO] Stap 4: POC • Een webapplicatie maken: – Waarbij de gebruiker een selectie van busritten kan selecteren – Waarbij een PDF gemaakt wordt die alle geselecteerde ritten toont op een kaart in verschillende lagen van “optional content” • Haalbaarheid: korte termijn – Weinig “intelligence” nodig – Alle elementen zijn reeds voorhanden – Grootste uitdaging: mooie presentatie – Wij kunnen dit op ons eentje bij wijze van POC 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 23. [TODO] Stap 5: applicatie • Een webapplicatie maken: – Waarbij een gebruiker een begin- en eindhalte kan kiezen – Waarbij een PDF gemaakt wordt met alle mogelijke trajecten/uurregelingen • Haalbaarheid: langere termijn – Meer algoritmes, meer processing nodig – Complexere tabellen – Complexere tabellen – We doen dit liever niet op ons eentje, wel eventueel in samenwerking met De Lijn, iRail,... 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 24. #AppsForGhent was... BESLUIT 1T3XT BVBA, the iText Company http://itextpdf.com/
  • 25. Besluit • #AppsForGhent was leuk • #AppsForGhent was leerrijk • #AppsForGhent was een uitdaging • #AppsForGhent was geen eindpunt • Wordt vervolgd! 1T3XT BVBA, the iText Company http://itextpdf.com/