map overlays for fun and profit (or, how to break google maps)

14
Map overlays for fun and profit (or how to break Google Maps) Tom Parker [email protected] @palfrey

Upload: tom-parker

Post on 07-Jul-2015

499 views

Category:

Technology


4 download

DESCRIPTION

Presentation from Barcamp London 8

TRANSCRIPT

Page 1: Map overlays for fun and profit (Or, how to break Google Maps)

Map overlays for fun and profit(or how to break Google Maps)

Tom [email protected]

@palfrey

Page 2: Map overlays for fun and profit (Or, how to break Google Maps)

Why did I do this?

Page 3: Map overlays for fun and profit (Or, how to break Google Maps)

What is KML?

● “Keyhole Markup Language (KML) is an XML schema for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth browsers. KML was developed for use with Google Earth, which was originally named Keyhole Earth Viewer. It was created by Keyhole, Inc, which was acquired by Google in 2004...” - Wikipedia

● Blah, blah, blah● You can use it to make overlays for Google

Maps so you can show more information

Page 4: Map overlays for fun and profit (Or, how to break Google Maps)

What you need

● Big spec (tl; dr)● This is all you need

Page 5: Map overlays for fun and profit (Or, how to break Google Maps)

You also need data!

● http://borisapi.heroku.com/

Page 6: Map overlays for fun and profit (Or, how to break Google Maps)

Into Google Maps

● Goto “My maps”● “Create new map”● “Import” - hand it the KML you just made● Profit!

● Alternately, do a search on “User-created maps”● Find one● Click “Save to My Maps”

Page 7: Map overlays for fun and profit (Or, how to break Google Maps)

Useful?

● Kinda fun in browser● More fun in Android

● Overlays● “More Layers”● “My Maps”

Page 8: Map overlays for fun and profit (Or, how to break Google Maps)

Back to the original idea...

Page 9: Map overlays for fun and profit (Or, how to break Google Maps)

Streetcar

● More data sources wanted● Tried Streetcar

Page 10: Map overlays for fun and profit (Or, how to break Google Maps)

Streetcar data

● Dug through web frontend, found http://www.streetcar.co.uk/LocationsXml.xml

● Can make KML from this :)

Page 11: Map overlays for fun and profit (Or, how to break Google Maps)

Link ATMs

● Website has a search system, but not very mobile friendly...

● Some work with Firebug later, we can get the data directly :)

Page 12: Map overlays for fun and profit (Or, how to break Google Maps)

Google map limits

● Only part of the Link data was coming up :(● Built a stress-tester

● Meant to show a square grid of points

Page 13: Map overlays for fun and profit (Or, how to break Google Maps)

Varying results

● 19x19 grid● Left is desktop, right is Android...

Page 14: Map overlays for fun and profit (Or, how to break Google Maps)

What now?

● Need a better Google maps interface● Partial loading of arbitrary maps● Might be able to work around the issues....

https://github.com/palfrey/kml-generators