Readit News logoReadit News
folli · a year ago
In case anyone is interested in 3D Terrain simulation (specifically for GPS tracks, e.g. hiking, skiing): I'm working on https://cubetrek.com

Source is here: https://github.com/r-follador/cubetrek

npteljes · a year ago
Fantastic project and front page. I'm sorry I have nothing to add, I'm just amazed be the effort, and how smooth, fast and straightforward it all is presented.
folli · a year ago
Thank you, much appreciated!
sureglymop · a year ago
This is awesome! Did you know that swisstopo publishes a dataset of 3D models of many swiss buildings complete with accurate roof shapes?

I think version 3 is now in beta and last I checked they even covered remote areas and alp huts: https://www.swisstopo.admin.ch/en/landscape-model-swissbuild...

folli · a year ago
Swisstopo is great. Recently, I was playing around with their LIDAR dataset, really cool.

For CubeTrek, however, I needed some kind of dataset with global coverage, that's why I settled in SRTM data.

antman · a year ago
Very nice! Is there a way to upload GPC files?
folli · a year ago
I've never heard of GPC files, so no ;)

What kind of format is it?

Edit: did you mean GPX files? Yes! And FIT files.

jmkb · a year ago
This is a beautiful project but unfortunately the OSM data's out of date -- over a year old at this point. Based on https://github.com/StrandedKitty/streets-gl/issues/182 it seems like this might be abandonware.
reddalo · a year ago
That's sad, but maybe somebody will see it here and decide to maintain this very cool project!
NoboruWataya · a year ago
This is awesome. I didn't realise OSM even had such detailed data on building shapes. As others have noted, outside (or on the outskirts of) major cities the data is quite sparse but central London, for example, looks great.
justinclift · a year ago
Yeah, the OSM data seems really complete for some cities. Co-incidentally, I've recently been putting together some 3D GIS visualisation stuff using OSM data.

Try zooming in to pretty much any capital city, then use the right mouse button to rotate the viewpoint so the 3D shows up properly:

https://osm.newdash.io

That's just a temporary domain and an in-development project, but (to me) it seems to be working pretty well. Can build applications on top of this.

justinclift · a year ago
As a data point, holding down the shift key + using the arrow keys at the same time also works for moving the camera viewpoint. It's not as fine grained as the right mouse button, but it works "well enough" as an alternative for setups without a right mouse button. :)
culebron21 · a year ago
A similar project doing exactly the same, that has been working for years, with lighting and weather effects: https://demo.f4map.com/
fladd · a year ago
Doesn't seem to work in Firefox. You get just a white view.
cess11 · a year ago
Works in FF for me. It's rather resource hungry, maybe an OOM? Judging from RAM consumption I'm guessing it doesn't utilise GPU, but maybe it does and didn't fit in mine.
mholt · a year ago
Not OOM. (I have 128 GB. Using... 7. lol)
85392_school · a year ago
I'm in Chrome and I'm also stuck on a white view, probably because https://streets.gl/js/index.js cuts off halfway through
Digit-Al · a year ago
Same for me. I get the following messages in the console:

Loading failed for the <script> with source “https://streets.gl/js/index.js”. streets.gl:1:940 A resource is blocked by OpaqueResponseBlocking, please check browser console for details. script.js Loading failed for the <script> with source “https://analytics.streets.gl/js/script.js”. streets.gl:1:815

xcf_seetan · a year ago
Same here, Firefox on a Debian machine and firefox just finished updating...
pmontra · a year ago
I get a CORS error in the console. And a WebGPU error in Chrome. This is a Linux Debian machine.
yellowapple · a year ago
Same symptoms. Latest Firefox and (Ungoogled) Chromium on Linux, latest Firefox and Edge on Windows.
shwaj · a year ago
Me too. White screen on Chrome, iOS and macOS.
column · a year ago
Press Tab, use WSAD to move and mouse to aim = Discount Flight Simulator! Love it.
timmg · a year ago
In case one of the developers is reading, small-ish bug: I increased the vertical field of view "all the way" to 120 degrees. When in "morning" mode, there is a rectangular "shade" over the right bottom corner of the screen. When in "evening" mode it is in the left bottom quarter. (At least on my MBP with Chrome.)
ranger_danger · a year ago
Please check for WebGL support before loading all the assets