[Gdal-dev] KML Write-only driver for OGR

Daniel Morissette dmorissette at mapgears.com
Thu May 25 12:38:29 EDT 2006


Christopher Condit wrote:
> Some of the style information that KML handles:
> 1) Define a perspective for a feature (the application shall view this
> feature from elevation z, angle theta, lat y, lon x, etc.)
> 2) Define arbitrary icons for point features
> 3) Define links for icons (http or local)
> 4) Define drawing styles for features:
> 	* A label's color, and scale
> 	* A line's color, and width
> 	* A polygon's fill, color, and opacity
> 

No luck for #1-3, but at least #4 could be handled using feature style 
strings. This is not a priority for the initial implementation, but I 
just wanted to point out what's possible.

(See OGRFeature::GetStyleString() and OGRFeature::SetStyleString(). The 
mitab driver is one of the very few that implement this, I believe the 
dgn driver has some basic support too.)

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the Gdal-dev mailing list