|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-a768b68929
|
GIS Library - Coordinate scanning functions. More...

Go to the source code of this file.
Functions | |
| int | G_scan_northing (const char *buf, double *northing, int projection) |
| ASCII northing to double. | |
| int | G_scan_easting (const char *buf, double *easting, int projection) |
| ASCII easting to double. | |
| int | G_scan_resolution (const char *buf, double *res, int projection) |
| ASCII resolution to double. | |
GIS Library - Coordinate scanning functions.
SPDX-FileCopyrightText: 2001-2009, 2011 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file wind_scan.c.
ASCII easting to double.
Converts the ASCII "easting" coordinate string in buf to its double representation (into easting).
Supported projection codes (see gis.h):
| buf | buffer containing string easting | |
| [out] | easting | easting |
| projection | projection code |
Definition at line 67 of file wind_scan.c.
References G_lon_scan(), and PROJECTION_LL.
Referenced by G__read_Cell_head_array(), and Vect_read_ascii().
ASCII northing to double.
Converts the ASCII "northing" coordinate string in buf to its double representation (into northing).
Supported projection codes (see gis.h):
| buf | buffer hold string northing | |
| [out] | northing | northing |
| projection | projection code |
Definition at line 36 of file wind_scan.c.
References G_lat_scan(), and PROJECTION_LL.
Referenced by G__read_Cell_head_array(), and Vect_read_ascii().
ASCII resolution to double.
Converts the ASCII "resolution" string in buf to its double representation (into resolution).
Supported projection codes (see gis.h):
| buf | buffer containing string resolution | |
| [out] | res | resolution value |
| projection | projection code |
Definition at line 98 of file wind_scan.c.
References G_llres_scan(), and PROJECTION_LL.
Referenced by G__read_Cell_head_array().