https://medium.com/@walkert/fun-building-shared-libraries-in-go-639500a6a669
https://www.darkcoding.net/software/building-shared-libraries-in-go-part-2/
| /** | |
| * 百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具 | |
| * | |
| * 参考 https://github.com/wandergis/coordtransform 实现的Java版本 | |
| * @author geosmart | |
| */ | |
| public class CoordinateTransformUtil { | |
| static double x_pi = 3.14159265358979324 * 3000.0 / 180.0; | |
| // π | |
| static double pi = 3.1415926535897932384626; |
| #!/data/data/com.termux/files/usr/bin/sh | |
| # sudo for Termux | |
| # For security reasons some environent variables are reset by su | |
| # So need to set LD_LIBRARY_PATH again | |
| # root's HOME is set to termux's home/.suroot. You can add bashrc there | |
| ROOT_HOME=$HOME/.suroot |