open-city / chicago-river-sewage

Is there sewage in the Chicago River?
http://istheresewageinthechicagoriver.com
29 stars 12 forks source link

Chicago River 2.0 #23

Open fgregg opened 10 years ago

fgregg commented 10 years ago
derekeder commented 10 years ago

Just pushed up some bigger changes last night and today.

When a CSO is happening, show a Leaflet map and a table of affected riverways: screen shot 2014-03-19 at 12 25 22 pm screen shot 2014-03-19 at 12 25 28 pm

I also set up a front-end view showing historical events. Just pass a date in:

http://istheresewageinthechicagoriver.com/?date=2/21/2014 (most recent) http://istheresewageinthechicagoriver.com/?date=4/18/2013 (major flooding!)

This sets us up for some kind of CSO event browser.

derekeder commented 10 years ago

Created a simple history viewer page that links to a detail page for a particular day (described above)

http://istheresewageinthechicagoriver.com/history/

screen shot 2014-03-19 at 11 37 28 pm

mmcdon20 commented 10 years ago

It seems that the number of riverways affected on the history page and the page for a particular date now appear to be inconsistent.

history

You can see for example that the history page above states that 5 riverways were affected on Feb 21, 2014, however the page for that date below states that 10 riverways were affected.

feb 21

On Dec 29, 2013 for example the history page claims that 1 riverway was affected, yet the individual page claims that the rivers were unaffected on that day.

dec 29

derekeder commented 10 years ago

@mmcdon20 thanks for catching this.

The data on our history listing page is scraped from the MWRD CSO report page and the data on our detail page comes from the MWRD CSO map page. Apparently these two MWRD pages don't agree with each other.

The report page is likely the more accurate source to cite. I'll update our end to look at just that page.

derekeder commented 10 years ago

@mmcdon20 fixed this discrepancy in 29a5a2282756efdd5022737e3cc0296ee807e9cb

derekeder commented 10 years ago

Learned something interesting while working on this feature. River segments 30, 31 and 32 are not listed in MWRD's definition list but they indicate when sewage is discharged in to Lake Michigan.

Here's an example: April 18th, 2013 MWRD site | our site