Large scene segmentation : Error in LargeScaleMeanShift - File size cannot reach [size]
Hi,
I have been using MeanShiftSegmentation in a GEOBIA workflow successfully until larger scenes with large nodata areas appeared in our input images. The large nodata areas generated a very large amount of output polygons, making the files much harder to manipulate.
To circumvent this issue, I have been trying to implement LargeScaleMeanShift, which seems to perform correctly until the Vectorization step, where the following error message is generated :
(FATAL) LargeScaleMeanShift: itk::ERROR: Cannot create a new feature in the layer <.shp>: Failed to write shape object. File size cannot reach 4294967160 + 136
The following input command is used to launch the app, where the input is a ~150Go 8 bands GeoTIFF Worldview-2 image:
-in image.tif -spatialr 5 -ranger 0.05 -minsize 3 -mode vector -mode.vector.out output/test.shp -cleanup true -ram 4000
[edit] I am using using OTB 7.1.0 on Windows 8.1 64bits
I have also tried with higher ram limits, without success.
Are there any tricks to fix this issue, and/or what would be the best practices when applying MeanShiftSegmentation to larger scenes?
Many thanks, Arthur