started kml generation, doen't work properly