MCPcopy Index your code
hub / github.com/aaronshan/hive-third-functions

github.com/aaronshan/hive-third-functions @2.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.2.0 ↗ · + Follow
430 symbols 917 edges 110 files 112 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

当前互联网地图的坐标系现状

地球坐标 (WGS84)

  • 国际标准,从 GPS 设备中取出的数据的坐标系
  • 国际地图提供商使用的坐标系

火星坐标 (GCJ-02), 也叫国测局坐标系

  • 中国标准,从国行移动设备中定位获取的坐标数据使用这个坐标系
  • 国家规定: 国内出版的各种地图系统(包括电子形式),必须至少采用GCJ-02对地理位置进行首次加密。

百度坐标 (BD-09)

  • 百度标准,百度 SDK,百度地图,Geocoding 使用
  • (本来就乱了,百度又在火星坐标上来个二次加密)

开发过程需要注意的事

  • 从设备获取经纬度(GPS)坐标
    • 如果使用的是百度sdk那么可以获得百度坐标(bd09)或者火星坐标(GCJ02),默认是bd09
    • 如果使用的是ios的原生定位库,那么获得的坐标是WGS84
    • 如果使用的是高德sdk,那么获取的坐标是GCJ02
  • 互联网在线地图使用的坐标系
    • 火星坐标系:
      • iOS 地图(其实是高德)
      • Google 地图
      • 搜搜、阿里云、高德地图
    • 百度坐标系:
      • 当然只有百度地图
    • WGS84坐标系:
      • 国际标准,谷歌国外地图、osm地图等国外的地图一般都是这个

Extension points exported contracts — how you extend this code

JsonExtractor (Interface)
(no doc) [6 implementers]
src/main/java/com/github/aaronshan/functions/utils/json/JsonExtract.java
IntComparator (Interface)
(no doc) [4 implementers]
src/main/java/com/github/aaronshan/functions/fastuitl/ints/IntComparator.java

Core symbols most depended-on inside this repo

toString
called by 62
src/main/java/com/github/aaronshan/functions/utils/json/JsonPathTokenizer.java
checkCondition
called by 16
src/main/java/com/github/aaronshan/functions/utils/Failures.java
compare
called by 16
src/main/java/com/github/aaronshan/functions/fastuitl/ints/IntComparator.java
getJsonOfCoordinate
called by 8
src/main/java/com/github/aaronshan/functions/utils/GeoUtils.java
IntArrayCompare
called by 6
src/main/java/com/github/aaronshan/functions/utils/ArrayUtils.java
quickSort
called by 6
src/main/java/com/github/aaronshan/functions/fastuitl/ints/IntArrays.java
getCardValue
called by 5
src/main/java/com/github/aaronshan/functions/utils/CardUtils.java
mapEquals
called by 5
src/main/java/com/github/aaronshan/functions/utils/MapUtils.java

Shape

Method 313
Class 114
Interface 2
Enum 1

Languages

Java100%

Modules by API surface

src/main/java/com/github/aaronshan/functions/utils/json/JsonExtract.java18 symbols
src/main/java/com/github/aaronshan/functions/utils/json/JsonPathTokenizer.java15 symbols
src/main/java/com/github/aaronshan/functions/utils/GeoUtils.java13 symbols
src/main/java/com/github/aaronshan/functions/regexp/Re2JRegexp.java11 symbols
src/main/java/com/github/aaronshan/functions/utils/CardUtils.java10 symbols
src/main/java/com/github/aaronshan/functions/math/UDFMathCosineSimilarity.java7 symbols
src/main/java/com/github/aaronshan/functions/array/UDFSequence.java7 symbols
src/main/java/com/github/aaronshan/functions/fastuitl/ints/IntArrays.java6 symbols
src/main/java/com/github/aaronshan/functions/date/UDFTypeOfDay.java6 symbols
src/main/java/com/github/aaronshan/functions/array/UDFArrayJoin.java6 symbols
src/main/java/com/github/aaronshan/functions/array/UDFArrayIntersect.java6 symbols
src/main/java/com/github/aaronshan/functions/utils/json/JsonPath.java5 symbols

For agents

$ claude mcp add hive-third-functions \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact