forked from GeoJSON-Net/GeoJSON.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIGeoJSONObject.cs
More file actions
45 lines (42 loc) · 1.95 KB
/
IGeoJSONObject.cs
File metadata and controls
45 lines (42 loc) · 1.95 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
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IGeoJSONObject.cs" company="Jörg Battermann">
// Copyright © Jörg Battermann 2011
// </copyright>
// <summary>
// Defines the IGeoJSONObject interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace GeoJSON.Net
{
/// <summary>
/// Base Interface for GeoJSONObject types.
/// </summary>
public interface IGeoJSONObject
{
/// <summary>
/// Gets the (mandatory) type of the <see cref="http://geojson.org/geojson-spec.html#geojson-objects">GeoJSON Object</see>.
/// </summary>
/// <value>
/// The type of the object.
/// </value>
GeoJSONObjectType Type { get; }
/// <summary>
/// Gets the (optional) <see cref="http://geojson.org/geojson-spec.html#coordinate-reference-system-objects">Coordinate Reference System Object</see>.
/// </summary>
/// <value>
/// The Coordinate Reference System Objects.
/// </value>
CoordinateReferenceSystem.ICRSObject CRS { get; }
/// <summary>
/// Gets or sets the (optional) <see cref="http://geojson.org/geojson-spec.html#coordinate-reference-system-objects">Bounding Boxes</see>.
/// </summary>
/// <value>
/// The value of the bbox member must be a 2*n array where n is the number of dimensions represented in the
/// contained geometries, with the lowest values for all axes followed by the highest values.
/// The axes order of a bbox follows the axes order of geometries.
/// In addition, the coordinate reference system for the bbox is assumed to match the coordinate reference
/// system of the GeoJSON object of which it is a member.
/// </value>
double[] BoundingBoxes { get; set; }
}
}