![]() |
SAGA API
v9.2
|
Go to the source code of this file.
Macros | |
#define | WKT_GCS_WGS84 |
#define | PROJ4_GCS_WGS84 "+proj=longlat +datum=WGS84 +no_defs" |
#define | GET_DATUM(d, p) |
Enumerations | |
enum | ESG_PROJ_FIELD_ID { PRJ_FIELD_SRID = 0, PRJ_FIELD_AUTH_NAME, PRJ_FIELD_AUTH_SRID, PRJ_FIELD_SRTEXT, PRJ_FIELD_PROJ4TEXT } |
Variables | |
CSG_Projections | gSG_Projections |
const char | SG_Projection_Units [SG_PROJ_UNIT_Undefined+1][3][32] |
#define GET_DATUM | ( | d, | |
p | |||
) |
#define PROJ4_GCS_WGS84 "+proj=longlat +datum=WGS84 +no_defs" |
Definition at line 506 of file projections.cpp.
#define WKT_GCS_WGS84 |
Definition at line 499 of file projections.cpp.
enum ESG_PROJ_FIELD_ID |
Enumerator | |
---|---|
PRJ_FIELD_SRID | |
PRJ_FIELD_AUTH_NAME | |
PRJ_FIELD_AUTH_SRID | |
PRJ_FIELD_SRTEXT | |
PRJ_FIELD_PROJ4TEXT |
Definition at line 693 of file projections.cpp.
bool SG_Get_Projected | ( | const CSG_Projection & | Source, |
const CSG_Projection & | Target, | ||
TSG_Point & | Point | ||
) |
Definition at line 2233 of file projections.cpp.
References CSG_Parameter::asDouble(), CSG_Tool_Library_Manager::Create_Tool(), CSG_Tool_Library_Manager::Delete_Tool(), CSG_Tool::Execute(), CSG_Tool::Get_Parameter(), CSG_Projection::Get_Proj4(), CSG_Projection::is_Okay(), CSG_Tool::Set_Manager(), CSG_Tool::Set_Parameter(), SG_Get_Tool_Library_Manager(), SG_UI_ProgressAndMsg_Lock(), SSG_Point::x, and SSG_Point::y.
bool SG_Get_Projected | ( | const CSG_Projection & | Source, |
const CSG_Projection & | Target, | ||
TSG_Rect & | Rectangle | ||
) |
Definition at line 2270 of file projections.cpp.
References CSG_Shape::Add_Point(), CSG_Shapes::Add_Shape(), CSG_Projection::Create(), CSG_Shapes::Create(), CSG_Shapes::Get_Extent(), CSG_Data_Object::Get_Projection(), CSG_Projection::is_Okay(), SG_Get_Projected(), SHAPE_TYPE_Point, SSG_Rect::xMax, SSG_Rect::xMin, SSG_Rect::yMax, and SSG_Rect::yMin.
bool SG_Get_Projected | ( | CSG_Shapes * | pSource, |
CSG_Shapes * | pTarget, | ||
const CSG_Projection & | Target | ||
) |
Definition at line 2191 of file projections.cpp.
References CSG_Shapes::Create(), CSG_Tool_Library_Manager::Create_Tool(), CSG_Tool_Library_Manager::Delete_Tool(), CSG_Tool::Execute(), CSG_Projection::Get_Proj4(), CSG_Data_Object::Get_Projection(), CSG_Projection::is_Okay(), CSG_Shapes::is_Valid(), CSG_Tool::Set_Manager(), CSG_Tool::Set_Parameter(), SG_Get_Tool_Library_Manager(), and SG_UI_ProgressAndMsg_Lock().
Referenced by SG_Get_Projected().
TSG_Projection_Type SG_Get_Projection_Type | ( | const CSG_String & | Identifier | ) |
Definition at line 77 of file projections.cpp.
References CSG_String::CmpNoCase(), SG_PROJ_TYPE_CS_Geocentric, SG_PROJ_TYPE_CS_Geographic, SG_PROJ_TYPE_CS_Projected, and SG_PROJ_TYPE_CS_Undefined.
Referenced by CSG_Projection::Assign().
CSG_String SG_Get_Projection_Type_Identifier | ( | TSG_Projection_Type | Type | ) |
Definition at line 87 of file projections.cpp.
References SG_PROJ_TYPE_CS_Geocentric, SG_PROJ_TYPE_CS_Geographic, and SG_PROJ_TYPE_CS_Projected.
Referenced by CSG_Projection::Get_Type_Identifier().
CSG_String SG_Get_Projection_Type_Name | ( | TSG_Projection_Type | Type | ) |
Definition at line 99 of file projections.cpp.
References _TL, SG_PROJ_TYPE_CS_Geocentric, SG_PROJ_TYPE_CS_Geographic, and SG_PROJ_TYPE_CS_Projected.
Referenced by CSG_Projection::Get_Description(), CSG_Projections::Get_Names_List(), and CSG_Projection::Get_Type_Name().
TSG_Projection_Unit SG_Get_Projection_Unit | ( | const CSG_String & | Identifier | ) |
Definition at line 144 of file projections.cpp.
References CSG_String::CmpNoCase(), SG_PROJ_UNIT_Meter, SG_PROJ_UNIT_Undefined, and SG_Projection_Units.
Referenced by SG_Set_Projection_Unit().
CSG_String SG_Get_Projection_Unit_Identifier | ( | TSG_Projection_Unit | Unit | ) |
Definition at line 160 of file projections.cpp.
References SG_PROJ_UNIT_Undefined, and SG_Projection_Units.
Referenced by CSG_Projection::Get_Unit_Identifier().
CSG_String SG_Get_Projection_Unit_Name | ( | TSG_Projection_Unit | Unit, |
bool | bSimple | ||
) |
Definition at line 169 of file projections.cpp.
References SG_PROJ_UNIT_Undefined, and SG_Projection_Units.
Referenced by SG_Set_Projection_Unit().
double SG_Get_Projection_Unit_To_Meter | ( | TSG_Projection_Unit | Unit | ) |
Definition at line 178 of file projections.cpp.
References SG_PROJ_UNIT_Centimeter, SG_PROJ_UNIT_Decimeter, SG_PROJ_UNIT_Indian_Chain, SG_PROJ_UNIT_Indian_Foot, SG_PROJ_UNIT_Indian_Yard, SG_PROJ_UNIT_Int_Chain, SG_PROJ_UNIT_Int_Fathom, SG_PROJ_UNIT_Int_Foot, SG_PROJ_UNIT_Int_Inch, SG_PROJ_UNIT_Int_Link, SG_PROJ_UNIT_Int_Nautical_Mile, SG_PROJ_UNIT_Int_Statute_Mile, SG_PROJ_UNIT_Int_Yard, SG_PROJ_UNIT_Kilometer, SG_PROJ_UNIT_Meter, SG_PROJ_UNIT_Millimeter, SG_PROJ_UNIT_US_Chain, SG_PROJ_UNIT_US_Foot, SG_PROJ_UNIT_US_Inch, SG_PROJ_UNIT_US_Statute_Mile, and SG_PROJ_UNIT_US_Yard.
Referenced by SG_Set_Projection_Unit().
CSG_Projections& SG_Get_Projections | ( | void | ) |
Definition at line 66 of file projections.cpp.
References gSG_Projections.
Referenced by SG_Initialize_Environment().
Definition at line 2307 of file projections.cpp.
References CSG_Grid::Create(), CSG_Data_Object::Get_Projection(), CSG_Grid::Get_System(), CSG_Projection::is_Okay(), CSG_Grid::is_Valid(), SG_RUN_TOOL, and SG_TOOL_PARAMETER_SET.
bool SG_Set_Projection_Unit | ( | const CSG_MetaData & | m, |
TSG_Projection_Unit & | Unit, | ||
CSG_String & | Name, | ||
double & | To_Meter | ||
) |
Definition at line 208 of file projections.cpp.
References SG_Get_Projection_Unit(), SG_Get_Projection_Unit_Name(), SG_Get_Projection_Unit_To_Meter(), and SG_PROJ_UNIT_Undefined.
Referenced by CSG_Projection::Assign(), and CSG_Projections::Get_Projection().
CSG_Projections gSG_Projections |
Definition at line 63 of file projections.cpp.
Referenced by CSG_Projection::Assign(), and SG_Get_Projections().
const char SG_Projection_Units[SG_PROJ_UNIT_Undefined+1][3][32] |
Definition at line 116 of file projections.cpp.
Referenced by SG_Get_Projection_Unit(), SG_Get_Projection_Unit_Identifier(), and SG_Get_Projection_Unit_Name().