[postgis-users] KML to PostGIS

Olivier Courtin olivier.courtin at oslandia.com
Mon Oct 4 05:49:16 PDT 2010


On Oct 4, 2010, at 2:40 PM, Paulo Angelo wrote:

> Now I'm getting another problem, look below. Is there anything I can  
> do?
>
> $ ogrinfo  doc.kml
> ERROR 4: No layers in KML file: doc.kml.

Look like there's a problem with your KML file

You could first check against KML schema:

xmllint --schema http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd  
doc.kml

And if your document is valid, ask on gdal list to get further help

--
Olivier








More information about the postgis-users mailing list