Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When I import kml.kml (generated from ArcGIS) into Google Earth, there is no problem.

However, when I try importing this file as vector layer in QGIS 1.8 on XUbuntu 12.04, I get this error :

kml.kml is not a valid or recognized data source

I need help to resolve this problem.

share|improve this question
    
have yout tried to validate the file? (kmlvalidator.com/home.htm) –  Kurt Sep 7 '12 at 5:19
add comment

3 Answers 3

Qgis does not like kml folders with mixed geometry types (points, lines and polygons). Try to separate them in individual folders. Each folder will be represented by a layer in qgis.

share|improve this answer
add comment

when your file works well with google earth, export from google earth with a different file-name and try to import this new kml into qgis

share|improve this answer
add comment

Opening the file in Google Earth and saving again (right click the layer > Save Place as > KML) has solved some of my problems with KMLs.

share|improve this answer
    
Hi Gui, Welcome to GIS.se :) I hope your time here is fruitful and look forward to reading your contributions. However for this one the same answer has already been provided (gis.stackexchange.com/a/32953) –  matt wilkie Jan 25 '13 at 21:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.