I have a kml file with multiple absolutely identical polygons but with different names.

I need to load it to qgis and find points in these polygons.

But I guess qgis thinks that multiple duplicated polygons is bad and not letting me even load it. Saying that there is an error in the structure. I even found a polygon that he doesn't like and there is no error in it. QGIS can load let's say 3 duplicated polygons but not loading others. Looks like a critical mass for it.

So I have two questions.

How can I load this file?

If I load this file would Point in polygon work for duplicated polygons with different names?

I need a system to find points in all duplicated polygons.

closed as unclear what you're asking by Devdatta Tengshe, PolyGeo, Fezter, BradHards, MappaGnosis Feb 27 '14 at 7:45

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What is your exact procedure to try and load "multiple duplicated polygons" and what is your exact error message? You can use the edit button beneath your Question to revise it with these details. – PolyGeo Feb 27 '14 at 3:19
  • When you say there is no error in one of the polygons QGIS doesn't like, how have you tested this? Have you checked the validity of the geometry? – MappaGnosis Feb 27 '14 at 7:45

It's most certainly not a problem of duplicate polygons. QGIS wouldn't care.

Something else is off with your data.

  • 1
    You were right. It's funny. QGIS didn't like "&" in the descriptions. As soon as I delete these characters from the file, it worked. If you have an error in the kml file, use google earth desktop and it will show you the string where the error is. – Duke Feb 26 '14 at 21:02

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