refactor: 重构项目结构,将geo_tools重命名为app并更新相关引用

- 将主包名从geo_tools改为app
- 更新所有模块中的引用路径
- 迁移并更新测试用例
- 添加项目规则文档
- 保持原有功能不变,仅进行结构调整
This commit is contained in:
2026-04-12 19:49:56 +08:00
parent fcb8e1f255
commit db51d41aef
41 changed files with 4132 additions and 808 deletions

View File

@@ -0,0 +1,43 @@
"""
枚举类
"""
from enum import Enum, unique
# 坐标系枚举
@unique
class CRS(Enum):
WGS84 = "EPSG:4326"
CGCS2000 = "EPSG:4490"
WEB_MERCATOR = "EPSG:3857"
CGCS2000_3_DEGREE_ZONE_25 = "EPSG:4513"
CGCS2000_3_DEGREE_ZONE_26 = "EPSG:4514"
CGCS2000_3_DEGREE_ZONE_27 = "EPSG:4515"
CGCS2000_3_DEGREE_ZONE_28 = "EPSG:4516"
CGCS2000_3_DEGREE_ZONE_29 = "EPSG:4517"
CGCS2000_3_DEGREE_ZONE_30 = "EPSG:4518"
CGCS2000_3_DEGREE_ZONE_31 = "EPSG:4519"
CGCS2000_3_DEGREE_ZONE_32 = "EPSG:4520"
CGCS2000_3_DEGREE_ZONE_33 = "EPSG:4521"
CGCS2000_3_DEGREE_ZONE_34 = "EPSG:4522"
CGCS2000_3_DEGREE_ZONE_35 = "EPSG:4523"
CGCS2000_3_DEGREE_ZONE_36 = "EPSG:4524"
CGCS2000_3_DEGREE_ZONE_37 = "EPSG:4525"
CGCS2000_3_DEGREE_ZONE_38 = "EPSG:4526"
CGCS2000_3_DEGREE_ZONE_39 = "EPSG:4527"
CGCS2000_3_DEGREE_ZONE_40 = "EPSG:4528"
CGCS2000_3_DEGREE_ZONE_41 = "EPSG:4529"
CGCS2000_3_DEGREE_ZONE_42 = "EPSG:4530"
CGCS2000_3_DEGREE_ZONE_43 = "EPSG:4531"
CGCS2000_3_DEGREE_ZONE_44 = "EPSG:4532"
CGCS2000_3_DEGREE_ZONE_45 = "EPSG:4533"
CGCS2000_6_DEGREE_ZONE_13 = "EPSG:4491"
CGCS2000_6_DEGREE_ZONE_14 = "EPSG:4492"
CGCS2000_6_DEGREE_ZONE_15 = "EPSG:4493"
CGCS2000_6_DEGREE_ZONE_16 = "EPSG:4494"
CGCS2000_6_DEGREE_ZONE_17 = "EPSG:4495"
CGCS2000_6_DEGREE_ZONE_18 = "EPSG:4496"
CGCS2000_6_DEGREE_ZONE_19 = "EPSG:4497"
CGCS2000_6_DEGREE_ZONE_20 = "EPSG:4498"
CGCS2000_6_DEGREE_ZONE_21 = "EPSG:4499"
CGCS2000_6_DEGREE_ZONE_22 = "EPSG:4500"
CGCS2000_6_DEGREE_ZONE_23 = "EPSG:4501"