heldersepu / GMapCatcher

An offline map viewer
Other
218 stars 69 forks source link

kml import fails #486

Open emgalera opened 3 years ago

emgalera commented 3 years ago

Hi, thank you for this amazing tool. I'm trying to import a .kml file which I exported from Google Maps. It's a layer with around a thousand markers made from a three-column table (marker title, latitude, longitude) but when I press F4, select the file and click OK, GMapCatcher freezes for two seconds and then shows the map again without any of the markers I'm trying to import. I'd really appreciate your help on figuring out how to make this work. Thanks in advance.

EDIT: I tried with a kml with only five markers and it doesn't work either.

heldersepu commented 3 years ago

I did not even remember about this feature, had to look at the code to see what it was... https://github.com/heldersepu/GMapCatcher/blob/c6807d4500090a6c078e7bd5e8220c2e30be9d52/gmapcatcher/xmlUtils.py#L5-L40

My educated guess the format for the markers has changed since this feature was introduced, look at that code and look your kml see if it's still valid