24 static const double e_circ = 40075016.68;
25 static const double e_circ_360 = e_circ / 360;
26 static const double pi = std::acos(-1);
28 std::pair<double, double> ll;
29 ll.first = lon * e_circ_360;
30 ll.second = e_circ_360 * std::log(std::tan((90 + lat) * pi / 360)) / (pi / 180);
34 inline std::pair<double, double>
geotransform(
const std::string& src_proj,
35 const std::string& dst_proj,
EXTENSION_NOINLINE double pi()