5 ms·
PostGIS is loads of fun with sports data. Being able to find similar passages of play just using ST_MakeLine and ST_FrechetDistance feels like magic when you fi
by thom 6y ago
PostGIS is loads of fun with sports data. Being able to find similar passages of play just using ST_MakeLine and ST_FrechetDistance feels like magic when you first do it in all of five lines of code.
Spatial tools are a bit like logic programming in that they’re very slightly esoteric. But once you know they’re the right hammer for some nails, they’ll save you lots of time and effort over your life, and let you express some ideas you might otherwise struggle with.
- another-dave 6y agoThis sounds really interesting. Was thinking it would be cool to build a hobby project in this space, but wasn't sure how to get started. Do you have any recommended sources for sample datasets to play around with?
- thom 6y agoWe (StatsBomb) make a bunch of stuff available at: https://github.com/statsbomb/open-data https://github.com/statsbomb/open-data Interesting stuff from Metrica too: https://github.com/metrica-sports/sample-data https://github.com/metrica-sports/sample-data There are other less legit sources that you may be able to work out for yourself. :)