diff --git a/meta/folder.groovy b/meta/folder.groovy index e29f8ff..f8f7cd2 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -927,7 +927,7 @@ class MetaInfo extends GISJsonSerialised { class IterationInfo { private ArrayList metacollection - private Map() metamap + private Map metamap private String comment private int level private String gatheredpath @@ -1002,13 +1002,14 @@ class MetaInfo extends GISJsonSerialised { ii.maxdepth - 1) def results = othermeta.walkrelated_v0_1(nextii) ii.metacollection = results.metacollection + ii.metamap = results.metamap ii.comment = results.comment } else { script.error("There is non v0.1 format related meta info under v0.1 related meta info") } } } - return [ 'metacollection' : ii.metacollection, 'comment': ii.comment ] + return [ 'metacollection' : ii.metacollection, 'metamap' : ii.metamap, 'comment': ii.comment ] } def walkrelated(IterationInfo ii) { @@ -1031,6 +1032,7 @@ class MetaInfo extends GISJsonSerialised { ii.maxdepth - 1) def results = childmetainfo.childmeta.walkrelated(nextii) ii.metacollection = results.metacollection + ii.metamap = results.metamap ii.comment = results.comment } } else if (!relatedmetainfo.format || relatedmetainfo.format == '0.1') { @@ -1045,11 +1047,12 @@ class MetaInfo extends GISJsonSerialised { ii.maxdepth - 1) def results = othermeta.walkrelated_v0_1(nextii) ii.metacollection = results.metacollection + ii.metamap = results.metamap ii.comment = results.comment } } } - return [ 'metacollection' : ii.metacollection, 'comment': ii.comment ] + return [ 'metacollection' : ii.metacollection, 'metamap' : ii.metamap, 'comment': ii.comment ] } def allrelatedmeta(String metapath = '') {,