Exemple #1
0
        static char ZoneBand(Int32 northing, bool isNorthernHemisphere)
        {
            UtmPoint tempPoint = new UtmPoint(0, northing, 1, isNorthernHemisphere);
            GeoPoint geoPoint  = new GeoPoint(tempPoint, GeoDatum.DatumWGS84());
            char     zoneChar  = UtmLetterDesignator(geoPoint.Latitude);

            return(zoneChar);
        }
Exemple #2
0
        private void SetMaidenhead(String value)
        {
            Double latitude  = 0;
            Double longitude = 0;

            MaidenheadLocator.GeographicalCoordinatesByMaidenheadLocator(value, _DefaultPositionInRectangle, out latitude, out longitude);
            Datum          = GeoDatum.DatumWGS84();
            this.Latitude  = latitude;
            this.Longitude = longitude;
        }
Exemple #3
0
 public MgrsGridElement(String mgrs)
 {
     Datum = GeoDatum.DatumWGS84();
     SetMgrs(mgrs);
 }
Exemple #4
0
 public MgrsGridElement()
 {
     Datum = GeoDatum.DatumWGS84();
 }