-
Notifications
You must be signed in to change notification settings - Fork 305
Expand file tree
/
Copy pathShapeType.cs
More file actions
95 lines (95 loc) · 5.02 KB
/
ShapeType.cs
File metadata and controls
95 lines (95 loc) · 5.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
namespace SharpMap.Data.Providers
{
/// <summary>
/// Shapefile geometry type.
/// </summary>
public enum ShapeType
{
/// <summary>
/// Null shape with no geometric data
/// </summary>
Null = 0,
/// <summary>
/// A point consists of a pair of double-precision coordinates.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IPoint"/>
/// </summary>
Point = 1,
/// <summary>
/// PolyLine is an ordered set of vertices that consists of one or more parts. A part is a
/// connected sequence of two or more points. Parts may or may not be connected to one
/// another. Parts may or may not intersect one another.
/// SharpMap interprets this as either <see cref="GeoAPI.Geometries.ILineString"/> or <see cref="GeoAPI.Geometries.IMultiLineString"/>
/// </summary>
PolyLine = 3,
/// <summary>
/// A polygon consists of one or more rings. A ring is a connected sequence of four or more
/// points that form a closed, non-self-intersecting loop. A polygon may contain multiple
/// outer rings. The order of vertices or orientation for a ring indicates which side of the ring
/// is the interior of the polygon. The neighborhood to the right of an observer walking along
/// the ring in vertex order is the neighborhood inside the polygon. Vertices of rings defining
/// holes in polygons are in a counterclockwise direction. Vertices for a single, ringed
/// polygon are, therefore, always in clockwise order. The rings of a polygon are referred to
/// as its parts.
/// SharpMap interprets this as either <see cref="GeoAPI.Geometries.IPolygon"/> or <see cref="GeoAPI.Geometries.IMultiPolygon"/>
/// </summary>
Polygon = 5,
/// <summary>
/// A MultiPoint represents a set of points.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IMultiPoint"/>
/// </summary>
Multipoint = 8,
/// <summary>
/// A PointZ consists of a triplet of double-precision coordinates plus a measure.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IPoint"/>
/// </summary>
PointZ = 11,
/// <summary>
/// A PolyLineZ consists of one or more parts. A part is a connected sequence of two or
/// more points. Parts may or may not be connected to one another. Parts may or may not
/// intersect one another.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.ILineString"/> or <see cref="GeoAPI.Geometries.IMultiLineString"/>
/// </summary>
PolyLineZ = 13,
/// <summary>
/// A PolygonZ consists of a number of rings. A ring is a closed, non-self-intersecting loop.
/// A PolygonZ may contain multiple outer rings. The rings of a PolygonZ are referred to as
/// its parts.
/// SharpMap interprets this as either <see cref="GeoAPI.Geometries.IPolygon"/> or <see cref="GeoAPI.Geometries.IMultiPolygon"/>
/// </summary>
PolygonZ = 15,
/// <summary>
/// A MultiPointZ represents a set of <see cref="PointZ"/>s.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IMultiPoint"/>
/// </summary>
MultiPointZ = 18,
/// <summary>
/// A PointM consists of a pair of double-precision coordinates in the order X, Y, plus a measure M.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IPoint"/>
/// </summary>
PointM = 21,
/// <summary>
/// A shapefile PolyLineM consists of one or more parts. A part is a connected sequence of
/// two or more points. Parts may or may not be connected to one another. Parts may or may
/// not intersect one another.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.ILineString"/> or <see cref="GeoAPI.Geometries.IMultiLineString"/>
/// </summary>
PolyLineM = 23,
/// <summary>
/// A PolygonM consists of a number of rings. A ring is a closed, non-self-intersecting loop.
/// SharpMap interprets this as either <see cref="GeoAPI.Geometries.IPolygon"/> or <see cref="GeoAPI.Geometries.IMultiPolygon"/>
/// </summary>
PolygonM = 25,
/// <summary>
/// A MultiPointM represents a set of <see cref="PointM"/>s.
/// SharpMap interprets this as <see cref="GeoAPI.Geometries.IMultiPoint"/>
/// </summary>
MultiPointM = 28,
/// <summary>
/// A MultiPatch consists of a number of surface patches. Each surface patch describes a
/// surface. The surface patches of a MultiPatch are referred to as its parts, and the type of
/// part controls how the order of vertices of an MultiPatch part is interpreted.
/// SharpMap doesn't support this feature type.
/// </summary>
MultiPatch = 31
} ;
}