'Escape' or 'o' to see all sides, F11 for full screen, 's' for speaker notes
Clément Levallois <levallois@em-lyon.com> 2017-31-07
last modified: 2022-12-16
== !
'Escape' or 'o' to see all sides, F11 for full screen, 's' for speaker notes
Localization relates activities to physical space, in at least 4 different ways:
Place: Where is this activity happening?
Distance: Are these two agents neighbors?
Movement: Is this agent travelling? (together with speed and acceleration)
Structure: How are these agents and activities configured in space?
“Helping Local Businesses Reach More Customers”:
Target ads to people living in a radius around your store.
Can also target people who have been recently in this radius.
“Using computer vision to analyze real life activity”:
Cameras placed in public places (possibly at the windows of private households)
Video is treated on the device attached to the camera, not saved.
measures pedestrian traffic in front of stores to provide "main street analytics"
→ Making data open to foster innovation for citizens and businesses
→ Includes many datasets with geographical relevance
Similar initiatives in large cities:
The visual metaphor of the map is widely understood. It makes exploration easy: all is visible at once, while zoom allows for details as well. Multiple information cues (colors, symbols, shapes, layers, etc.) help display information.
To keep in mind: maps always an interpretative layer on the territory they display. Watch this extract from the TV series "The West Wing“, Season 2, Episode 16:
(source: http://code.waag.org/buildings/)
Every single building of the Netherlands on a map
Colored by year of construction
With role (retail or housing?) and surface highlighted
Zoomable and draggable
Agency based in San Francisco
Famous for cutting research in map design
Mapbox.com
SaaS to create interactive maps in web pages and mobile apps.
OpenStreetMap
A crowd sourced open source map of the world. Available through API.
Data is traditionally stored in tables in relational databases, taking this form:
A table can have millions of rows. How to retrieve information such as "get all customers living in Rotterdam"? "SQL" (Structured Query Language) is a system to express these kinds of queries.
In the table shown above, a query written in SQL look in the "Address" column and inspect all the text to find if "Rotterdam" is present or not.
This is highly inefficient (slow), and more complex queries would not work. For example, the table above could not be queried for "get all customers living in a 10 miles radius around Rotterdam".
So how to store geospatial data in a way that makes it easy to retrieve?
SQL solutions
Even if SQL does not perform well on geospatial data "out of the box", extra modules have been developed to deal with it.
Microsoft SQL server since 2008:
Possible to store and query “geometric” and “geographic” objects
Possible to use complex queries on these objects
NoSQL solutions
Since ~ 2005, new types of databases have been developed, which don’t follow a table structure in order to facilitate the query of special kinds of data, like geospatial data or network data.
These new databases are called "NoSQL databases"
Carto (ex CartoDB): specializing in geospatial data + mapping.
Neo4J Spatial enables to mix the logics of networks with places in the data, so that you can make such queries on your data:
"Select all streets in the Municipality of NYC where at least 2 of my friends are walking right now."
GeoJSon and TopoJSon: 2 data formats to represent geometric and geographic data developed for Javascript applications – and beyond.
Knowing the person, its location, at a precise time unlocks meaningful push notifications
Push notifications are these alerts sent by an app on your mobile, visible as transient icons. It gets “push marketing” back on solid foundations: only to the right person, at the right place, at the right time (and at the right frequency)
Data is a fungible and universal material (just 0s and 1s)
Geographical coordinates are perfectly universal (just need a longitude and latitude)
and yet… the logic of territories is shaping data: there is a geography of data. Representations with a supposedly universal and transparent coordinate system blinds us to this fact.
This argument is made by Frederic Martel in his book "Smart": Internet does not flatten everything into one big model. There are several Internets with their geography, politics and sociology.
Here are a few dimensions on which geography plays a strong role:
Data protection: not all countries are equal
Data handling devices: India and Africa have a larger shareof mobile devices.
Data production: Amazon Mechanical Turk is a service of data production through the hiring of a distributed crowd of workers. It tends to "erase distance", since workers can be hired by anyone anywhere.
Yet, the geographical distribution of workers on Amazon Mechanical Turk is far from even. The following figure is taken from this study:
It shows that the dream of "data and the web" erasing distances and geographical disparities is just a dream, social geography remains a strong factor in the structuring of remote workers.
The libertarian dream of the cypher-punks: individuals transact without consideration for their nationality, currency, legal system, political regime.
Organizations, banking, voting systems, … any aggregated human activity could emerge without reference to local territories or institutions. Just groups of individuals transacting voluntarily and securely, without a notion of place or distance.
Bitcoin: the currency for these transactions?
Torrent: The exchange platform for numeric goods?
Ethereum: the platform where contracts are made and executed?
Find references for this lesson, and other lessons, here.
This course is made by Clement Levallois.
Discover my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle _150.png[align="center", role="right"]
This course is made by Clement Levallois.
Discover my other courses in data / tech for business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle r business: https://www.clementlevallois.net
Or get in touch via Twitter: @seinecle ementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle ww.clementlevallois.net
Or get in touch via Twitter: @seinecle