Hacker News new | ask | show | jobs
Show HN: Generate free golf yardage books from OpenStreetMap data (npilk.github.io)
4 points by npilk 25 days ago
Hey HN, I'm sharing a tool I made to create yardage books for golf courses.

I'd originally written a Python tool a few years ago that pulled data from OpenStreetMap, auto-calculated relevant distances, and then created imagery for a yardage book. If you want to see the original, it's here: https://github.com/npilk/hacker-yardage

But Python was a pretty big technical barrier for most casual golfers. Then recently I realized most of the same functionality could be bundled into a JS app. Claude did most of the port for me.

The result is OpenYardage. You can search for a golf course and the tool will auto-generate a yardage book for you.

I'd welcome any feedback or ideas! The Python version still has some features I haven't been able to port yet, the main one being topographical data to visualize slopes.

The source is available here: https://github.com/npilk/openyardage-web

1 comments

Cool idea, I like the fact you've provided instructions to print, that was the first thing I was thinking. There's probably an opportunity to further add detail and texture to the hole image. As users map their home or local course, you could store the result and eventually create a course catalog to enable less technical users to print 'open source' yardage books.