Coverage analysis - getFootprint method Issue

Ok, it seems like I have found the solution. I couldn’t directly cast the objects as you suggested, I had to use an iterator instead.

This is how I solved it, in case anyone will need it:

latitude = []
longitude = []

for k in range(0,len(footPrintList)):
    obj = footPrintList[k]
    objIter = obj.iterator()
    for d in objIter:
        points = List.cast_(d)
        for k in range(0,4):
            latitude.append(GeodeticPoint.cast_(points.get(k)).getLatitude())
            longitude.append(GeodeticPoint.cast_(points.get(k)).getLongitude())

Thank you for your help and suggestions!

1 Like