Code Monkey home page Code Monkey logo

is-recycling-this-week's Introduction

is-recycling-this-week

View this app here: https://jondandois.github.io/is-recycling-this-week/

I wrote this app to help me remember if this week is my recycling week based on Baltimore City DPW's bi-weekly recycling system.

I do not work for Baltimore City government or DPW. I support our hard-working sanitation workers.

I wrote this for fun. Refer to DPW's Collection Updates site for all official information about recycling and waste collection.

Privacy

I respect your privacy. This app does not track you or your address. This is what it does:

  1. Takes the address you enter and sends it to the State of Maryland's "geocoder" service (see below) which will try to turn the address into a latitude, longitude GPS coordinate.
  2. If it gets a GPS coordinate back from the State, it will check to see if it falls inside a local copy of Baltimore City DPWs Week A/B GIS Map.
  3. Prints out a message depending on that result and today's date.

Remember Me

The Remember Me checkbox does not track you and only stores information on your own device to save you from typing information in next time:

  • It saves that you checked the box
  • It saves the address you entered

Sources

Geocoder

This all works because of the geocoder which converts an address into a latitude, longitude coordinate. This one uses the MD iMap Geocoder service

Baltimore DPW Recycling A/B Week Map

Thanks to DPW's GIS department for their efforts in communicating about the City's recycling zones and schedule. DPW's Recycling A/B Week Map is available as an AGO app. I grabbed a copy of their Recycling A/B week map service and convered it into a GEOJSON to use locally in this app.

App Build

  • VueJS for the framework parts
  • TurfJS for the "spatial" parts of the app for checking if an address point is inside a Week A/B polygon.
  • This CodePen example for the "Remember Me" and localStorage bits

is-recycling-this-week's People

Contributors

jondandois avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.