Geo APIs

702 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
702
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Geo APIs

  1. 1. Geo APIs February 16th 2013Smart Data Hack http://gogeo.blogs.edina.ac.uk
  2. 2. Overview • Maps in your apps • Going beyond just showing maps • Geospatial data: it isn’t just maps http://gogeo.blogs.edina.ac.uk
  3. 3. Back to Google, Bing and Here • These don’t just offer map data • Each service has a suite of APIs for JavaScript, iOS, Android, HTML5 etc. – https://developers.google.com/maps/ – http://www.microsoft.com/maps/developers/web. aspx – http://developer.here.net/en_GB http://gogeo.blogs.edina.ac.uk
  4. 4. Going beyond just showing maps
  5. 5. Leaflet: http://leafletjs.com/ • Easy to use • Very light weight • Not very flexible – Only uses Web Mercator projection – Only uses GeoJSON or Native layers http://gogeo.blogs.edina.ac.uk
  6. 6. Leaflet: http://leafletjs.com/ http://gogeo.blogs.edina.ac.uk
  7. 7. Leaflet: http://leafletjs.com/ http://gogeo.blogs.edina.ac.uk
  8. 8. OpenLayers: http://openlayers.org/ • Very Powerful • Open Source with a huge user community • Not so easy to use • Larger Codebase, harder to streamline for mobile devices. http://gogeo.blogs.edina.ac.uk
  9. 9. OpenLayers: http://openlayers.org/ http://gogeo.blogs.edina.ac.uk
  10. 10. OpenLayers: http://openlayers.org/ http://gogeo.blogs.edina.ac.uk
  11. 11. Considerations • Traffic – Google etc. have caps above which they charge • Hosted or Download? – Easier to use hosted but can be more stable to download the code • Projection and conversion – Different datasets can be in different projections – Different conversions have different accuracies • Default is usually poor! http://gogeo.blogs.edina.ac.uk
  12. 12. Geospatial data: it isn’t just all about maps • Most data has an element that is geospatial or can be georeferenced – Postcode, Place name, Location Stamp, IP Address • Unlock Text can dig out references from plain text – RESTful Client – Geoparser made by the LTG Here in Informatics – Outputs in GeoJSON or KML http://gogeo.blogs.edina.ac.uk
  13. 13. Where’s the nearest Hotel? Enter Get Location from Location device’s GPS • Hilton Edinburgh • 100 metres turn Grosvenor: 0.2 right into miles Princes Street Unlock Places • Edinburgh • 500 metres turn residence: 0.4 left onto miles Hanover street • Holiday Inn • 50 metres turn Edinburgh left onto George North: 1.2 miles Street Coordinates App Coordinates Unlock Geonames Places feature type: Hotel http://gogeo.blogs.edina.ac.uk
  14. 14. http://gogeo.blogs.edina.ac.uk

×