Giter VIP home page Giter VIP logo

valei-me-sao-francisco's Introduction

Valei-me São Francisco

Aplicativo desenvolvido no Hackfest de olho n'água (17-19/03/2017) que investiga os serviços de esgotamento sanitário e abastecimento de água nas cidades contempladas pela transposição do rio São Francisco.

Desenvolvimento

Requisitos

nodeJS

É necessária a instalação do nodeJS com o seu gerenciador de pacotes npm. Como este projeto usa Sass como pre-processador CSS, também é necessário do compass:

sudo apt-get install nodejs
sudo apt-get install npm
# O comando abaixo só é necessário quando o comando <node> não é encontrado
sudo ln -s /usr/bin/nodejs /usr/bin/node

sudo apt-get install ruby-full
sudo gem update --system
sudo gem install compass

Também é necessário o grunt-cli e bower instalados no ambiente:

sudo npm install -g grunt-cli bower

Por fim, para instalar as dependencias do projeto, utiliza-se o npm e o bower.

cd <caminho_do_projeto>
npm install
bower install

Ruby (gem compass)

Para instalar o Ruby, esse tutorial funciona bem.

Já para instalar o compass faça

gem install compass
rbenv rehash (Se você optou com instalar o Ruby com rbenv)

Rodandod

Para rodar o preview da aplicação, use o comando grunt serve.

Generating data

The next steps were made in ArcGIS and R:

From ArcGIS

  1. Open 'valei_me.mxd' in ArcGIS
  2. Right click on the map;
  3. Choose 'Open Attribute Table';
  4. Click on 'Table Options' (left side on top);
  5. Choose 'Export'
  6. Click on 'Browse' button
  7. In 'Save as type' choose 'Text File'
  8. Save with .csv.

PS:

  • Most of the data was obtained using join between the shape and others csv files. See (1) Right click on the map; (2) 'Join and Relate'; (3) 'Join...'
  • You can also delete any field that you are not going to use before export: Right click on the table column and 'Delete Field'
  • When loading your csv in ArcGIS, don't forgot to check the data types: Right click on the table column and 'Properties'.

From R

Just use the 'script.R' in scripts folder.

valei-me-sao-francisco's People

Contributors

tatianass avatar silvamatteus avatar jeffersonrpn avatar

Watchers

James Cloos avatar  avatar  avatar

valei-me-sao-francisco's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.