Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be nice if you could filter by the type of crime, not even necessarily violent crime. I might care if someone's selling heroin outside my door, or cars are being stolen, but probably wouldn't care if prostitutes are running about or dogs are unleashed.


Personally, I'd be ok with pot and coke, but not heroin or meth.

Also, preferably decent-looking prostitutes, not any of those skeezy ones you see outside the 16th street BART.

Yeah, I think this needs a drugs checkbox selector widget, just like padmapper itself.


Good point. It currently needs to be precomputed as images, so it's hard to make it customizable, but it probably makes sense to make a category of unsavory crimes. I would assume that most people dislike living near the same types of crime.


How are you precomputing the images? I thought GMaps provided a way to input data and get a heatmap, but apparently I'm mistaken.


I couldn't find anything to that effect, so I wrote custom scripts. Basically, it creates an image pixel by pixel, with the pixel value corresponding to the crime density of that chunk of the map, blows it up, smooths it with a Gaussian kernel, and then uses some GIS tools to warp it and chop it up into tiles for different zoom levels.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: