5 lines
2.6 KiB
HTML

<html><head>
<style type="text/css">
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
</style>
</head><body><h1>OGRLayerClassifier</h1><h2>Brief Description</h2>Classify an OGR layer based on a machine learning model and a list of features to consider.<h2>Tags</h2>Segmentation<h2>Long Description</h2>This application will apply a trained machine learning model on the selected feature to get a classification of each geometry contained in an OGR layer. The list of feature must match the list used for training. The predicted label is written in the user defined field for each geometry.<h2>Parameters</h2><ul><li><b>[param] -inshp</b> &lt;string&gt; Name of the input shapefile. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -instats</b> &lt;string&gt; XML file containing mean and variance of each feature.. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -insvm</b> &lt;string&gt; Input model filename.. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -cfield</b> &lt;string&gt; Field containing the predicted class. Mandatory: True. Default Value: &quot;predicted&quot;</li><li><b>[param] -inxml</b> &lt;string&gt; Load otb application from xml file. Mandatory: False. Default Value: &quot;&quot;</li><li><b>[param] -outxml</b> &lt;string&gt; Save otb application to xml file. Mandatory: False. Default Value: &quot;&quot;</li><b>[choice] -feat</b> Features to be calculated . Mandatory: True. Default Value: &quot;&quot;<ul></ul></ul><h2>Limitations</h2>Experimental. Only shapefiles are supported for now.<h2>Authors</h2>David Youssefi during internship at CNES<h2>See Also</h2>ComputeOGRLayersFeaturesStatistics,TrainOGRLayersClassifier<h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">inshp: vectorData.shp</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">instats: meanVar.xml</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">insvm: svmModel.svm</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">feat: perimeter</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">cfield: predicted</p></li></ul></body></html>