19 package org.sleuthkit.autopsy.geolocation.datamodel;
 
   21 import java.util.ArrayList;
 
   22 import java.util.Collections;
 
   23 import java.util.List;
 
   25 import org.openide.util.NbBundle.Messages;
 
   28 import org.
sleuthkit.datamodel.blackboardutils.attributes.BlackboardJsonAttrUtil;
 
   29 import org.
sleuthkit.datamodel.blackboardutils.attributes.BlackboardJsonAttrUtil.InvalidJsonException;
 
   30 import org.
sleuthkit.datamodel.blackboardutils.attributes.GeoAreaPoints;
 
   70     private static String 
getAreaName(Map<BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute> attributeMap) {
 
   71         BlackboardAttribute attribute = attributeMap.get(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_NAME);
 
   73         return attribute != null ? attribute.getValueString() : 
"";
 
   86         "GEOArea_point_label_header=Area outline point for area: {0}" 
   89         for (GeoAreaPoints.AreaPoint point : points) {
 
   90             addToPath(
new AreaWaypoint(artifact, Bundle.GEOArea_point_label_header(
getLabel()), point));
 
  105         BlackboardAttribute attribute = attributeMap.get(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GEO_AREAPOINTS);
 
  106         if (attribute == null) {
 
  111             return BlackboardJsonAttrUtil.fromAttribute(attribute, GeoAreaPoints.class);
 
  112         } 
catch (InvalidJsonException ex) {
 
  120     final class AreaWaypoint 
extends Waypoint {
 
  135         AreaWaypoint(BlackboardArtifact artifact, String pointLabel, GeoAreaPoints.AreaPoint point) throws 
GeoLocationDataException {
 
  136             super(artifact, pointLabel,
 
  139                     point.getLongitude(),
 
  145             propertyList = createPropertyList(point);
 
  156             return Collections.unmodifiableList(propertyList);
 
  166         private List<Waypoint.Property> createPropertyList(GeoAreaPoints.AreaPoint point) {
 
  167             List<Waypoint.Property> list = 
new ArrayList<>();
 
void buildPath(GeoAreaPoints points, BlackboardArtifact artifact)
Area(BlackboardArtifact artifact)
final BlackboardArtifact artifact
Area(BlackboardArtifact artifact, Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)
static String getAreaName(Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)
GeoAreaPoints getPointsList(Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)