User Activity

  • Posted a comment on discussion User Forum on SAGA GIS

    Thats exactly what I was looking for. Thanks a lot Christian Den ons. 26. jun. 2024 kl. 09.26 skrev Volker Wichmann reklov_w@users.sourceforge.net: There are several ways to achieve this, the most convenient is probably from PySAGA import saga_api grid = saga_api.SG_Get_Data_Manager().Add_Grid('/home/vw/test/DGM_30m_Mt_St_Helens_SRTM.tif') x = 561320 y = 5114000 value = grid.Get_Value(x, y, saga_api.GRID_RESAMPLING_NearestNeighbour) print(value) Depending on your application you might want to use...

  • Posted a comment on discussion User Forum on SAGA GIS

    Using pySaga, I would like to read a grid value at a single XY position. Ideally the same functionality as shapes_grid.Run_Add_Grid_Values_to_Points do, but without creating an output shape. Is this possible ?

  • Posted a comment on discussion User Forum on SAGA GIS

    Does a saga grid tool exist, that can reduce highs and increase lows, somewhat like reducing contrast in an image, while maintaining average ?

  • Posted a comment on discussion User Forum on SAGA GIS

    Thanks.. That helped a lot. For some of the tool templates I've copied, like "grid_gridding.Run_Triangulation" there are no TARGET_OUT_GRID in the template? This could however be added and works, it seems. Christian

  • Posted a comment on discussion User Forum on SAGA GIS

    Thanks. Looking forward to the documentation. So far I'm guessing a lot :-) (too much). So far i've been using this approach: Tool = saga.SG_Get_Tool_Library_Manager().Get_Tool('grid_spline', '4') Tool = saga.SG_Get_Tool_Library_Manager().Get_Tool('shapes_points', '5') But in the saga_python_example.ipynb document (which is great) a different approach with tools is used: from PySAGA.tools import ta_hydrology ta_hydrology.Flow_Accumulation_TopDown(ELEVATION=dem_nosinks, FLOW=flow_acc, METHOD='Multiple...

  • Posted a comment on discussion User Forum on SAGA GIS

    Hi. I could really use some more python api examples. There are some links here in the chat, like the one below, but the ones i've found are not working anymore? Is there a good place to find some examples. Simple tasks like adding a grid and a shape to a parameter object and so on. https://sourceforge.net/p/saga-gis/code/ci/master/tree/saga-gis/src/accessories/python/examples/03_grid_difference.py

  • Posted a comment on discussion Open Discussion on SAGA GIS

    Where can i find information about the saga_api for python functions ? for example saga_api.SG_Get_Tool_Library_Manager(), saga_api. SG_Get_Data_Manager(), saga_api.SG_Create_Grid(), and so on. Would be so nice to be able to use python with SAGA :-)

View All

Personal Data

Username:
christianhelweg
Joined:
2024-03-01 11:26:06.319000

Projects

  • No projects to display.

Personal Tools