FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GeoJSON.Text/src/GeoJSON.Text/GeoJSONObjectType.cs at main · GeoJSON-Net/GeoJSON.Text · GitHub
GeoJSON-Net
/
GeoJSON.Text
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
17
Star
56
Code
Issues
11
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GeoJSON.Text
/
src
/
GeoJSON.Text
/
GeoJSONObjectType.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
99 lines (89 loc) · 2.76 KB
Breadcrumbs
GeoJSON.Text
/
src
/
GeoJSON.Text
/
GeoJSONObjectType.cs
Copy path
File metadata and controls
99 lines (89 loc) · 2.76 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
96
97
98
99
// Copyright © Joerg Battermann 2014, Matt Hunt 2017
using
System
.
Runtime
.
Serialization
;
using
System
.
Text
.
Json
.
Serialization
;
namespace
GeoJSON
.
Text
{
/// <summary>
/// Defines the GeoJSON Objects types.
/// </summary>
#if
NET8_0_OR_GREATER
[
JsonConverter
(
typeof
(
JsonStringEnumConverter
<
GeoJSONObjectType
>
)
)
]
#else
[
JsonConverter
(
typeof
(
JsonStringEnumConverter
)
)
]
#endif
public
enum
GeoJSONObjectType
{
/// <summary>
/// Defines the Point type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.2
/// </remarks>
[
EnumMember
(
Value
=
"Point"
)
]
Point
,
/// <summary>
/// Defines the MultiPoint type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.3
/// </remarks>
[
EnumMember
(
Value
=
"MultiPoint"
)
]
MultiPoint
,
/// <summary>
/// Defines the LineString type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.4
/// </remarks>
[
EnumMember
(
Value
=
"LineString"
)
]
LineString
,
/// <summary>
/// Defines the MultiLineString type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.5
/// </remarks>
[
EnumMember
(
Value
=
"MultiLineString"
)
]
MultiLineString
,
/// <summary>
/// Defines the Polygon type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.6
/// </remarks>
[
EnumMember
(
Value
=
"Polygon"
)
]
Polygon
,
/// <summary>
/// Defines the MultiPolygon type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.7
/// </remarks>
[
EnumMember
(
Value
=
"MultiPolygon"
)
]
MultiPolygon
,
/// <summary>
/// Defines the GeometryCollection type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.8
/// </remarks>
[
EnumMember
(
Value
=
"GeometryCollection"
)
]
GeometryCollection
,
/// <summary>
/// Defines the Feature type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.2
/// </remarks>
[
EnumMember
(
Value
=
"Feature"
)
]
Feature
,
/// <summary>
/// Defines the FeatureCollection type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.3
/// </remarks>
[
EnumMember
(
Value
=
"FeatureCollection"
)
]
FeatureCollection
}
}
Back
|
FazBrowse Home
|
New Git URL