This project has moved and is read-only. For the latest updates, please go here.

Is Multi-polygon type supported

Nov 12, 2010 at 12:33 PM

Hi All

I have a question as to whether or not it supports multipolygon type, e.g. polygon is supported.

 public enum ShapeType
    {
        /// <summary>
        /// Null Shape
        /// </summary>
        Null = 0,

        /// <summary>
        /// Point Shape
        /// </summary>
        Point = 1,

        /// <summary>
        /// PolyLine Shape
        /// </summary>
        PolyLine = 3,

        /// <summary>
        /// Polygon Shape
        /// </summary>
        Polygon = 5,

        /// <summary>
        /// MultiPoint Shape
        /// </summary>
        MultiPoint = 8,

        /// <summary>
        /// PointZ Shape
        /// </summary>
        PointZ = 11,

        /// <summary>
        /// PolyLineZ Shape
        /// </summary>
        PolyLineZ = 13,

        /// <summary>
        /// PolygonZ Shape
        /// </summary>
        PolygonZ = 15,

        /// <summary>
        /// MultiPointZ Shape
        /// </summary>
        MultiPointZ = 18,

        /// <summary>
        /// PointM Shape
        /// </summary>
        PointM = 21,

        /// <summary>
        /// PolyLineM Shape
        /// </summary>
        PolyLineM = 23,

        /// <summary>
        /// PolygonM Shape
        /// </summary>
        PolygonM = 25,

        /// <summary>
        /// MultiPointM Shape
        /// </summary>
        MultiPointM = 28,

        /// <summary>
        /// MultiPatch Shape
        /// </summary>
        MultiPatch = 31
    }
Nov 12, 2010 at 2:39 PM
ShapePolygon class can contain both polygon and multi-polygon types via its Parts property.