Hi Roberto, With the merging there is a switch --ignorechecks which I use when I know files are 'the same'. These checks try to make sure that everything in the headers of the SPD files are the same and very small rounding errors can disrupt this, which is why I added the ignore switch.
As an aside, there is a python script (spdbuildmergecmd.py) which you can use automatically build you spdmerge commands. With the other errors I don't know, I would need to have a look at the files and try to reproduce the error and debug the code. Following the merge what bin size are you translating your files to? If you are processing large datasets you might find it quicker and easier to use the tiling commands which splits the scene into tiles (with an optional overlap between tiles) which you can then process independently (simultaneously if you have processes and RAM spare; I either use a HPC or the GNU parallel command for this). Any raster products can then be merged using the appropriate command. There are details of how to do this in the documentation on bitbucket (https://bitbucket.org/petebunting/spdlib-documentation), although there are some specific details relating to the HPC system at Auckland Uni as I've been running data there through work with Landcare Research. Best wishes, Pete On 22 Aug 2013, at 14:30, Roberto Antolín <[email protected]> wrote: > Hi all, > > I have tried to merge 10 different spd files and I got some problems with > spdmerge but no only. All those files were translated from LAS to SPD in the > same way, and all the las files come from the same flight. I checked all the > files were together within the same region and, in fact, they are consecutives > tiles forming a row. > > The first problem I found is at merging. This command > spdmerge -x FIRST_RETURN -f SPD -o merge.spd '10_files.spd' > > gives me this error: > "Error: '9th file' was not compatiable with the file(s) previously read" > > I cannot understand why that file is not compatible with the other 9 files. > What > does it mean "not compatible"? > > I left out the 9th and 10th (in order to avoid data gaps) and spdmerge worked > without error. However, once I managed to merge the files I tried to obtain a > terrain classification and an interpolation with spdmpfgrd and spdinterp, > respectively. Both of them gave me same error: > "Error: The overlap must be smaller than the block size in both axis'" > > when running the most basic commands: > > spdinterp --in NEAREST_NEIGHBOR --dsm --topo -i merge.spd -o merge_interp.spd > spdpmfgrd -i merge.spd -o merge_pmf.spd > > Besides, if I set different values for --overlap (size in bins of the > overlap) or -r > (no. of rows) or -c (no. of cols) nothing changes, except for this error in > spdinterp: > > "ERROR 1: Attempt to create 0x0 dataset is illegal,sizes must be larger than > zero. > Error: Failed to create image interp/merge_interp.spd" > > and this other in spdpmfgrd: > > Using native resolution for processing > Error: H5Screate_simple failed > > I guess all these errors are related with spdmerge, because I cannot reproduce > any of them with single tiles. > > Any clue/advice/hint/aclaration is welcome. > > Regards, > Roberto. > > -- > Roberto Antolín > http://twitter.com/#!/tolanss > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > spdlib-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spdlib-develop ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ spdlib-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spdlib-develop
