添加 open-meteo.md

This commit is contained in:
cc
2025-03-03 15:29:04 +08:00
parent 60bd9dc7e3
commit 25d7dd29e5

116
open-meteo.md Normal file
View File

@@ -0,0 +1,116 @@
经纬度精度通常指的是地理坐标系统中,经度和纬度值的精确度。在不同的应用场景中,经纬度的精度要求可能会有所不同。以下是一些常见的精度级别:
1. **度(°)**
- 1度的精度可以定位到大约111公里的范围。
- 例如,只知道一个城市的经纬度到度的精度,可以确定城市大致的地理位置,但无法确定城市内的具体位置。
2. **分('**
- 1分等于1/60度大约等于1.85公里。
- 提供到分的精度可以进一步缩小定位范围,但仍然不够精确。
3. **秒("**
- 1秒等于1/3600度大约等于30.9米。
- 提供到秒的精度可以定位到一个较小的区域,例如一个街区或一个公园。
4. **小数点后几位**
- 经纬度通常可以表示为小数点后几位的十进制数。
- 小数点后第一位十分位表示0.1度大约11.1公里。
- 小数点后第二位百分位表示0.01度大约1.11公里。
- 小数点后第三位千分位表示0.001度大约111米。
- 小数点后第四位万分位表示0.0001度大约11.1米。
- 小数点后第五位十万分位表示0.00001度大约1.11米。
5. **米级精度**
- 一些现代GPS设备和智能手机可以提供米级精度这通常足够用于大多数导航和定位服务。
6. **厘米级精度**
- 高精度的应用,如土地测绘、建筑施工等,可能需要厘米级的精度。
在实际应用中经纬度的精度取决于多种因素包括GPS设备的精度、信号条件、环境因素等。例如城市中的高楼大厦可能会影响GPS信号导致定位精度下降。不同的应用场景如地图服务、导航、地理信息系统GIS会根据需要选择合适的精度级别。
https://api.open-meteo.com/v1/forecast?latitude=34.125,34.125,34,34,33.875,33.85,33.75,33.9,33.6,33.625,33.5,33.51,33.375,33.375,33.25,33.25,33.15,33.125&longitude=106.8,107.125,106.875,107.18,106.92,107.125,106.875,107.15,106.9,107.125,106.875,107.125,106.91,107.125,106.875,107.13,106.875,107.125&hourly=precipitation_probability,precipitation&timezone=Asia%2FSingapore
https://api.open-meteo.com/v1/forecast?latitude=34.125,34.125,34,34,33.85,33.875,33.9,33.75,33.625,33.6,33.51,33.5,33.375,33.375,33.25,33.25,33.125,33.15&longitude=107.125,106.8,107.18,106.875,107.125,106.92,107.15,106.875,107.125,106.9,107.125,106.875,107.125,106.91,107.13,106.875,107.125,106.875&hourly=temperature_2m,relative_humidity_2m,precipitation_probability,precipitation&timezone=Asia%2FSingapore
``` json
[{"id":1,"name":"倒回沟","lat":34.125,"lon":106.8,"targetLat":34.125,"targetLon":106.875,"elevation":1782},
{"id":2,"name":"柳沟","lat":34.125,"lon":107.125,"targetLat":34.125,"targetLon":107.125,"elevation":2063},
{"id":3,"name":"黄家沟","lat":34,"lon":106.875,"targetLat":34,"targetLon":106.875,"elevation":1612},
{"id":4,"name":"源头山","lat":34,"lon":107.18,"targetLat":34,"targetLon":107.125,"elevation":1693},
{"id":5,"name":"大竹塘沟","lat":33.875,"lon":106.92,"targetLat":33.875,"targetLon":106.875,"elevation":1562},
{"id":6,"name":"艾蒿沟","lat":33.85,"lon":107.125,"targetLat":33.875,"targetLon":107.125,"elevation":1642},
{"id":7,"name":"南沟口","lat":33.75,"lon":106.875,"targetLat":33.75,"targetLon":106.875,"elevation":1433},
{"id":8,"name":"李家坎","lat":33.9,"lon":107.15,"targetLat":33.75,"targetLon":107.125,"elevation":1490},
{"id":9,"name":"楼房沟","lat":33.6,"lon":106.9,"targetLat":33.625,"targetLon":106.875,"elevation":1372},
{"id":10,"name":"东沟","lat":33.625,"lon":107.125,"targetLat":33.625,"targetLon":107.125,"elevation":1942},
{"id":11,"name":"九条沟","lat":33.5,"lon":106.875,"targetLat":33.5,"targetLon":106.875,"elevation":1230},
{"id":12,"name":"杀牛坪","lat":33.51,"lon":107.125,"targetLat":33.5,"targetLon":107.125,"elevation":1127},
{"id":13,"name":"云雾山","lat":33.375,"lon":106.91,"targetLat":33.375,"targetLon":106.875,"elevation":1545},
{"id":14,"name":"三岔河","lat":33.375,"lon":107.125,"targetLat":33.375,"targetLon":107.125,"elevation":924},
{"id":15,"name":"沙河沟","lat":33.25,"lon":106.875,"targetLat":33.25,"targetLon":106.875,"elevation":799},
{"id":16,"name":"天台山","lat":33.25,"lon":107.13,"targetLat":33.25,"targetLon":107.125,"elevation":758},
{"id":17,"name":"五道沟","lat":33.15,"lon":106.875,"targetLat":33.125,"targetLon":106.875,"elevation":524},
{"id":18,"name":"徐望","lat":33.125,"lon":107.125,"targetLat":33.125,"targetLon":107.125,"elevation":520}]
```
``` sql
SELECT parse_uuidv7_time('0193843c-dec3-771f-a38a-5abfb78c9ca6');
(node:2098075) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3714035) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3948376) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4100934) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:517904) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
```
``` sql
SELECT
"forecastWeatherID",
"forecastWeatherData",
CASE
WHEN "forecastWeatherData" = LAG("forecastWeatherData") OVER (ORDER BY "forecastWeatherID") THEN '相同'
ELSE '不同'
END AS "is_same"
FROM
public."weather_forecast";
```
pbuC_R}Y28
```
[server]
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = git
RUN_MODE = prod
LISTEN_PORT = 33033
DISABLE_SSH = false
SSH_PORT = 22022
DOMAIN = gitea.xpci.top
[database]
DB_TYPE = postgresql
DB_HOST = 127.0.0.1:5432
DB_NAME = gitea
DB_USER = postgres.xpsion000
DB_PASSWD = summit098
[security]
INSTALL_LOCK = true
SECRET_KEY = FwSOXx35tMN7fHttgORz9ok0jx6F0LSX2i0K26bTiCJKcAgs7JACEcamQQuD6dGe
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3MzMzODU4NDZ9.KLnDJcFt8sTDk8Cfao00lJe9sMHIxoekiTTjqLoq2Gg
[mailer]
SMTP_HOST = smtp.qq.com:465
SMTP_FROM = shimens.qq.com
SMTP_USER = shimens.qq.com
SMTP_PASSWD = kabwyhgwqyhhfhde
```