clash需要开启系统代理(system),否则Map$addLayer无法显示图像。
conda create --name qgis --channel conda-forge mamba
mamba install geemap -c conda-forge
https_proxy
: "http://127.0.0.1:1081"https_proxy
: "http://127.0.0.1:1081"# gcloud info --run-diagnostics
# C:/Users/kong/AppData/Roaming/gcloud/configurations/config_default
[proxy]
type = http
address = localhost
port = 1081
The following solution not working. Because we need to set proxy before R start, other than after. See https://github.com/r-spatial/rgee/issues/73#issuecomment-1186549194 for details.
Sys.setenv(https_proxy="http://127.0.0.1:1081")
Sys.setenv(http_proxy="http://127.0.0.1:1081")
R.exe
#subl "C:/Program Files/R/R-4.2.1/etc/Rcmd_environ"
http_proxy="http://127.0.0.1:1081"
https_proxy="http://127.0.0.1:1081"
radian.exe
// code .vscode/settings.json
{
"r.rterm.windows": "c:/ProgramData/Miniconda3/envs/gee/Scripts/radian.exe",
"terminal.integrated.env.windows": {
// "PATH": "${env:PATH}",
"http_proxy":"http://127.0.0.1:1081",
"https_proxy":"http://127.0.0.1:1081",
},
}
[Environment]::SetEnvironmentVariable("http_proxy", "http://127.0.0.1:1081", [System.EnvironmentVariableTarget]::User)
[Environment]::SetEnvironmentVariable("https_proxy", "http://127.0.0.1:1081", [System.EnvironmentVariableTarget]::User)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.