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

From OSGeo
Jump to navigation Jump to search
m (+cat)
 
(2 intermediate revisions by one other user not shown)
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]]
  
 
== Description ==
 
== Description ==
In the middle is the KML class, which encapsulates all functions done with and on KML files. All the XML-parsing and logic are inside the class.
+
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.
 
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.
Line 12: Line 19:
 
== Notes ==
 
== Notes ==
 
* The tile raster function can perhaps be the same as the normal raster functions
 
* The tile raster function can perhaps be the same as the normal raster functions
 +
 +
[[Category:Google Summer of Code]]

Latest revision as of 06:25, 28 February 2011

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