tdurand / mapafortaleza

Mapa de ônibus de Fortaleza
https://tdurand.github.io/mapafortaleza
79 stars 34 forks source link

Automatize data actualization #8

Open tdurand opened 12 years ago

tdurand commented 12 years ago

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

tdurand commented 12 years ago

This commit add a selenium task to automaticaly to the update via the fusion table interface: https://github.com/tdurand/mapafortaleza/commit/69eec5f18dd43b7e9628b936480c5a08c59f91e3

Not robust and need to be maintain but easy to implement