An open API service indexing awesome lists of open source software.

https://github.com/notjoemartinez/lubbock-scanner-heatmap

Example Visualization of shots fired calls over lubbock police scanner from copcrawler.com
https://github.com/notjoemartinez/lubbock-scanner-heatmap

Last synced: 5 months ago
JSON representation

Example Visualization of shots fired calls over lubbock police scanner from copcrawler.com

Awesome Lists containing this project

README

          

### lubbock-scanner-heatmap
Example code for building a crime heat map with police scanner
data from https://copcrawler.com

![example_heat_map](./imgs/example_heatmap.png)

### Data
You need to replace the url `http://example.com/crime_map_data.geojson` with
a valid url with your data in the the following geojson format.

```json
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-101.95398493228092,
33.57858167384062
]
},
"properties": {
"Address": "6320 19th St",
"Date": "2024-08-12 21:40:00",
"Month": 8
}
},
]
}
```

### MapBox
Replace `get_your_own_access_token` with your [MapBox](https://www.mapbox.com/) API token