-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathCoordinateSystemInfo.cs
More file actions
66 lines (63 loc) · 1.62 KB
/
CoordinateSystemInfo.cs
File metadata and controls
66 lines (63 loc) · 1.62 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
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjNet.IO
{
/// <summary>
/// Model for coordinate system in the database
/// </summary>
[Table("srs_data")]
public class CoordinateSystemInfo
{
/// <summary>
///
/// </summary>
public string Authority { get; set; }
/// <summary>
///
/// </summary>
[PrimaryKey]
public int Code { get; set; }
/// <summary>
///
/// </summary>
public string Name { get; set; }
/// <summary>
///
/// </summary>
public string Alias { get; set; }
/// <summary>
///
/// </summary>
public bool IsDeprecated { get; set; }
/// <summary>
///
/// </summary>
[Column("type")]
public string SystemType { get; set; }
/// <summary>
///
/// </summary>
public string WKT { get; set; }
/// <summary>
/// Parameterless construction for initialization
/// </summary>
public CoordinateSystemInfo()
{
}
/// <summary>
/// Holds info about the coordinate system
/// </summary>
public CoordinateSystemInfo(string name, string alias, string authority, int code, string systemType, bool isDeprecated, string wkt)
{
Authority = authority;
Code = code;
Name = name;
Alias = alias;
SystemType = systemType;
IsDeprecated = isDeprecated;
WKT = wkt;
}
}
}