Walk a tree of imported meta
This commit is contained in:
parent
3447179c59
commit
6200503642
1 changed files with 4 additions and 2 deletions
|
|
@ -931,15 +931,17 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
def openchildmeta(String gatheredpath, RelatedMetaInfo relatedmetainfo) {
|
||||
MetaInfo mi = new MetaInfo(script)
|
||||
def MetaInfo mi = new MetaInfo(script)
|
||||
|
||||
def String nextpath
|
||||
def importedmetafile
|
||||
if (gatheredpath == '') {
|
||||
nextpath = relatedmetainfo.offsetpath
|
||||
importedmetafile = nextpath + '/' + metafilepath()
|
||||
} else {
|
||||
nextpath = gatheredpath + '/' + relatedmetainfo.offsetpath
|
||||
importedmetafile = nextpath + '/' + METAFILENAME
|
||||
}
|
||||
def importedmetafile = nextpath + '/' + METAFILENAME
|
||||
def boolean next
|
||||
if (script.fileExists(importedmetafile)) {
|
||||
script.echo("Deserialising meta at file: ${importedmetafile}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue