Difference between revisions of "GSoC KML Read - Construction Draft"

From OSGeo
Jump to navigation Jump to search
Line 1: Line 1:
 +
== 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 ==
 
== Schema ==
 
[[Image:Construction.jpg]]
 
[[Image:Construction.jpg]]

Revision as of 11:42, 24 June 2007

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