pj_units.cpp
来自「projapi是一个关于GIS行业投影转换的程序库」· C++ 代码 · 共 39 行
CPP
39 行
#include "stdafx.h"
/* definition of standard cartesian units */
#ifndef lint
static const char SCCSID[]="@(#)pj_units.c 4.6 93/06/12 GIE REL";
#endif
#define PJ_UNITS__
#include "projects.h"
/* Field 2 that contains the multiplier to convert named units to meters
** may be expressed by either a simple floating point constant or a
** numerator/denomenator values (e.g. 1/1000) */
C_NAMESPACE struct PJ_UNITS
pj_units[] = {
"km", "1000.", "Kilometer",
"m", "1.", "Meter",
"dm", "1/10", "Decimeter",
"cm", "1/100", "Centimeter",
"mm", "1/1000", "Millimeter",
"kmi", "1852.0", "International Nautical Mile",
"in", "0.0254", "International Inch",
"ft", "0.3048", "International Foot",
"yd", "0.9144", "International Yard",
"mi", "1609.344", "International Statute Mile",
"fath", "1.8288", "International Fathom",
"ch", "20.1168", "International Chain",
"link", "0.201168", "International Link",
"us-in", "1./39.37", "U.S. Surveyor's Inch",
"us-ft", "0.304800609601219", "U.S. Surveyor's Foot",
"us-yd", "0.914401828803658", "U.S. Surveyor's Yard",
"us-ch", "20.11684023368047", "U.S. Surveyor's Chain",
"us-mi", "1609.347218694437", "U.S. Surveyor's Statute Mile",
"ind-yd", "0.91439523", "Indian Yard",
"ind-ft", "0.30479841", "Indian Foot",
"ind-ch", "20.11669506", "Indian Chain",
(char *)0, (char *)0, (char *)0
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?