Skip to content

i.segment.uspo produces empty output #5

Description

@mwicht

Hi @tgrippa,
I am trying to use your code for a project of mine. I am working with pleiades imagery for optical and LiDAR for nDSM.
So far the first part runs smoothly but I started encountering problems when running i.segment.uspo. It produces an empty *.csv file, no matter the parameters (thresholds/minsize).
I can see that all datasets and subsets are created within the GRASS Mapset TEST_USPO.

I have a shapefile with one polygon per landcover class which is used as regions in i.segment.uspo.
training_areas
The regions are printed correctly as well:
subset_uspo_1@TEST_USPO,subset_uspo_10@TEST_USPO,subset_uspo_11@TEST_USPO,subset_uspo_12@TEST_USPO,subset_uspo_2@TEST_USPO,subset_uspo_3@TEST_USPO,subset_uspo_4@TEST_USPO,subset_uspo_5@TEST_USPO,subset_uspo_6@TEST_USPO,subset_uspo_7@TEST_USPO,subset_uspo_8@TEST_USPO,subset_uspo_9@TEST_USPO

Am I assuming right, that the single polygons are supposed to define one class each?
Or could something else be an issue here?

Did you encounter issues like this during the development? Any hints on debugging this issue?

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