Re:Show HN: GPX replay map that shows terrain shadows during...
by tppiotrowski on Wednesday October 13, 2021 @01:29PM
(#28854974)
I've always had a hard time visualising the passage of time when viewing my GPX tracks. I wanted a better way to relive the moment and stimulate memories of what the day was like, so I put together this little visualisation that works with any .gpx track[1].
Re:Show HN: GPX replay map that shows terrain shadows during...
by tppiotrowski on Wednesday October 13, 2021 @06:44PM
(#28858509)
GPX replay is a proof-of-concept built on an API and map plugins I've been developing over the past year.
If you're interested, there are more features like the ability to view shade for any time/date/location throughout the year, search, building shadows, and high DPI mode available at the base url: https://shademap.app
Re:Show HN: GPX replay map that shows terrain shadows during...
by tppiotrowski on Wednesday October 13, 2021 @06:51PM
(#28858566)
Thank you. Autoplay would be amazing to prevent bounces from users that don't immediately know what the slider does but I'm a bit worried I will tax the GPU on low-end devices or large screens and end up freezing the page. Before I can introduce a play button I need to understand how to profile GPU performance and change the quality to maintain a healthy frame rate.
[1] .gpx track must have timestamps
Incorporating some of the overall sky colors might be neat, so that twilight looks different than midnight.
Relevant to the parent suggestion, you might add some indicators on the slider to show where daytime is.
Mapbox has paid DEM data to zoom level 20, but I think it's just zoom level 15 scaled up (but the data is cleaner and more recent) [2]
Nextzen also open-sourced their elevation tile generator, but I haven't tried to generate my own tiles [3]
[1] https://www.nextzen.org/#terrain-tiles
[2] https://docs.mapbox.com/help/troubleshooting/access-elevatio...
[3] https://github.com/tilezen/joerd
If you're interested, there are more features like the ability to view shade for any time/date/location throughout the year, search, building shadows, and high DPI mode available at the base url: https://shademap.app