Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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? ( – Kurt Sep 7 '12 at 5:19

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

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

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 :) 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 ( – matt wilkie Jan 25 '13 at 21:13

Your Answer


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.