MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001446Orfeo Toolbox (OTB)Generalpublic2017-08-09 10:422017-08-17 17:07
Reportermbertolino 
Assigned Tombertolino 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Summary0001446: Write mode on the SampleExtraction application
DescriptionThe write mode on the SampleExtraction application induce some anomalies in the output file, which doesn't respect the order of the identifiers of the input OGR file.

When it write in the output file, it doesn't save the sample in the order of entry but in the order of exit from each thread.


Thus, in output from different platforms, the shapefiles samples for a same run will not have the same ID.
This error cannot be seen through testing by compare-ogr.
This test check differences on text files whose samples are sorted whithout identifiers conservation.

This phenomenom can be problematic in a case where the order of the samples have an importance for another application or filter, inducing bad results.

Solution:
Modify the PersistentSamplingFilterBase filter to save the file in the order of the IDs and not in the order of the containers of each Thread.
TagsNo tags attached.
Attached Filestxt file icon diff_sampleSelection-Extraction_testApp.txt [^] (459,424 bytes) 2017-08-09 10:42

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-08-09 10:42 mbertolino New Issue
2017-08-09 10:42 mbertolino File Added: diff_sampleSelection-Extraction_testApp.txt
2017-08-17 17:07 gpasero Assigned To => mbertolino
2017-08-17 17:07 gpasero Status new => assigned


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker