Click or drag to resize

CIMU.RangeLL Method

Determine the range in lat. and long. of a projected grid

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void RangeLL(
	CIMG img,
	ref double min_lat,
	ref double min_lon,
	ref double max_lat,
	ref double max_lon
)

public static void RangeLL(
	CIMG img,
	ref double min_lat,
	ref double min_lon,
	ref double max_lat,
	ref double max_lon
)

Parameters

img
Type: GeoEngine.Core.GXNet.CIMG
Input image
min_lat
Type: System.Double
Min latitude
min_lon
Type: System.Double
Min longitude
max_lat
Type: System.Double
Max latitude
max_lon
Type: System.Double
Max longitude
Remarks
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>).
See Also