Files
CM95/docs/外部参考.md
2026-09-02 09:50:12 +08:00

26 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 外部参考
本项目独立实现 CM93 importer,不复制 OpenCPN GPL 源码。
用于核对行为和 MySQL 兼容性的公开参考:
- OpenCPN CM93 implementation:
https://github.com/OpenCPN/OpenCPN/blob/master/gui/src/cm93.cpp
- MySQL 5.7 Spatial Data Types:
https://dev.mysql.com/doc/refman/5.7/en/spatial-type-overview.html
- MySQL 5.7 Geometry Class:
https://dev.mysql.com/doc/refman/5.7/en/gis-class-geometry.html
- MySQL 5.7 Spatial Index:
https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
注意:MySQL 5.7 Geometry 坐标本身为 double precision,但对实际 SRID 的地理计算能力不能按 MySQL 8 的行为假设。
## v0.2.0 互操作说明
CM93 binary 行为用于互操作核对的核心公开实现是 OpenCPN `cm93.cpp` 的 decode/header/table/feature/attribute/Transform 逻辑。
本工程采用独立 Python 数据模型、数据库模型和实现结构。CM93 substitution mapping 属于解码互操作所需的固定映射;如未来公开分发或商业分发本工具,应自行进行许可证/数据授权审查。