Changeset 5965


Ignore:
Timestamp:
Jan 21, 2016 8:11:54 AM (8 years ago)
Author:
dkearney
Message:

adding fixes for differences between blt2.4 and blt4 tree copy and dump function calls

Location:
branches/blt4_geovis/gui
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4_geovis/gui/scripts/map.tcl

    r5964 r5965  
    512512            }
    513513            # copy the incomming layer data into our map object
    514             set id [$layerObj copy root $_tree root->"layers"]
     514            set id [$_tree copy root->"layers" $layerObj root]
    515515            # give the layer a searchable layer name
    516516            $_tree label $id $layerName
  • branches/blt4_geovis/gui/test/geomapdataprovider.test

    r5964 r5965  
    305305    $dp exportToBltTree $tree
    306306    $tree dump root
    307 } {-1 0 ::tree0 {type image driver xyz cache true attribution {}} {}
     307} {-1 0 {{}} {type image driver xyz cache true attribution {}} {}
    308308}
    309309
  • branches/blt4_geovis/gui/test/geomapdataprovidercolorramp.test

    r5964 r5965  
    217217    $dp exportToBltTree $tree
    218218    $tree dump root
    219 } {-1 0 ::tree0 {type image driver colorramp cache true attribution {} colorramp.url file:///myimage.tif colorramp.colormap {0 0 0 0 1 1 1 1 1 1} colorramp.elevdriver gdal profile geodetic} {}
     219} {-1 0 {{}} {type image driver colorramp cache true attribution {} colorramp.url file:///myimage.tif colorramp.colormap {0 0 0 0 1 1 1 1 1 1} colorramp.elevdriver gdal profile geodetic} {}
    220220}
    221221
  • branches/blt4_geovis/gui/test/geomapdataprovidergdal.test

    r5964 r5965  
    7979    $dp exportToBltTree $tree
    8080    $tree dump root
    81 } {-1 0 ::tree0 {type image driver gdal cache true attribution {} gdal.url http://myurl.com/} {}
     81} {-1 0 {{}} {type image driver gdal cache true attribution {} gdal.url http://myurl.com/} {}
    8282}
    8383
  • branches/blt4_geovis/gui/test/geomapdataproviderogr.test

    r5964 r5965  
    151151    $dp exportToBltTree $tree
    152152    $tree dump root
    153 } {-1 0 ::tree0 {type line driver ogr cache true attribution {} ogr.url http://myurl.com/} {}
     153} {-1 0 {{}} {type line driver ogr cache true attribution {} ogr.url http://myurl.com/} {}
    154154}
    155155
  • branches/blt4_geovis/gui/test/geomapdataprovidertfs.test

    r5964 r5965  
    177177    $dp exportToBltTree $tree
    178178    $tree dump root
    179 } {-1 0 ::tree0 {type line driver tfs cache true attribution {} tfs.url http://myurl.com/ tfs.format json} {}
     179} {-1 0 {{}} {type line driver tfs cache true attribution {} tfs.url http://myurl.com/ tfs.format json} {}
    180180}
    181181
  • branches/blt4_geovis/gui/test/geomapdataprovidertms.test

    r5964 r5965  
    7979    $dp exportToBltTree $tree
    8080    $tree dump root
    81 } {-1 0 ::tree0 {type image driver tms cache true attribution {} tms.url http://myurl.com/} {}
     81} {-1 0 {{}} {type image driver tms cache true attribution {} tms.url http://myurl.com/} {}
    8282}
    8383
  • branches/blt4_geovis/gui/test/geomapdataproviderwfs.test

    r5964 r5965  
    203203    $dp exportToBltTree $tree
    204204    $tree dump root
    205 } {-1 0 ::tree0 {type line driver wfs cache true attribution {} wfs.url http://myurl.com/ wfs.typename ns:fs wfs.format json} {}
     205} {-1 0 {{}} {type line driver wfs cache true attribution {} wfs.url http://myurl.com/ wfs.typename ns:fs wfs.format json} {}
    206206}
    207207
  • branches/blt4_geovis/gui/test/geomapdataproviderwms.test

    r5964 r5965  
    129129    $dp exportToBltTree $tree
    130130    $tree dump root
    131 } {-1 0 ::tree0 {type image driver wms cache true attribution {} wms.url http://myurl.com/ wms.layers foo:bar wms.format jpeg wms.transparent false} {}
     131} {-1 0 {{}} {type image driver wms cache true attribution {} wms.url http://myurl.com/ wms.layers foo:bar wms.format jpeg wms.transparent false} {}
    132132}
    133133
  • branches/blt4_geovis/gui/test/geomapdataproviderxyz.test

    r5964 r5965  
    7979    $dp exportToBltTree $tree
    8080    $tree dump root
    81 } {-1 0 ::tree0 {type image driver xyz cache true attribution {} xyz.url http://myurl.com/} {}
     81} {-1 0 {{}} {type image driver xyz cache true attribution {} xyz.url http://myurl.com/} {}
    8282}
    8383
Note: See TracChangeset for help on using the changeset viewer.