OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Macros | Functions
ossimBngProjection.cpp File Reference
#include <ossim/projection/ossimBngProjection.h>
#include <ossim/projection/ossimTranmerc.h>
#include <ossim/base/ossimDatumFactory.h>
#include <ossim/base/ossimEllipsoidFactory.h>
#include <ossim/base/ossimKeywordNames.h>
#include <ossim/elevation/ossimElevManager.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define BNG_NO_ERROR   0x0000
 
#define BNG_LAT_ERROR   0x0001
 
#define BNG_LON_ERROR   0x0002
 
#define BNG_EASTING_ERROR   0x0004
 
#define BNG_NORTHING_ERROR   0x0008
 
#define BNG_INVALID_AREA_ERROR   0x0010
 
#define BNG_STRING_ERROR   0x0020
 
#define BNG_ELLIPSOID_ERROR   0x0040
 
#define PI_OVER_2   (M_PI / 2.0e0) /* PI over 2 */
 
#define MAX_LAT   (61.5 * M_PI / 180.0) /* 61.5 degrees */
 
#define MIN_LAT   (49.5 * M_PI / 180.0) /* 49.5 degrees */
 
#define MAX_LON   (3.5 * M_PI / 180.0) /* 3.5 degrees */
 
#define MIN_LON   (-10.0 * M_PI / 180.0) /* -10 degrees */
 
#define BNG500GRID   "STNOHJ" /* 500,000 unit square identifications */
 
#define BNG100GRID   "VWXYZQRSTULMNOPFGHJKABCDE" /* 100,000 unit square identifications */
 

Functions

 RTTI_DEF1 (ossimBngProjection, "ossimBngProjection", ossimMapProjection)
 

Macro Definition Documentation

◆ BNG100GRID

#define BNG100GRID   "VWXYZQRSTULMNOPFGHJKABCDE" /* 100,000 unit square identifications */

Definition at line 35 of file ossimBngProjection.cpp.

◆ BNG500GRID

#define BNG500GRID   "STNOHJ" /* 500,000 unit square identifications */

Definition at line 34 of file ossimBngProjection.cpp.

◆ BNG_EASTING_ERROR

#define BNG_EASTING_ERROR   0x0004

Definition at line 23 of file ossimBngProjection.cpp.

◆ BNG_ELLIPSOID_ERROR

#define BNG_ELLIPSOID_ERROR   0x0040

Definition at line 27 of file ossimBngProjection.cpp.

◆ BNG_INVALID_AREA_ERROR

#define BNG_INVALID_AREA_ERROR   0x0010

Definition at line 25 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Check_Out_Of_Area().

◆ BNG_LAT_ERROR

#define BNG_LAT_ERROR   0x0001

Definition at line 21 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ BNG_LON_ERROR

#define BNG_LON_ERROR   0x0002

Definition at line 22 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ BNG_NO_ERROR

#define BNG_NO_ERROR   0x0000

◆ BNG_NORTHING_ERROR

#define BNG_NORTHING_ERROR   0x0008

Definition at line 24 of file ossimBngProjection.cpp.

◆ BNG_STRING_ERROR

#define BNG_STRING_ERROR   0x0020

◆ MAX_LAT

#define MAX_LAT   (61.5 * M_PI / 180.0) /* 61.5 degrees */

Definition at line 30 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ MAX_LON

#define MAX_LON   (3.5 * M_PI / 180.0) /* 3.5 degrees */

Definition at line 32 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ MIN_LAT

#define MIN_LAT   (49.5 * M_PI / 180.0) /* 49.5 degrees */

Definition at line 31 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ MIN_LON

#define MIN_LON   (-10.0 * M_PI / 180.0) /* -10 degrees */

Definition at line 33 of file ossimBngProjection.cpp.

Referenced by ossimBngProjection::Convert_Geodetic_To_BNG().

◆ PI_OVER_2

#define PI_OVER_2   (M_PI / 2.0e0) /* PI over 2 */

Definition at line 29 of file ossimBngProjection.cpp.

Function Documentation

◆ RTTI_DEF1()

RTTI_DEF1 ( ossimBngProjection  ,
"ossimBngProjection"  ,
ossimMapProjection   
)