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;
241 ?
_(
"square kilometers")
243 :
_(
"square kilometer");
310 ?
_(
"square US feet")
312 :
_(
"square US foot");
325 ?
_(
"square degrees")
327 :
_(
"square degree");
410 if (units_name ==
NULL) {
417 else if (
strcasecmp(units_name,
"kilometer") == 0 ||
420 else if (
strcasecmp(units_name,
"acre") == 0 ||
423 else if (
strcasecmp(units_name,
"hectare") == 0 ||
426 else if (
strcasecmp(units_name,
"mile") == 0 ||
429 else if (
strcasecmp(units_name,
"foot") == 0 ||
432 else if (
strcasecmp(units_name,
"foot_us") == 0 ||
435 else if (
strcasecmp(units_name,
"degree") == 0 ||
438 else if (
strcasecmp(units_name,
"year") == 0 ||
441 else if (
strcasecmp(units_name,
"month") == 0 ||
444 else if (
strcasecmp(units_name,
"day") == 0 ||
447 else if (
strcasecmp(units_name,
"hour") == 0 ||
450 else if (
strcasecmp(units_name,
"minute") == 0 ||
453 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.