arcgis esriGeometryType

        private string ZHTTLX(esriGeometryType geotype)
        {
            string stype = geotype.ToString();

            switch (geotype)
            {
                case esriGeometryType.esriGeometryAny:
                    stype = "任何类型(Any valid geometry)";
                    break;
                case esriGeometryType.esriGeometryBag:
                    stype = "任意几何类型的集合(GeometryBag)";
                    break;
                case esriGeometryType.esriGeometryBezier3Curve:
                    stype = "贝兹曲线(BezierCurve)";
                    break;
                case esriGeometryType.esriGeometryCircularArc:
                    stype = "圆弧(CircularArc)";
                    break;
                case esriGeometryType.esriGeometryEllipticArc:
                    stype = "椭圆弧(EllipticArc)";
                    break;
                case esriGeometryType.esriGeometryEnvelope:
                    stype = "外包(Envelope)";
                    break;
                case esriGeometryType.esriGeometryLine:
                    stype = "线段(Line)";
                    break;
                case esriGeometryType.esriGeometryMultiPatch:
                    stype = "表面几何(MultiPatch)";
                    break;
                case esriGeometryType.esriGeometryMultipoint:
                    stype = "多点(Multipoint)";
                    break;
                case esriGeometryType.esriGeometryNull:
                    stype = "未知类型(Unknown)";
                    break;
                case esriGeometryType.esriGeometryPath:
                    stype = "路径(Path)";
                    break;
                case esriGeometryType.esriGeometryPoint:
                    stype = "点(Point)";
                    break;
                case esriGeometryType.esriGeometryPolygon:
                    stype = "多边形(Polygon)";
                    break;
                case esriGeometryType.esriGeometryPolyline:
                    stype = "多段线(Polyline)";
                    break;
                case esriGeometryType.esriGeometryRay:
                    stype = "射线(Ray)";
                    break;
                case esriGeometryType.esriGeometryRing:
                    stype = "环(Ring)";
                    break;
                case esriGeometryType.esriGeometrySphere:
                    stype = "球体(Sphere)";
                    break;
                case esriGeometryType.esriGeometryTriangleFan:
                    stype = "三角扇形(TriangleFan)";
                    break;
                case esriGeometryType.esriGeometryTriangleStrip:
                    stype = "三角带(TriangleStrip)";
                    break;
                case esriGeometryType.esriGeometryTriangles:
                    stype = "三角形(Triangles)";
                    break;
                default:
                    break;
            }
            
            return stype;
        }

 

上一篇:geowebcache发布 arcgis 瓦片


下一篇:arcgis api之任务