Skip to main content
Returns the X coordinate of the grid coordinate of the given world coordinates as an integer. RS_WorldToRasterCoordX

Signatures

Parameters

Raster
required
The input raster.
Double
The X coordinate (longitude).
Double
The Y coordinate (latitude).
Geometry
The point value.

Return type

An integer value.

Examples

For non-skewed rasters, you can provide any value for latitude and the intended value of world longitude, to get the desired answer