Data::TreeDumper::Renderer::GTK makes brother objects children



I have an object, dumped below with Data::TreeDumper. When I put the same object to Data::TreeDumper::Renderer::GTK ogr_driver becomes the son of ogr_datasource, ogr_layer the son of ogr_driver etc. I don't understand why. Otherwise the tree is ok. Anybody have any ideas?

Ari

Geo::Vector=HASH(0x8f62d48)
blessed in '[A]Geo::Vector'
|- OGRDataSourceH =  blessed in 'OGRDataSourceH'  [O1]
|  `- OGRDataSourceH=SCALAR(0x8f7b0e4) = 154553640  [S2]
|- OGRLayerH =  blessed in 'OGRLayerH'  [O3]
|  `- OGRLayerH=SCALAR(0x8f7b1d4) = 154317336  [S4]
|- create = 0  [S5]
|- datasource = /home/ajolma/proj/clime/lakes/  [S6]
|- driver = 0  [S7]
|- driver_options (no elements)  [A8]
|- filename = /home/ajolma/proj/clime/lakes/lakes.shp  [S9]
|- geom_type = 0  [S10]
|- layer = lakes  [S11]
|- ogr_datasource =  blessed in 'ogr::DataSource'  [O12]
|- ogr_driver =  blessed in 'ogr::Driver'  [O13]
|- ogr_layer =  blessed in 'ogr::Layer'  [O14]
|- srs =  blessed in 'osr::SpatialReference'  [O15]
|- type = HASH  [S16]
`- update = 0  [S17]

--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]