Commit graph

10 commits

Author SHA1 Message Date
Ray Miller
bd7eb246d5 Improvements to duplicate suppression, cafe stop search, and configurability.
When suppressing duplicate cafes and place names, look back a certain distance along
the route rather than just the previous point of interest.

When searching for cafes, use SearchIntersect() to return all entries in the
bounding rectangle, not just the nearest.

Remove (most) hard-coded constants and allow these to be overriden by options
to the NewGPXSummarizer() constructor.
2023-01-19 16:21:32 +00:00
Ray Miller
f0b45fd4c6 Allow minimum distance between POI and minimum settlement to be overridden 2020-07-14 09:15:08 +01:00
Ray Miller
507d20810d Add TTL cache for stops index. 2020-04-21 08:45:05 +01:00
Ray Miller
52d41490f3 Annotate refreshment stops, improved logging and error handling. 2020-04-20 23:08:57 +01:00
Ray Miller
98cd890766 Simplify usage. 2020-04-18 14:26:48 +01:00
Ray Miller
86022818da Store subset of opennames data in gob format and use that to restore index. 2020-04-18 12:58:53 +01:00
Ray Miller
d1934a0e85 Add rudimentary HTTP server for RideWithGPS routes. 2020-04-17 13:01:05 +01:00
Ray Miller
e4e4ac260f Refactor to pull useful functionailty into a package. 2020-04-16 08:52:37 +01:00
Ray Miller
fb816c3132 Analyze all files in a directory, output JSON. 2020-04-15 20:56:10 +01:00
Ray Miller
f41b1a01e3 Initial check-in. 2020-04-15 09:46:58 +01:00