ScenarioTracker.Target primaryTarget = null, secondaryTarget = null;
ScenarioTracker.Target.PositionReport primaryPositionReport = null, secondaryPositionReport = null;
for (ScenarioTracker.Target target : targets) {
ScenarioTracker.Target.PositionReport estimatedPosition = target.getPositionReportAt(t, 10);
if (estimatedPosition != null && bbox.contains(estimatedPosition.getPositionTime())) {
<BUG>createKmlShipShapePlacemark(situationFolder, target.getMmsi(), target.getName(), null, null,
</BUG>
estimatedPosition.getLatitude(), estimatedPosition.getLongitude(), estimatedPosition.getCog(),
estimatedPosition.getSog(), estimatedPosition.getHeading(), target.getToBow(),
target.getToStern(), target.getToPort(), target.getToStarboard(),

ScenarioTracker.Target primaryTarget = null, secondaryTarget = null;
ScenarioTracker.Target.PositionReport primaryPositionReport = null, secondaryPositionReport = null;
for (ScenarioTracker.Target target : targets) {
ScenarioTracker.Target.PositionReport estimatedPosition = target.getPositionReportAt(t, 10);
if (estimatedPosition != null && bbox.contains(estimatedPosition.getPositionTime())) {
createKmlShipShapePlacemark(situationFolder, String.valueOf(target.getMmsi()), target.getName(), null, null,
estimatedPosition.getLatitude(), estimatedPosition.getLongitude(), estimatedPosition.getCog(),
estimatedPosition.getSog(), estimatedPosition.getHeading(), target.getToBow(),
target.getToStern(), target.getToPort(), target.getToStarboard(),
