I know this is a total newbie question, but I happen to be a total newbie when it comes to KML. I am working on a GIS project using KML and I keep running into this multiple geometry issue. I want to programmatically determine when I need to encapsulate my <LineString /> points in a <MultiGeometry /> tag and when I don’t. Is it when a line string crosses itself on the same layer? When two points are at the same location on the same layer?
Share
As far as I can see, kml is not that strict. Self crossing is allowed in a linestring:
So that will form no limitation. Use the MultiGeometry only if you want to combine different sources into one kml geometry object.