Add shape files representing churches and schools to the map
lindsaypoirier opened this issue · comments
Users should be able to toggle on/off a layer that displays where churches and schools are located in comparison to liquor licensed establishments. According to the 200ft. there can be no liquor licensed establishments within 200ft of a church of a school. See: https://www.sla.ny.gov/system/files/200-500-foot-rules-050213.pdf
DCP's mapPLUTO shape files (there's one per borough) have a field for building class which designates if a building is classed as a:
M1 | CHURCH, SYNAGOGUE, CHAPEL
M2 | MISSION HOUSE (NON-RESIDENTIAL)
M3 | PARSONAGE, RECTORY
M4 | CONVENT
M9 | MISCELLANEOUS RELIGIOUS FACILITY
or
W1 | PUBLIC ELEMENTARY, JUNIOR OR SENIOR HIGH
W2 | PAROCHIAL SCHOOL, YESHIVA
W3 | SCHOOL OR ACADEMY
The code should select all polygons with these classes from the shape files and display them as a layer on the map when the layer is toggled on. On hovering, the user should be able to see the building's address, and its class.