MapKit and SwissTrains

Post on 16-Jan-2017

363 views 0 download

Transcript of MapKit and SwissTrains

MapKit and SwissTrains

AppBuilders Zürich June 1st, 2016

Vasile Coțovanu@vasile23

TODAY!

About

• Software Engineer

• Maps Addict

• Trainspotter

About

• Software Engineer

• Maps Addict

• Trainspotter

About

• Software Engineer

• Maps Addict

• Trainspotter

Agenda

• MapKit Intro

• GIS

• GeoJSON

• GTFS

• SwissTrains

• DEMO

MapKit

• introduced in iOS 3.0

• embed maps in your app

• display points, lines, polygons • custom map tiles, directions, local search, user location, etc

MapKit - History• iOS 3.0: MKMapView, MKAnnotation, GoogleMaps

• iOS 4.0: Overlays, draggable annotations

• iOS 5.0: Heading/Tracking

• iOS 6.0: Apple Maps, Routing Apps

• iOS 7.0: Local Search, Custom Tiles, Directions

• iOS 8.0: ?

• iOS 9.0: Fully Custom Annotations, 3D Flyover mode

GIS - 101

GIS Primitives

Primitive Point Polyline Polygon

Leaflet Marker Polyline Polygon

MapKit <MKAnnotation> MKPolyline MKPolygon

GeoJSON Point LineString Polygon

GeoJSON - 101

https://en.wikipedia.org/wiki/GeoJSON

GeoJSON - SwissTrains

https://github.com/vasile/transit-map/tree/master/api/geojson

GTFS - 101

https://developers.google.com/transit/gtfs/reference

GTFS - SwissTrains

http://www.fahrplanfelder.ch/en/welcome.html

SwissTrains - Positions

SwissTrains - History

• 2007 - 1st web-map - GMaps v2

• 2011 - 2nd version - GMaps v3, mobile

• 2011 - OS: https://github.com/vasile/transit-map

• 2013 - GTFS: https://github.com/vasile/GTFS-viz

• 2015 - iOS app :)

iOS App - Details

DEMO TIME !

Thanks!

• @vasile23

• http://www.vasile.ch

• Q & A