X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Jul 2019 10:03 AM by  MariM
Invalid Example File - Example Based Classification
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Anna Wojtowicz-Nowakowska



New Member


Posts:9
New Member


--
26 Jul 2019 06:33 AM
    I would like to crate Example File or Ground Truth Data in ArcGIS and then use these as signatures during Example-Based Classification.
    I would like to also use the same signatures file for 3 different time sets.
    But when I try to load my signatures file I get a message: " Invalid Example File".
    Should I calculate statistics first or something like that? How should the signature file looks like?

    Best regards,
    Ania

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    29 Jul 2019 11:38 AM
    The shapefile should have the CLASS_ID as an attribute used for grouping polygons. Also in the FX dialog where you import ground truth, be sure to use the correct button that looks like an arrow and if you hover over it with your mouse, it will say "Import Ground Truth data". It is *not* the folder button which is for importing previously created example files. I get the same error if I use this button.

    Anna Wojtowicz-Nowakowska



    New Member


    Posts:9
    New Member


    --
    30 Jul 2019 09:06 AM
    Thanks! I have one more problem. When I try import ground truth data I get a message:

    There is no overlap between the raster and the input vector.

    I create ground truth data file in ArcMap, with shp extension, only for my input raster. These two layers: image and shp have the same area and overlap each other.
    What I should do to be able to import ground truth data?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    30 Jul 2019 10:03 AM
    Does your image have spatial reference? When you open it in ENVI, go to View Metadata->Coordinate system, does it show a valid coordinate system such as UTM? If it is arbitrary or missing, then you won't be able to import your ground truth shape which likely *does* have spatial reference.
    You are not authorized to post a reply.