You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
51 lines
1.5 KiB
#include "modgmt_objects.h" |
|
|
|
template<> const std::string ObjectGMTCoord::type="GMTCoord"; |
|
template<> const std::string ObjectGMTRegion::type="GMTRegion"; |
|
template<> const std::string ObjectGMTProjection::type="GMTProjection"; |
|
template<> const std::string ObjectGMTColor::type="GMTColor"; |
|
template<> const std::string ObjectGMTDash::type="GMTDash"; |
|
template<> const std::string ObjectGMTPen::type="GMTPen"; |
|
|
|
std::map<std::string,gmt_projection::projection> gmt_projection::projnames; |
|
|
|
void gmt_projection::FillProjNames() |
|
{ |
|
projnames["x"]=XY; |
|
projnames["xy"]=XY; |
|
projnames["decart"]=XY; |
|
|
|
projnames["q"]=CYL_EQU; |
|
projnames["cyl_equid"]=CYL_EQU; |
|
projnames["cylindrical equidistant"]=CYL_EQU; |
|
|
|
projnames["m"]=MERCATOR; |
|
projnames["merc"]=MERCATOR; |
|
projnames["mercator"]=MERCATOR; |
|
|
|
projnames["t"]=TRANSMERCATOR; |
|
projnames["tmerc"]=TRANSMERCATOR; |
|
projnames["transverse mercator"]=TRANSMERCATOR; |
|
|
|
projnames["o"]=OBLIQMERCATOR; |
|
projnames["omerc"]=OBLIQMERCATOR; |
|
projnames["oblique mercator"]=OBLIQMERCATOR; |
|
|
|
projnames["c"]=CASSINI; |
|
projnames["cassini"]=CASSINI; |
|
|
|
projnames["y"]=CYL_EQA; |
|
projnames["cyl_equala"]=CYL_EQA; |
|
projnames["cylindrical equal-area"]=CYL_EQA; |
|
projnames["cylindrical equalarea"]=CYL_EQA; |
|
|
|
projnames["j"]=MILLER; |
|
projnames["cyl_miller"]=MILLER; |
|
projnames["miller"]=MILLER; |
|
projnames["cylindrical miller"]=MILLER; |
|
|
|
projnames["cyl_stere"]=CYL_STERE; |
|
projnames["cylindrical stereographic"]=CYL_STERE; |
|
} |
|
|
|
const double gmt_projection::default_width=10.0;
|
|
|