GIRS
0.1.0
Installation
Tutorial
Structure
Infos about gdal and others
Reference
Spatial reference system
Features
Rasters
Functions
raster
Geoprocess
parameter
Classes
Rasters and features
GIRS
Docs
»
Reference
»
Rasters
»
raster
»
girs.rast.raster.world_to_pixel
View page source
girs.rast.raster.world_to_pixel
¶
world_to_pixel
(
geo_trans
,
x
,
y
,
np_func=<ufunc 'trunc'>
)
¶
Transform world into pixel coordinates
Parameters:
geo_trans
(
tuple with six values
) – geo transformation
x
–
y
–
np_func
–
Returns:
pixel coordinates of (x, y)
Return type:
list of int