GithubHelp home page GithubHelp logo

nsb-mobile-wsu's Introduction

LocalData

We want to make it very easy for neighborhood organizations to collect good
information about the things they care about, like property condition,
vacancy, points of interest, and more.

This repository is part of a toolkit we’re building:

  • A mobile data collection app (this product)
  • A paper-based survey that’s easy to scan & automatically process
  • A small server to store and
    retrieve the results
  • A survey builder tool (coming soon)

The toolkit is very much in prototype stage. None of the tools here are
production ready yet, nor are they easy to deploy — we’re working towards
that.

Interested in helping out? Contact [email protected] for more details.
Bug reports, questions, and pull requests are all welcome.

This repository

The HTML app in this repo is loaded by data collectors in the field on mobile
phones. It submits data to the survey API.

Running the app

This app is static HTML pages + javscript. You can run the app off any web
server, including github pages.

You will need to configure some parts:

  • In survey.html, change the action of the form to match the endpoint of your
    API server
  • In settings.js:
    • update the BASEURL to point to the endpoint of your API server
    • set the SURVEYID to match the survey ID from the API server
    • Set the locale, and set the map tilejson URL to match

The maps

The maps used in this app are rendered with TileMill. They use street data
from OpenStreetMap and parcel data from local municipalities (right now,
Detroit).

Here are the basic steps we followed — please feel free to contact us with
questions about the details:

  1. Download street data from the Metrio city extracts.
    You’ll want the “9.2 MB osm2pgsql shapefiles.”
  2. Get a shapefile with parcel data from your local municipality.
  3. Use TileMill to create and style map that combines those two data sources.
    You can get started with the TileMill tutorial
  4. Export the map as MBTiles
  5. Upload the map to the MapBox hosted service
  6. Use the TileJSON URL in this app.

In the future, we are hoping to render the parcel maps entirely in the browser

nsb-mobile-wsu's People

Contributors

hampelm avatar prashtx avatar

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.