I now managed to get the data quite easily from .agd file. Just the test data I’m using is not in WGS84 but ETRS89 coordinates so having bit of offset there as I was using some laser scanning data that was publicly available for testing. Also need to figure out setting the main benchmark correctly in Optisurface so the design ends up in the right place, the benchmark is now off as well in the testing dataset.
I’m using the pyproj package to do the transformations, need to run some benchmarks to check that it works OK. I think it would be easy to have a python converter that created the text file for opengrade.
I was browsing through the variable rate stuff and that’s basically what this will end up being if we export the design from outside, maybe would make sense to combine efforts at some point. Need to take a look at @SK21 rate control app as well for inspiration, then we could have opengrade app that runs alongside AOG?
But that’s maybe next things, I think the crappiest visualization I can come up with is just using a color coding and putting big vertices on the 3D view. Next could maybe be the background image, since making the png out of the elevation data is quite straightforward…