Compute statistics of the features in a set of OGR Layers
Compute statistics (mean and standard deviation) of the features in a set of OGR Layers, and write them in an XML file. This XML file can then be used by the training application.
Vector Data (inshp): Name of the input shapefile
Output XML file (outstats): XML file containing mean and variance of each feature.
Feature (feat): List of features to consider for statistics.
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Experimental. For now only shapefiles are supported.
David Youssefi during internship at CNES
Example of use
otbcli_ComputeOGRLayersFeaturesStatistics -inshp vectorData.shp -outstats results.xml -feat perimeter