Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WhatsMyLot.com

 WhatsMyLot.com

A presentation to the Canadian Cartographic Association's annual conference in Charlottetown, Prince Edward Island on May 28, 2015.

Peter Rukavina

May 27, 2015
Tweet

More Decks by Peter Rukavina

Other Decks in Technology

Transcript

  1. What’s My Lot?
    An open web app that seeks to increase 

    Prince Edward Island “township lot literacy”
    Peter Rukavina
    Hacker in Residence
    Robertson Library, University of Prince Edward Island

    View Slide

  2. I am an untrained cartographic hacker.
    “I know a little bit about a lot of things
    But I don’t know enough about you…”
    – Peggy Lee

    View Slide

  3. What’s My Lot?
    “Behind the Music”

    View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. Metadata Issues
    • Lot 50 was mislabelled as Lot 66.
    • Lot 66 was unlabelled.
    • Georgetown Royalty was mislabelled as Lot 73
    • Princetown Royalty was missing.

    View Slide

  8. Complexity Issues
    • Very detailed map.
    • ESRI Shapefiles aren’t that useful for web apps.
    • Large file size (16.6 MB) for a web application.

    View Slide

  9. View Slide

  10. View Slide

  11. View Slide

  12. View Slide

  13. View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. GeoJSON Holland Map
    • 1.3 MB file size
    • Detailed enough for many applications.
    • JSON is the lingua franca of web applications.
    • Easy to use with Leaflet.

    View Slide

  18. var layer = L.geoJson(lots).addTo(map);

    View Slide

  19. Let’s Build an App!
    • My device (laptop, phone, tablet) can return my
    location.
    • All I need is a way of taking that location and
    finding out what township lot it’s inside…

    View Slide

  20. View Slide

  21. WhatsMyLot.com

    View Slide

  22. View Slide

  23. View Slide

  24. The lot (or royalty)
    that you’re in.

    View Slide

  25. How well your device
    did at locating you.

    View Slide

  26. Something about
    the lot you’re in.

    View Slide

  27. View Slide

  28. A map

    View Slide

  29. View Slide

  30. Help!

    View Slide

  31. Open Web Apps
    • HTML, CSS and JavaScript.
    • Can be run in any web browser, on any device.
    • Open source by their very nature.
    • Can be packaged up and distributed through “app
    stores” (iOS, Google Play, Amazon, Firefox).

    View Slide

  32. • Lot layer GeoJSON
    • Lot metadata as JSON
    • OpenStreetMap base layer
    • jQuery JavaScript library
    • jQuery Mobile framework
    • Leaflet JavaScript library
    • Leaflet Label library
    • Leaflet PIP library
    Web App Ingredients

    View Slide

  33. View Slide

  34. In the wild…
    • Phones are good at returning an accurate location,
    but computers and tablets, especially in rural
    areas, are not.
    Hi, There seems to be a mistake in
    your "What's my Lot" section. I know
    this for a fact because I live in Lot
    28, in the original Holland
    homestead, where Holland's wife and
    children lived on Tryon Point Road.
    Your app says I'm in Lot 17, when I
    know I'm in Lot 28.

    View Slide

  35. In the wild…
    • What about people using

    the app who aren’t on 

    Prince Edward Island?
    • Just tell them to come here!

    View Slide

  36. In the wild…
    • Should the app be able to be used to explore lots
    when you’re not standing inside them?
    • No!
    • You must be in a lot to learn about it.
    • It’s not a “reference tool,” it’s a “field tool.”

    View Slide

  37. In the wild…
    • My own “township lot literacy” has increased!
    • Swimming in the lots for 6 months has outfitted me
    with a new toolset that allows me to build other
    apps…
    • And to answer questions for myself using the data
    layers I’ve refined…

    View Slide

  38. The Confederation Trail passes 

    through 47 lots and 2 royalties.

    View Slide

  39. I visited 52 lots and 2 royalties
    over the last year.

    View Slide

  40. What’s My Lot?
    Peter Rukavina
    [email protected]
    http://hacker.vre.upei.ca/
    Hacker in Residence
    Robertson Library, University of Prince Edward Island
    Presented to Canadian Cartographic Association, May 28, 2015
    Charlottetown, Prince Edward Island

    View Slide