[OpenLayers-Dev] Maintaining hierarchy in Format parsers

Michael Nosal mnosal at mitre.org
Wed May 20 15:11:32 EDT 2009


I'm looking at writing/enhancing a Format parser to maintain hierarchy.

For example, Format/KML.js produces a flat array of features, even  
though the source KML file has a well-defined folder hierarchy.
For large datasets, maintaining this hierarchy would make it easier to  
support drill-down into the data, rather than dumping all features  
into a flat array.
What would you recommend to represent this hierarchy in the return  
object?

Mike Nosal




More information about the Dev mailing list