Beispiel #1
0
 public GeographicCoordSystem(string name, AngularUnit angularUnit, PrimeMeridian primeMeridian, Datum datum)
 {
     _name              = name;
     _angularUnit       = angularUnit;
     _primeMeridian     = primeMeridian;
     _datum             = datum;
     _oracleSpatialSRID = int.MinValue;
 }
Beispiel #2
0
 public GeographicCoordSystem(WktItem wktItem)
 {
     _name              = wktItem.Value.Split(',')[0].Replace("\"", string.Empty);
     _angularUnit       = new AngularUnit(wktItem.GetWktItem("UNIT"));
     _primeMeridian     = new PrimeMeridian(wktItem.GetWktItem("PRIMEM"));
     _datum             = new Datum(wktItem.GetWktItem("DATUM"));
     _oracleSpatialSRID = int.MinValue;
 }
Beispiel #3
0
 public bool IsSame(PrimeMeridian pm)
 {
     return(pm != null && Math.Abs(pm.Value - Value) < double.Epsilon);
 }