Hello,
I am trying to generate a report from a viewdome analysis result (values in Visibility by Layer). Is it currently possible to extract this information in report?
I tried to apply report rule in cga, but was not able to apply it in this analysis layer.
No, sorry, it is not possible to report viewdome information.
Hello Cheryl,
Thank you for your response. so I assume that it is the same for other analysis layers - no report available for view corridor and veiwshed. However, is there anyway to export that result into external files directly such as csv?
Thank you.
Hi Kerry
There is 2 ways to do this:
getVisibleSolidAngle(self, viewshed, requestedLayers)
Get the layers' visible solid angle from the viewshed.
@param viewshed: The Viewshed . [Analysis]
@param requestedLayers: An array of layers . [sequence of ]
@return: result. [sequence of float]
@example:
# get the Solid Angles of the Viewshed per Object Layer
viewshed = ce.getObjectsFrom(ce.scene, ce.isViewshed)[0]
panoramaLayer = ce.getObjectsFrom(ce.scene, ce.withName("'Panorama'"))[0]
newShapesLayer = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("'New Shapes'"))[0]
layers = [panoramaLayer,newShapesLayer]
solidAngles = ce.getVisibleSolidAngle(viewshed, layers)
print "Panorama : ", solidAngles [0], " steradians"
print "New Shapes: ", solidAngles [1], " steradians"
Hello Thomas,
Thank you for your response. getVisibleSolidAngle function worked perfectly.
Regards,