getLevelFromPixelsAndExtent

Module: dggal
Class: DGGRS

int getLevelFromPixelsAndExtent(const GeoExtent extent, Point pixels, int relativeDepth)

Description

Return the refinement level of a parent zone corresponding to particular pixel dimensions, geographic extent and relative depth

Parameters

extent  const GeoExtent  A geographic extent to consider 
pixels  Point  The pixel dimensions to consider 
relativeDepth  int  The relative depth to consider 
 
Return Value int  The refinement level of a parent zone corresponding to the specified pixel dimensions, geographic extent and relative depth 

Remarks


This method may be used to select the refinement level of zones for which to request data to fill a visualization viewport.