Filename VS VectorData
What changes will be made and why they would make a better Orfeo ToolBox?
Hello guys,
This is an open question.
Should/could we enforce the following rule of thumb for vector data I/O?
- Use
ParameterType_InputVectorData
rather thanParameterType_InputFilename
for input vector layers. - Use
ParameterType_OutputVectorData
rather thanParameterType_OutputFilename
for output vector layers.
Currently we use to mix both in applications, but in my opinion we should use the correct parameter type for a better integration of OTB applications in external projects.
High level description
Refactor some applications parameters.
Risks and benefits
Benefits: I/O data standardization in applications. Risks: side effects ? (ParameterType_XXputFilename is traditionally used with ogr datasources)