WKT几种对象格式
POINT(0 0) ——点
LINESTRING(0 0,1 1,1 2) ——线
POLYGON((0 0,4 0,4 4,0 4,0 0),(1 1, 2 1, 2 2, 1 2,1 1)) ——面
MULTIPOINT(0 0,1 2) ——多点
MULTILINESTRING((0 0,1 1,1 2),(2 3,3 2,5 4)) ——多线
MULTIPOLYGON(((0 0,4 0,4 4,0 4,0 0),(1 1,2 1,2 2,1 2,1 1)), ((-1 -1,-1 -2,-2 -2,-2 -1,-1 -1))) ——多面
GEOMETRYCOLLECTION(POINT(2 3),LINESTRING((2 3,3 4))) ——几何集合
arcgis geometry类型总结
Point
Polyline:new Polyline({ hasZ: false, hasM: true, paths: paths, spatialReference: { wkid: 4326 } })
Polygon:new Polygon({ hasZ: true, hasM: true, rings: rings, spatialReference: { wkid: 4326 } })
MultiPoint
Circle:new Circle({ center: [ -113, 36 ], geodesic: true, numberOfPoints: 100, radius: 100, radiusUnit: "kilometers" });