Skip to content
Snippets Groups Projects
Commit 601412fc authored by Marina Bertolino's avatar Marina Bertolino
Browse files

ENH: add KMeansFileNamesHandler constructor

parent ef594380
No related branches found
No related tags found
No related merge requests found
......@@ -100,12 +100,10 @@ private:
{
if (IsParameterEnabled("vm") && HasValue("vm")) ConnectKMClassificationMask();
KMeansFileNamesHandler fileNames;
KMeansFileNamesHandler fileNames(GetParameterString("out"));
const std::string fieldName = "field";
fileNames.CreateTemporaryFileNames(GetParameterString( "out" ));
// Create an image envelope
ComputeImageEnvelope(fileNames.tmpVectorFile);
// Add a new field at the ImageEnvelope output file
......
......@@ -147,7 +147,7 @@ public:
class KMeansFileNamesHandler
{
public :
void CreateTemporaryFileNames(const std::string &outPath)
KMeansFileNamesHandler(const std::string &outPath)
{
tmpVectorFile = outPath + "_imgEnvelope.shp";
polyStatOutput = outPath + "_polyStats.xml";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment