GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
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. More... | |
int | G_scan_easting (const char *buf, double *easting, int projection) |
ASCII easting to double. More... | |
int | G_scan_resolution (const char *buf, double *res, int projection) |
ASCII resolution to double. More... | |
GIS Library - Coordinate scanning functions.
(C) 2001-2009, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file wind_scan.c.
int G_scan_easting | ( | const char * | buf, |
double * | easting, | ||
int | projection | ||
) |
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 69 of file wind_scan.c.
References PROJECTION_LL.
int G_scan_northing | ( | const char * | buf, |
double * | northing, | ||
int | projection | ||
) |
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 38 of file wind_scan.c.
References PROJECTION_LL.
int G_scan_resolution | ( | const char * | buf, |
double * | res, | ||
int | projection | ||
) |
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] | resolution | resolution value |
projection | projection code |
Definition at line 100 of file wind_scan.c.
References G_llres_scan(), and PROJECTION_LL.