[Gdal-dev] OGR support for KML reading?

Mateusz Loskot mateusz at loskot.net
Tue Jan 30 07:09:23 EST 2007


Ethan Alpert wrote:
> KML is write only. The fact that it says read/write is a bug afaict.

Ethan,

I wouldn't call it a bug but an inconsistency.
GDAL recognizes two types of data sets capabilities support:
- write + read
- read

If a driver supports write operations, then it's automatically
assumed the read is also supported.

In KML driver, the situation is different and doesn't match types of
capabilities used in GDAL, because there is no 'write-only' type recognized.

Therefore, the driver documentation page is recommended to read
because it provides most accurate details:

http://www.gdal.org/ogr/drv_kml.html

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list