GSoC KML Read - Construction Draft

From OSGeo
Jump to: navigation, search

Introduction

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

Schema

Construction.jpg

Description

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.

Technics

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

Notes

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