tag:blogger.com,1999:blog-4741970181714760187.post7765925257398596301..comments2024-03-14T19:47:05.494+00:00Comments on master maps: Creating a TIN from a raster DEMBjørn Sandvikhttp://www.blogger.com/profile/09449118212462364491noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4741970181714760187.post-89793107121271615462017-05-12T15:40:48.806+01:002017-05-12T15:40:48.806+01:00@Rowan
I have managed to apply your steps, steppi...@Rowan<br /><br />I have managed to apply your steps, stepping the quality on the simplification filter up to 1.0 means I get a really nice TIN. Thanks!<br /><br />Now for the conversion to Quantized Mesh it still needs to be tiled. I was thinking changing gdal2tiles to use .asc xyz, and then feed each tile into meshlab. After this use the Quantized Mesh Tile python library.<br /><br />The library only takes WKT input so the .ply from meshlab just needs to be re-ordered, but that adds an extra conversion step.<br /><br />Any thoughts?Snomihttps://www.blogger.com/profile/05063736034452860444noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-4539777347321182442017-05-11T16:11:12.263+01:002017-05-11T16:11:12.263+01:00This comment has been removed by the author.Snomihttps://www.blogger.com/profile/05063736034452860444noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-89300083539858397912016-09-15T21:52:50.454+01:002016-09-15T21:52:50.454+01:00Hi Bjorn,
Try the following with GDAL and Meshlab...Hi Bjorn,<br /><br />Try the following with GDAL and Meshlab:<br /><br /><b>gdal_translate -of XYZ jotunheimen_100m.grd jotunheimen_100m.asc</b><br /><br /><b>meshlabserver -i jotunheimen_100m.asc -o jotunheimen_100m.ply -s filter-script.mlx</b><br /><br />The filter-script.mlx file is a Meshlab script made with the GUI as here - http://www.andrewhazelden.com/blog/2012/04/automate-your-meshlab-workflow-with-mlx-filter-scripts/<br /><br />I included two filters in my script: "invert face normals" and "Quadratic Edge Collapse Decimation". I set the decimation to 175,000 faces with every with every option on except "weighted simplification" and "simplify only selected faces". The results look much better than what SAGA achieved, with flat low-poly water bodies.<br /><br />RowanRowan Blaikhttp://www.landscape-laboratory.org/noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-36721241295793147762016-09-13T04:10:07.855+01:002016-09-13T04:10:07.855+01:00Recent work on 3dfier from the 3D Geoinformation g...Recent work on 3dfier from the 3D Geoinformation group at Delft University, The Netherlands may be of interest: https://3d.bk.tudelft.nl/news/2016/09/08/3dfier-awesome-video.html<br />Anonymoushttps://www.blogger.com/profile/13377769899138305276noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-61461004620561284452016-09-09T06:58:43.272+01:002016-09-09T06:58:43.272+01:00Bjorn, Another option to consider is Whitebox by D...Bjorn, Another option to consider is Whitebox by Dr John Lindsay http://www.uoguelph.ca/~hydrogeo/Whitebox/Anonymoushttps://www.blogger.com/profile/07092469674548041904noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-53673683684285264602016-09-08T20:42:30.846+01:002016-09-08T20:42:30.846+01:00You can execute SAGA algorithms with SAGA CMD:
ht...You can execute SAGA algorithms with SAGA CMD:<br /><br />https://sourceforge.net/p/saga-gis/wiki/Executing%20Modules%20with%20SAGA%20CMD/Unknownhttps://www.blogger.com/profile/17866963954501129006noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-64402507069720615712016-09-07T23:52:42.703+01:002016-09-07T23:52:42.703+01:00Grognon, I'll definately have a closer look at...Grognon, I'll definately have a closer look at CloudCompare. It was able to open my 10 m DEM file without a problem, but still need to figure out how to create a TIN. <br /><br />Brad, yes I'm aware of this project - and I want to move in this direction. This is the missing part of this workflow: https://github.com/geoadmin/3d-forge/issues/168Bjørn Sandvikhttps://www.blogger.com/profile/09449118212462364491noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-79548557501908902782016-09-07T23:36:37.634+01:002016-09-07T23:36:37.634+01:00If you are looking for something with a Cesium fla...If you are looking for something with a Cesium flavour, it might be worth checking https://quantized-mesh-tile.readthedocs.io/en/latest/ and the code at https://github.com/loicgasser/quantized-mesh-tile<br /><br />I haven't tried it - its roughly half way down my todo list for this decade...Brad Hardshttps://www.blogger.com/profile/00027299538990758492noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-48538153500385285562016-09-07T18:56:31.676+01:002016-09-07T18:56:31.676+01:00I would convert the to a xyz file, load it in a to...I would convert the to a xyz file, load it in a tool like cloudcompare and mesh it there. CC offers both TIN and Poisson reconstruction.Grognonhttps://www.blogger.com/profile/02724396669530803158noreply@blogger.com