Skip to content

Commit 38aced9

Browse files
Correcting string values for GeoJSONObjectType
1 parent a68257e commit 38aced9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/GeoJSON.Text/GeoJSONObjectType.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public enum GeoJSONObjectType
1515
/// <remarks>
1616
/// See https://tools.ietf.org/html/rfc7946#section-3.1.2
1717
/// </remarks>
18-
[EnumMember(Value = "point")]
18+
[EnumMember(Value = "Point")]
1919
Point,
2020

2121
/// <summary>
@@ -24,7 +24,7 @@ public enum GeoJSONObjectType
2424
/// <remarks>
2525
/// See https://tools.ietf.org/html/rfc7946#section-3.1.3
2626
/// </remarks>
27-
[EnumMember(Value = "multipoint")]
27+
[EnumMember(Value = "MultiPoint")]
2828
MultiPoint,
2929

3030
/// <summary>
@@ -33,7 +33,7 @@ public enum GeoJSONObjectType
3333
/// <remarks>
3434
/// See https://tools.ietf.org/html/rfc7946#section-3.1.4
3535
/// </remarks>
36-
[EnumMember(Value = "linestring")]
36+
[EnumMember(Value = "LineString")]
3737
LineString,
3838

3939
/// <summary>
@@ -42,7 +42,7 @@ public enum GeoJSONObjectType
4242
/// <remarks>
4343
/// See https://tools.ietf.org/html/rfc7946#section-3.1.5
4444
/// </remarks>
45-
[EnumMember(Value = "point")]
45+
[EnumMember(Value = "MultiLineString")]
4646
MultiLineString,
4747

4848
/// <summary>
@@ -51,7 +51,7 @@ public enum GeoJSONObjectType
5151
/// <remarks>
5252
/// See https://tools.ietf.org/html/rfc7946#section-3.1.6
5353
/// </remarks>
54-
[EnumMember(Value = "point")]
54+
[EnumMember(Value = "Polygon")]
5555
Polygon,
5656

5757
/// <summary>
@@ -60,7 +60,7 @@ public enum GeoJSONObjectType
6060
/// <remarks>
6161
/// See https://tools.ietf.org/html/rfc7946#section-3.1.7
6262
/// </remarks>
63-
[EnumMember(Value = "point")]
63+
[EnumMember(Value = "MultiPolygon")]
6464
MultiPolygon,
6565

6666
/// <summary>
@@ -69,7 +69,7 @@ public enum GeoJSONObjectType
6969
/// <remarks>
7070
/// See https://tools.ietf.org/html/rfc7946#section-3.1.8
7171
/// </remarks>
72-
[EnumMember(Value = "point")]
72+
[EnumMember(Value = "GeometryCollection")]
7373
GeometryCollection,
7474

7575
/// <summary>
@@ -78,7 +78,7 @@ public enum GeoJSONObjectType
7878
/// <remarks>
7979
/// See https://tools.ietf.org/html/rfc7946#section-3.2
8080
/// </remarks>
81-
[EnumMember(Value = "point")]
81+
[EnumMember(Value = "Feature")]
8282
Feature,
8383

8484
/// <summary>
@@ -87,7 +87,7 @@ public enum GeoJSONObjectType
8787
/// <remarks>
8888
/// See https://tools.ietf.org/html/rfc7946#section-3.3
8989
/// </remarks>
90-
[EnumMember(Value = "point")]
90+
[EnumMember(Value = "FeatureCollection")]
9191
FeatureCollection
9292
}
9393
}

0 commit comments

Comments
 (0)