TrainImageClassifier

Hi there,

I am trying to use the TrainImageClassifier accessing by Monteverdi, but I am getting the following error message:
(FATAL) TrainVectorClassifier: Caught std::exception during application execution: invalid coordinate reference system
Could anyone help me to understand what is wrong?

Many thanks,

Peace

Dear @Treasurepeace1,
Are you sure the data you use as input are well formed? You could use gdalinfo to check the reference system.

What should I look out for in the GDALinfo

How do I know the CRS of the image?

You should see something like this:

Coordinate System is:
PROJCS["WGS 84 / UTM zone 17N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AXIS["Latitude",NORTH],
        AXIS["Longitude",EAST],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-81],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32617"]]

Unsing this tool, we can see that “WGS 84 / UTM zone 17N” corresponds to EPSG:32617.

Thanks @julienosman I’ve resolved that issue.

Many thanks