import type GeoJSON from 'geojson'; /** * 是否是点坐标字符串 * @data string "[123,29]" * @return boolean */ export declare const isPonitCoordinatesString: (data: string) => boolean; /** * 点坐标 转 Geometry * @data string "[123,29]" * @return GeoJSON.Point { type: 'Point', coordinates: [123,29] } */ export declare const ponitCoordinates2Geometry: (data: string | GeoJSON.Position) => GeoJSON.Point; /** * 是否是 wkt * @data string "POINT(6 10)","POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))","MULTIPOINT(3.5 5.6, 4.8 10.5)","MULTIPOLYGON(((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2)),((6 3,9 2,9 4,6 3)))" * @return boolean */ export declare const isWkt: (data: string) => boolean; /** * wkt 转 geometry * @data string "POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))" * @return geometry ep:{ type: 'Point', coordinates: [123,29] } */ export declare const wkt2Geometry: (data: string) => any; /** * 是否是字符串 geometry * @data string '{ "type": "Point", "coordinates": [123,29] }' * @return boolean */ export declare const isGeometryString: (data: string) => boolean; /** * geometry 字符串转 json * @data string '{ "type": "Point", "coordinates": [123,29] }' * @return GeoJSON { type: 'Point', coordinates: [123,29] } */ export declare const geometryString2Geometry: (data: string) => any; /** * 是否是点坐标(数组或字符串) * @data "[123,29]" or [123,29] * @return boolean */ export declare const isPonitCoordinates: (data: any) => any; /** * 解析带有地理类型的行数据 */ export declare const parserDataWithGeo: (data: Record[]) => Record[];