Overview
Map visualization helps identify crime patterns, hotspots, and operational coverage areas. The system supports two main map types: crime incident mapping and operations mapping.Crime Incident Mapping
Access Point
The main crime map interface is accessed throughconsultaMapa.php, which provides filtering options before displaying the map via resultadoMapa.php.
Map Query Parameters
Regional UnitSelect the regional unit (Unidad Regional) to display. Choose “TODOS” to show incidents from all units.
DepartmentFilter by specific police department. This field is dynamically populated based on the selected regional unit.
Start DateDate in DD-MM-YYYY format. Defaults to current date.
End DateDate in DD-MM-YYYY format. Defaults to current date.
Crime TypeFilter map markers by specific crime type. Options include:
- TODOS (All types)
- Individual crime types from the
tipo_delitotable
Modus OperandiFilter by crime method or pattern. Select “TODOS” for all patterns or choose a specific modus operandi.
Case Status
T: TODOS (Show all incidents)S: SI (Show only solved cases)N: NO (Show only unsolved cases)
Crime Map Features
Geographic Plotting
Each crime incident is plotted as a marker on the map based on its location coordinates.
Incident Details
Click on map markers to view detailed information about specific incidents.
Multi-Layer Display
Display multiple crime types simultaneously with different marker styles.
Date Range Filtering
View crime patterns over specific time periods.
Operations Mapping
Access Point
Police operations are mapped throughconsultaMapaOperativos.php, with results displayed via resultadoMapaOperativos.php.
Operations Map Parameters
Regional UnitSelect the unit to display operations for, or “TODOS” for all units.
Police Stations (Comisarías)Filter operations by specific police station. The dropdown populates based on the selected regional unit.When “TODOS” is selected for the unit, the station dropdown automatically shows “TODOS” and becomes disabled.
Start DateOperations start date in YYYY-MM-DD format.
End DateOperations end date in YYYY-MM-DD format.
Operations Map Features
Operation Locations
Operation Locations
Display the geographic locations where police operations were conducted, including:
- Checkpoints
- Patrols
- Special operations
- Control points
Coverage Analysis
Coverage Analysis
Visualize police operational coverage across different regions and time periods.
Resource Allocation
Resource Allocation
Understand where police resources are being deployed geographically.
Map Interface Components
Interactive Controls
Pan and Zoom
Navigate the map by dragging to pan and using scroll wheel or zoom controls to adjust the view level.
Marker Selection
Click on individual markers to view detailed information about incidents or operations.
Map Legends
The map interface provides legends to distinguish:- Different crime types (by marker color or icon)
- Solved vs. unsolved cases
- Different operational categories
- Time periods
Technical Implementation
Data Loading
Map Rendering
The system likely uses a JavaScript mapping library (such as Google Maps, Leaflet, or OpenLayers) to:- Initialize the map with appropriate center and zoom level
- Plot markers based on query results
- Attach popup/tooltip information to each marker
- Handle user interactions
Query Workflow
Use Cases
Hotspot Identification
Identify areas with high crime concentration to focus patrol resources.
Pattern Analysis
Discover geographic patterns in crime types, times, or methods.
Operations Planning
Plan future operations based on historical incident locations.
Resource Deployment
Optimize police resource allocation based on geographic crime data.
Reporting
Generate visual reports for briefings and public information.
Trend Monitoring
Track how crime patterns shift geographically over time.
Performance Notes
For optimal map performance, limit queries to specific regions and reasonable time periods. Province-wide queries with extensive date ranges may result in slower loading times due to the large number of markers.
Related Features
Crime Statistics
View detailed statistical reports and data tables
Reports
Generate formal reports and export data