-
-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
In GeoJSONObjectType some of the EnumMember attributes define a wrong Value:
MultiLineString, Polygon, MultiPolygon, GeometryCollection, Feature and FeatureCollection
all these define 'point' in the EnumMember attribute:
https://github.com/GeoJSON-Net/GeoJSON.Text/blob/main/src/GeoJSON.Text/GeoJSONObjectType.cs#L45
/// <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 = "point")]
MultiLineString,
/// <summary>
/// Defines the Polygon type.
/// </summary>
/// <remarks>
/// See https://tools.ietf.org/html/rfc7946#section-3.1.6
/// </remarks>
[EnumMember(Value = "point")]
Polygon,
...
Metadata
Metadata
Assignees
Labels
No labels