Geo  APIs    

February  18th  2013  

Smart  Data  Hack  

h3p://gogeo.blogs.edina.ac.uk

Overview  

• Maps  in  your  apps   • Going  beyond  just  showing  maps   • GeospaEal  data:  it  isn’t  just  maps  

h3p://gogeo.blogs.edina.ac.uk

Back  to  Google,  Bing  and  Here  (Nokia)   •  These  don’t  just  offer  map  data   •  Each  service  has  a  suite  of  APIs  for  JavaScript,   iOS,  Android,  HTML5  etc.   –  h3ps://developers.google.com/maps/   –  h3p://www.microsoS.com/maps/developers/ web.aspx   –  h3p://developer.here.net/en_GB    

h3p://gogeo.blogs.edina.ac.uk

Going  beyond  just  showing  maps  

Leaflet:  h3p://leafletjs.com/   •  Easy  to  use   •  Nice  default  graphics   •  Very  light  weight   •  Not  very  flexible   –  Only  uses  GeoJSON  or  NaEve  layers   –  You  may  need  to  parse  your  data  before  it  will  work  

h3p://gogeo.blogs.edina.ac.uk

Leaflet:  h3p://leafletjs.com/  

h3p://gogeo.blogs.edina.ac.uk

Leaflet:  h3p://leafletjs.com/  

h3p://gogeo.blogs.edina.ac.uk

OpenLayers:  h3p://openlayers.org/   •  Very  Powerful   •  Open  Source  with  a  huge  user  community   •  Much  more  flexible  for  reading  in  different   datasets   •  Not  as  easy  to  use   •  Defaults  seYngs  and  visuals  are  a  li3le  ugly   •  Larger  Codebase,  harder  to  streamline  for   mobile  devices  

h3p://gogeo.blogs.edina.ac.uk

OpenLayers:  h3p://openlayers.org/  

h3p://gogeo.blogs.edina.ac.uk

OpenLayers:  h3p://openlayers.org/  

h3p://gogeo.blogs.edina.ac.uk

ConsideraEons  

•  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  

•  ProjecEon  and  conversion   –  Different  datasets  can  be  in  different  projecEons   •  APIs  tend  to  use  Web  Mercator  

–  Different  conversions  have  different  accuracies   •  Default  is  usually  poor!  Ask  [email protected]  for  advice  

 

h3p://gogeo.blogs.edina.ac.uk

SpaEal  data  without  maps  

GeospaEal  data:  it  isn’t  just  all  about  maps  

•  Most  data  has  an  element  that  is   geospaEal  or  can  be  georeferenced  

–  Postcode,  Place  name,  LocaEon  Stamp,  IP  Address  

•  Get  data  with  coordinates   –  h3p://poi.gps-­‐data-­‐team.com/  

•  Use  a  “Gaze3eer  Service”  to  add   coordinates  to  your  data   –  Unlock  Places,  Here  Places  

h3p://gogeo.blogs.edina.ac.uk

Unlock:  h3p://unlock.edina.ac.uk/home/  

•  Unlock  Places   –  Build  spaEal  queries  from  user  or  sensor  inputs   –  Return  results  in  several  different  formats:   •  kml,  json,  xml,  txt,  georss…  

–  Returns,  points,  bounding  boxes,  footprints…  

•  Unlock  Text     –  generates  a  list  of  places  from  a  txt  or  html  file   –  RESTful  Client   –  Geoparser  made  by  the  LTG  here  in  InformaEcs  

h3p://gogeo.blogs.edina.ac.uk

Where’s  the  nearest  Hotel?   Get Location from device’s GPS

Enter Location

Unlock Places

Coordinates

•  Hilton Edinburgh Grosvenor: 0.2 miles

•  100 metres turn right into Princes Street

•  Edinburgh residence: 0.4 miles

•  500 metres turn left onto Hanover street

•  Holiday Inn Edinburgh North: 1.2 miles

•  50 metres turn left onto George Street

App Coordinates

Geonames feature type: Hotel

Unlock Places

h3p://gogeo.blogs.edina.ac.uk

h3p://gogeo.blogs.edina.ac.uk

School of Informatics Data Hack- Geo.pptx - GitHub

Feb 18, 2013 - Build spa-al queries from user or sensor inputs. – Return results in several different formats: • kml, json, xml, txt, georss… – Returns, points, bounding boxes, footprints… • Unlock Text. – generates a list of places from a txt or html file. – RESTful Client. – Geoparser made by the LTG here in Informa-cs.

5MB Sizes 0 Downloads 175 Views

Recommend Documents

DEPARTMENT OF INFORMATICS Thesis title - GitHub
I confirm that this thesis type (bachelor's thesis in informatics, master's thesis in robotics, . . . ) is my own work and I have documented all sources and material ...

Javascript Data Exploration - GitHub
Apr 20, 2016 - Designers. I'm a sort of. « social data scientist ». Paris. Sciences Po médialab. I just received a CSV. Let me grab my laptop ... Page 9 ...

Tabloid data set - GitHub
The Predictive Analytics team builds a model for the probability the customer responds given ... 3 Summary statistics .... Predictions are stored for later analysis.

RStudio Data Import - GitHub
“A data model in which the data is organized into a tree-like structure” - Wikipedia. Page 10. WHAT IS XML, HTML AND JSON? XML: Extensible Markup ...

Data Science - GitHub
Exploratory Data Analysis ... The Data Science Specialization covers the concepts and tools for ... a degree or official status at the Johns Hopkins University.

The Power of Data Insight - GitHub
that over 50% of organizations say big data will have a ... 2http://h20195.www2.hp.com/V2/GetPDF.aspx%2F4AA4-8041ENW.pdf ... Improve lead scoring: Monitoring prospects' online ... Improved data quality: Dirty data can greatly impact.

My precious data - GitHub
Open Science Course 2016 ... It's part of my contribution to science community ... Exports several formats (pdf, docx, csv, text, json, html, xml) ... http://dataverse.org/blog/scientific-data-now-recommends-harvard-dataverse-all-areas-s · cience ...

Open Data Canvas - GitHub
Top need for accessing data online. What data is most needed? Solution. How would you solve this problem? ... How big is the universe of users? Format/Use.

Old school code audit? - GitHub
Awesome week! * Hack anything you want. * Just boring code audit? No shit--->. * Telco sec shit are looks awesome. Step-1: Software defined radio-->listen to ...

data tables - GitHub
fwrite - parallel file writer. SOURCE: http://blog.h2o.ai/2016/04/fast-csv-writing-for-r/ ... SOURCE: https://www.r-project.org/dsc/2016/slides/ParallelSort.pdf length.

Reading in data - GitHub
... handles import from SPSS. Once installed, the package contents can be loaded into R (made available to the R system) with the function call. > library(Hmisc) ...

meteor's data layer - GitHub
Full-stack JavaScript Framework for both Web and. Mobile. □. Built on top of the NodeJs. □. Open Source. □ ... Meteor doesn't send HTML over the network. The server sends data ... All layers, from database to template, update themselves ...

Research Data Management Training - GitHub
Overview. Research Data management Training Working Group: Approach and. Methodology ... CC Australia ported licence) licence. ... http://www.griffith.edu.au/__data/assets/pdf_file/0009/528993/Best_Practice_Guidelines.pdf. University of ...

RN-171 Data Sheet - GitHub
Jan 27, 2012 - 171 is perfect for mobile wireless applications such as asset monitoring ... development of your application. ... sensor data to a web server.

Data 8R Review of Table Methods Summer 2017 - GitHub
Jul 18, 2017 - We find that most trips have smaller length, but a few are very long. We want to see what the distribution of commute lengths looks like, and ...

The Data Locality of Work Stealing - Carnegie Mellon School of ...
work stealing algorithm that improves the data locality of multi- threaded ...... reuse the thread data structures, typically those from the previous step. When a ...

The Data Locality of Work Stealing - Carnegie Mellon School of ...
running time of nested-parallel computations using work stealing. ...... There are then two differences between the locality-guided ..... Pipelining with fu- tures.

The Data Locality of Work Stealing - Carnegie Mellon School of ...
Department of Computer Sciences. University of Texas at Austin .... race-free computation that can be represented with a series-parallel dag [33]. ... In the second class, data-locality hints supplied by the programmer are used in thread ...

Tests were preformed on a 1000x1000x100 chunk of data ... - GitHub
Testing Data: Tests were preformed on a 1000x1000x100 chunk of data. After Switching to Byte Kernel. Trial ... 1000.00. 1200.00. 1400.00. GPU vs CPU. Seco n.

Integration and Visualisation of Genomics and Proteomics Data - GitHub
This enables co-visualization of genomics, transcriptomics, and proteomics data using the Integrative ... The software is available via the GitHub code repository:.

Data 8R Review of Table Methods Summer 2017 - GitHub
Jul 18, 2017 - We also figure that commuters will be subscribers to the program, not one-time users. ... return np.mean(short_commute.column( Duration ) ...

Processing Big Data with Azure Data Lake - GitHub
Processing Big Data with Azure Data Lake. Lab 3 – Using C# in U-SQL. Overview. U-SQL is designed to blend the declarative nature of SQL with the procedural ...