wkid
Version:
CGCS2000 coordinate system definitions library with multiple format support
91 lines (89 loc) • 3.3 kB
TypeScript
/**
* CGCS2000坐标系定义库
* 包含各种格式的坐标系定义
*/
interface CoordinateSystemDefinition {
wkid: number;
name: string;
ogcWkt: string;
ogcWkt2: string;
esriWkt: string;
proj4: string;
proj4js: string;
json: any;
geoserver: string;
mapserver: string;
mapnik: string;
postgis: string;
}
/**
* CGCS2000地理坐标系定义
*/
declare const CGCS2000_GEOGRAPHIC: CoordinateSystemDefinition;
/**
* CGCS2000高斯-克吕格投影(3度带不带带号)定义
*/
declare const CGCS2000_GK_3DEG_NO_ZONE: CoordinateSystemDefinition[];
/**
* CGCS2000高斯-克吕格投影(3度带带带号)定义
*/
declare const CGCS2000_GK_3DEG_WITH_ZONE: CoordinateSystemDefinition[];
/**
* CGCS2000高斯-克吕格投影(6度带不带带号)定义
*/
declare const CGCS2000_GK_6DEG_NO_ZONE: CoordinateSystemDefinition[];
/**
* CGCS2000高斯-克吕格投影(6度带带带号)定义
*/
declare const CGCS2000_GK_6DEG_WITH_ZONE: CoordinateSystemDefinition[];
/**
* 所有CGCS2000坐标系定义的集合
*/
declare const CGCS2000_DEFINITIONS: CoordinateSystemDefinition[];
/**
* 根据WKID查找坐标系定义
* @param wkid 坐标系WKID
* @returns 坐标系定义或undefined
*/
declare function findCoordinateSystemByWkid(wkid: number): CoordinateSystemDefinition | undefined;
/**
* 根据名称查找坐标系定义
* @param name 坐标系名称
* @returns 坐标系定义或undefined
*/
declare function findCoordinateSystemByName(name: string): CoordinateSystemDefinition | undefined;
/**
* 获取所有3度带不带带号坐标系定义
* @returns 3度带不带带号坐标系定义数组
*/
declare function getGk3DegNoZone(): CoordinateSystemDefinition[];
/**
* 获取所有3度带带带号坐标系定义
* @returns 3度带带带号坐标系定义数组
*/
declare function getGk3DegWithZone(): CoordinateSystemDefinition[];
/**
* 获取所有6度带不带带号坐标系定义
* @returns 6度带不带带号坐标系定义数组
*/
declare function getGk6DegNoZone(): CoordinateSystemDefinition[];
/**
* 获取所有6度带带带号坐标系定义
* @returns 6度带带带号坐标系定义数组
*/
declare function getGk6DegWithZone(): CoordinateSystemDefinition[];
declare const _default: {
CGCS2000_GEOGRAPHIC: CoordinateSystemDefinition;
CGCS2000_GK_3DEG_NO_ZONE: CoordinateSystemDefinition[];
CGCS2000_GK_3DEG_WITH_ZONE: CoordinateSystemDefinition[];
CGCS2000_GK_6DEG_NO_ZONE: CoordinateSystemDefinition[];
CGCS2000_GK_6DEG_WITH_ZONE: CoordinateSystemDefinition[];
CGCS2000_DEFINITIONS: CoordinateSystemDefinition[];
findCoordinateSystemByWkid: typeof findCoordinateSystemByWkid;
findCoordinateSystemByName: typeof findCoordinateSystemByName;
getGk3DegNoZone: typeof getGk3DegNoZone;
getGk3DegWithZone: typeof getGk3DegWithZone;
getGk6DegNoZone: typeof getGk6DegNoZone;
getGk6DegWithZone: typeof getGk6DegWithZone;
};
export { CGCS2000_DEFINITIONS, CGCS2000_GEOGRAPHIC, CGCS2000_GK_3DEG_NO_ZONE, CGCS2000_GK_3DEG_WITH_ZONE, CGCS2000_GK_6DEG_NO_ZONE, CGCS2000_GK_6DEG_WITH_ZONE, CoordinateSystemDefinition, _default as default, findCoordinateSystemByName, findCoordinateSystemByWkid, getGk3DegNoZone, getGk3DegWithZone, getGk6DegNoZone, getGk6DegWithZone };