49 return 6.21371192237334e-4;
53 return 3.28083989501312;
57 return 3.28083333333333;
99 return 2.47105381467165e-4;
107 return 3.86102158542446e-7;
111 return 10.7639104167097;
115 return 10.7638673611111;
208 return plural ?
_(
"square units") :
_(
"square unit");
210 return plural ?
_(
"units") :
_(
"unit");
215 return plural ?
_(
"square meters") :
_(
"square meter");
217 return plural ?
_(
"meters") :
_(
"meter");
222 return plural ?
_(
"square kilometers") :
_(
"square kilometer");
224 return plural ?
_(
"kilometers") :
_(
"kilometer");
229 return plural ?
_(
"acres") :
_(
"acre");
237 return plural ?
_(
"hectares") :
_(
"hectare");
245 return plural ?
_(
"square miles") :
_(
"square mile");
247 return plural ?
_(
"miles") :
_(
"mile");
252 return plural ?
_(
"square feet") :
_(
"square foot");
254 return plural ?
_(
"feet") :
_(
"foot");
259 return plural ?
_(
"square US feet") :
_(
"square US foot");
261 return plural ?
_(
"US feet") :
_(
"US foot");
266 return plural ?
_(
"square degrees") :
_(
"square degree");
268 return plural ?
_(
"degrees") :
_(
"degree");
272 return plural ?
_(
"years") :
_(
"year");
276 return plural ?
_(
"months") :
_(
"month");
280 return plural ?
_(
"days") :
_(
"day");
284 return plural ?
_(
"hours") :
_(
"hour");
288 return plural ?
_(
"minutes") :
_(
"minute");
292 return plural ?
_(
"seconds") :
_(
"second");
321 if (units_name ==
NULL) {
325 if (strcasecmp(units_name,
"meter") == 0 ||
326 strcasecmp(units_name,
"meters") == 0)
328 else if (strcasecmp(units_name,
"kilometer") == 0 ||
329 strcasecmp(units_name,
"kilometers") == 0)
331 else if (strcasecmp(units_name,
"acre") == 0 ||
332 strcasecmp(units_name,
"acres") == 0)
334 else if (strcasecmp(units_name,
"hectare") == 0 ||
335 strcasecmp(units_name,
"hectares") == 0)
337 else if (strcasecmp(units_name,
"mile") == 0 ||
338 strcasecmp(units_name,
"miles") == 0)
340 else if (strcasecmp(units_name,
"foot") == 0 ||
341 strcasecmp(units_name,
"feet") == 0)
343 else if (strcasecmp(units_name,
"foot_us") == 0 ||
344 strcasecmp(units_name,
"foot_uss") == 0)
346 else if (strcasecmp(units_name,
"degree") == 0 ||
347 strcasecmp(units_name,
"degrees") == 0)
349 else if (strcasecmp(units_name,
"year") == 0 ||
350 strcasecmp(units_name,
"years") == 0)
352 else if (strcasecmp(units_name,
"month") == 0 ||
353 strcasecmp(units_name,
"months") == 0)
355 else if (strcasecmp(units_name,
"day") == 0 ||
356 strcasecmp(units_name,
"days") == 0)
358 else if (strcasecmp(units_name,
"hour") == 0 ||
359 strcasecmp(units_name,
"hours") == 0)
361 else if (strcasecmp(units_name,
"minute") == 0 ||
362 strcasecmp(units_name,
"minutes") == 0)
364 else if (strcasecmp(units_name,
"secons") == 0 ||
365 strcasecmp(units_name,
"seconds") == 0)
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_units(const char *units_name)
Get units code by name.
int G_is_units_type_temporal(int units)
Check if the unit is of temporal type.
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.
const char * G_database_unit_name(int)
Get units (localized) name for the current location.