Commit b5ccd93e authored by Lauren Adoram-Kershner's avatar Lauren Adoram-Kershner
Browse files

shoves isis footprint into multipolygon if it is poly

parent 1baa6adc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -658,6 +658,8 @@ class NetworkNode(Node):
            # get ISIS footprint if possible
            if utils.find_in_dict(self.geodata.metadata, "Polygon"):
                footprint_latlon =  shapely.wkt.loads(self.geodata.footprint.ExportToWkt())
                if isinstance(footprint_latlon, shapely.geometry.Polygon):
                    footprint_latlon = shapely.geometry.MultiPolygon(list(footprint_latlon))
                cam_type = 'isis'
                return footprint_latlon, cam_type
            # Get CSM footprint