[Gdal-dev] OGR support for KML reading?

Roger Bivand Roger.Bivand at nhh.no
Mon Jan 29 11:59:09 EST 2007


On Mon, 29 Jan 2007, Matt Barney wrote:

> Hello,
>  
> I'm new to GDAL and OGR, and can't locate the answer to my question in
> the Archives.
>  
> When I issue the 'ogrinfo --formats' command, it indicates read/write
> capability for the KML format, but this page contradicts that, saying
> KML support is write-only:
> http://www.gdal.org/ogr/drv_kml.html
>  
> Can anyone clarify this?

It does mean what it says on the KML help page, but because the output
part of ogrinfo was written before any write only drivers were included, 
you see the effect you report (that is that any driver present is assumed 
to support reading, even if it doesn't).

Roger

>  
> Thank you,
> Matt Barney
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the Gdal-dev mailing list