GSoC KML Read - Construction Draft

From OSGeo
Revision as of 06:25, 28 February 2011 by Neteler (talk | contribs) (+cat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


KML supports besides vector also raster data, so there are four areas to cover:

  • write vector data (already implemented)
  • read vector data (my GSoC project)
  • write raster data
  • read raster data




In the middle is the KML class, which encapsulates all functions done with and on KML files. All the XML-parsing and logic reside in the class.

On the left and right side are GDAL (the raster part) and OGR (the vector part). Both use the KML class to read and write their data.


  • The planned XML-parser is Expat (see XmlParser)


  • The tile raster function can perhaps be the same as the normal raster functions