50 return 6.21371192237334e-4;
54 return 3.28083989501312;
58 return 3.28083333333333;
100 return 2.47105381467165e-4;
108 return 3.86102158542446e-7;
112 return 10.7639104167097;
116 return 10.7638673611111;
239 ?
_(
"square kilometers")
241 :
_(
"square kilometer");
308 ?
_(
"square US feet")
310 :
_(
"square US foot");
323 ?
_(
"square degrees")
325 :
_(
"square degree");
408 if (units_name ==
NULL) {
415 else if (
strcasecmp(units_name,
"kilometer") == 0 ||
418 else if (
strcasecmp(units_name,
"acre") == 0 ||
421 else if (
strcasecmp(units_name,
"hectare") == 0 ||
424 else if (
strcasecmp(units_name,
"mile") == 0 ||
427 else if (
strcasecmp(units_name,
"foot") == 0 ||
430 else if (
strcasecmp(units_name,
"foot_us") == 0 ||
433 else if (
strcasecmp(units_name,
"degree") == 0 ||
436 else if (
strcasecmp(units_name,
"year") == 0 ||
439 else if (
strcasecmp(units_name,
"month") == 0 ||
442 else if (
strcasecmp(units_name,
"day") == 0 ||
445 else if (
strcasecmp(units_name,
"hour") == 0 ||
448 else if (
strcasecmp(units_name,
"minute") == 0 ||
451 else if (
strcasecmp(units_name,
"second") == 0 ||
const char * G_database_unit_name(int)
Get units (localized) name for the current location.
double G_meters_to_units_factor(int units)
Units conversion from meters to units.
const char * G_get_units_name(int units, int plural, int square)
Get localized units name.
double G_meters_to_units_factor_sq(int units)
Units conversion from square meters to square units.
int G_is_units_type_spatial(int units)
Check if the unit is of spatial type.
int G_is_units_type_temporal(int units)
Check if the unit is of temporal type.
int G_units(const char *units_name)
Get units code by name.