MAPC / myschoolcommute

Walk Boston Parent Survey
http://myschoolcommute.org
GNU General Public License v3.0
2 stars 1 forks source link

Update walksheds when school is moved #38

Closed TimReardon closed 9 years ago

TimReardon commented 11 years ago

The script to regenerate walksheds should be automatically run when a user hits "save" on the schools admin page (e.g., http://masaferoutessurvey.com/en/admin/survey/school/16/). This does not need to be available on the user-facing schools page since district officials do not have, and do not need to have, the ability to edit the location of their school.

demiurg commented 9 years ago

I tested this in production, sheds are regenerating when school is moved through the admin interface. This required upgrading to pgrouting 2.0 and updating queries, because for some reason pgrouting 1 functions were not longer working.