tdurand/mapafortaleza

Automatize data actualization

tdurand opened this issue · 1 comments

Write an automatic script who actualize the google fusion table data based no the kmz archive.

For now, there are these commands to get the data and extract the kml file:

curl -o transporte_coletivo.zip http://www.etufor.ce.gov.br/googleearth/transporte_coletivo.kmz
unzip transporte_coletivo.zip

Need to use : https://developers.google.com/fusiontables/docs/developers_guide#KML

There is some libraries to use to connect to Fusion table in several languages.

https://developers.google.com/fusiontables/docs/sample_code

This commit add a selenium task to automaticaly to the update via the fusion table interface: 69eec5f

Not robust and need to be maintain but easy to implement