Category Archives: Students

midterm presentation. Community layers

Read More »

Also posted in Gerda Antanaityte, Smart Net | Tagged , , | Comments closed

Overview of existing IoT devices and platfroms

We collected our research in a minisite: http://www.iaac.net/iot-research/.

Also posted in Bert Balcaen, Gerda Antanaityte, Martin Lukac, Smart Net | Comments closed

Quick tutorial: displaying events in Barcelona on a map

In my search for easy to use mapping tools I decided to test CartoDB. This is a quick tutorial for importing this week’s event calendar from the City of Barcelona’s Open Data Portal into CartoDB. Here is the result:

The data is in XML (which is not supported by CartoDB) and contains way too much info, so first I had to convert it to CSV.

Here is a short PHP script that will grab the XML and turn it into CSV with event name, latitude and longitude. Other fields could be added easily if necessary.


$fp = fopen('agenda.csv', 'w');
$xml = new SimpleXMLElement(file_get_contents('http://www.bcn.cat/tercerlloc/agendaAvui.xml'));
foreach ($xml->body->resultat->actes->acte as $acte) {
$name = $acte->nom;
$co = $acte->lloc_simple->adreca_simple->coordenades->googleMaps;
fputcsv($fp, array($name, $co['lat'], $co['lon']));
}

You can save this into a file called grab_bcn_events.php and run this from the command line:


php grab_bcn_events.php

It will dump the CSV data into a file called agenda.csv in the same directory as the PHP script.

After creating a CartoDB account you can import to file into it. You’ll need to let CartoDB know which are the location fields by clicking on ‘georeference’. Then you can switch to the map view, and on the right there’s an icon to edit the contents of the info window. If you enable the title field then that piece of information will appear when clicking on the icon in the map.

Also posted in Bert Balcaen, Smart Net | Comments closed

Smart Citizen Alarm

Applications, benefits and relations between: 1/Intelligence,
2/Disabilities and 3/Health.

Smart citizen platform/system could convert in a way of
relevant information. It could improve the quality of life as
well as the smart citizen security.

It could convert in a special data capture. In this sense,
smart citizen platform could become in an accurate tool.
It could inform about temperature changes, moisture changes
or light changes. Smart citizen platform could be assistant
tool for people with disabilities.

Somebody with an olfactory handicap could not detect some
strange smell as well as a strange situation. The fire smell could
be detected by the smart citizen sensors. In this way, it would
be a skillful informative tool for people with disabilities.

Also posted in Nazaret Cano, Smart Net | Comments closed

Intelligence, disabilities and health.

Applications, benefits and relations between: 1/Intelligence,
2/Disabilities and 3/Health.

Smart citizen platform/system could convert in a way of relevant
information. It could improve the quality of life as well as the citizen
security.

1/Smart citizen platform could be assistant tool for police and
intelligence services.
It could convert in a special data capture
for solving criminal acts and robberies. In this sense, smart
citizen platform could become in an accurate tool. It could
inform about temperature changes, moisture changes or light
changes.

2/Smart citizen platform could be assistant tool for people with
disabilities.
A symbolic examples could be: A person with a
visual disabilities could Know the weather in your neighborhood
using the smart citizen platform.
Somebody with an olfactory handicap could not detect some
strange smell as well as a strange situation. The fire smell could
be detected by the smart citizen sensors. In this way, it would
be a skillful informative tool for people with disabilities.

3/Smart citizen platform could be assistant tool for nurses and
doctors.
They could know the moisture, temperature and other
city-life concepts. Then nurses and doctors could advise about
life habits, life behaviour or adequate travels.

Also posted in Nazaret Cano, Smart Net | Comments closed