Click or drag to resize
CIMURangeLL Method
Determine the range in lat. and long. of a projected grid

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
This routine determines the latitude and longitudes along the edge of a grid and returns the minimal and maximal values. It scans each row and and column and finds the first non-dummy position at the start and end, and then determines the coordinates at those points. If the grid has no data, no IPJ object, or if the Source Type of the IPJ is not <define>IPJ_TYPE_PCS</define> (projected coordinate system), then the returned values are dummies (<define>GS_R8DM</define>).
Syntax
public static void RangeLL(
	CGXNETCore gxNetShared,
	CIMG img,
	ref double min_lat,
	ref double min_lon,
	ref double max_lat,
	ref double max_lon
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
Input image
min_lat
Type: SystemDouble
Min latitude
min_lon
Type: SystemDouble
Min longitude
max_lat
Type: SystemDouble
Max latitude
max_lon
Type: SystemDouble
Max longitude
See Also