Overview: This project demonstrates a GIS-driven analysis of school safety coverage in Pasco County, Florida. The objective was to determine how well schools are served by nearby police and fire stations using both Euclidean buffer analysis and network-based isochrone generation.
# Buffer each school by 1 mile (1609.34 meters)
schools['buffer'] = schools.to_crs(epsg=3857).geometry.buffer(1609.34)
# Count police stations within each buffer
police_in_buffer = gpd.sjoin(police, schools[['NAME', 'buffer']].set_geometry('buffer'), how='inner', predicate='within')
police_counts = police_in_buffer.groupby('NAME').size().reset_index(name='police_count')
// Initialize Leaflet map
var map = L.map('map').setView([28.285, -82.553], 12);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© OpenStreetMap contributors'
}).addTo(map);
Outcome: The final WebGIS app allows users to view school locations, explore proximity coverage from emergency services, and visualize summary metrics through interactive dashboards and dynamic map layers.