Skip to content

stl output size from tin is 0 #2

@sugizo

Description

@sugizo

env
google colab
os : ubuntu jammy (x64)

steps

!apt update
!apt install -y saga gdal-bin
pip install -U PySAGA-cmd
!gdal_translate -of GSBG /usr/local/lib/python3.10/dist-packages/PySAGA_cmd/assets/DEM_30m.tif DEM_30m.grd
!saga_cmd tin_tools 0 -GRID DEM_30m.grd -VALUES DEM_30m.grd -TIN DEM_30m
!saga_cmd io_shapes 12 -TIN DEM_30m.shp -ZFIELD 'DEM_30m' -BINARY 1 -FILE DEM_30m
!ls -la

**result **
not expected, output DEM_30m.stl 0 byte

total 10912
drwxr-xr-x 1 root root    4096 May 28 18:32 .
drwxr-xr-x 1 root root    4096 May 28 16:25 ..
drwxr-xr-x 4 root root    4096 May 23 13:24 .config
-rw-r--r-- 1 root root       6 May 28 18:28 DEM_30m.cpg
-rw-r--r-- 1 root root 5489737 May 28 18:28 DEM_30m.dbf
-rw-r--r-- 1 root root  563096 May 28 18:28 DEM_30m.grd
-rw-r--r-- 1 root root     903 May 28 18:28 DEM_30m.grd.aux.xml
-rw-r--r-- 1 root root     298 May 28 18:28 DEM_30m.mshp
-rw-r--r-- 1 root root       0 May 28 18:28 DEM_30m.prj
-rw-r--r-- 1 root root 3941380 May 28 18:28 DEM_30m.shp
-rw-r--r-- 1 root root 1126180 May 28 18:28 DEM_30m.shx
-rw-r--r-- 1 root root       0 May 28 18:31 DEM_30m.stl

expected result
can have *.stl output that can be view or open, like execute from
saga_gui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions