# TextVectorConverter **Repository Path**: rqf/text-vector-converter ## Basic Information - **Project Name**: TextVectorConverter - **Description**: 勘测定界界址点坐标交换格式与矢量数据转换工具 文本 -> 矢量 生成dxf shp格式数据 矢量 -> 文本 支持读取gdb, shp, gpkg, geojson, dxf, dwg格式的数据 纯测绘人根据自己的思路结合GPT给出的代码修改完成,欢迎大家补充完善。 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-12-19 - **Last Updated**: 2025-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TextVectorConverter #### 介绍 `TextVectorConverter` 是一款用于勘测定界界址点坐标交换格式与矢量数据转换的工具。它支持以下功能: - **文本 -> 矢量**:可以将文本数据转换为 DXF 或 SHP 格式的矢量数据。 - **矢量 -> 文本**:支持读取并转换多种矢量格式数据,包括 GDB、SHP、GPKG、GeoJSON、DXF 和 DWG 格式。 该工具是根据纯测绘人员的需求和思路,结合 GPT 给出的代码进行修改和完善的。欢迎大家对工具进行补充和优化。 #### 软件截图 ![截图 2025-01-14 16:24:38](https://foruda.gitee.com/images/1736843518974569281/66425e5b_11300038.png) ![截图 2025-01-14 16:24:20](https://foruda.gitee.com/images/1736843498582006064/ad32b88d_11300038.png) ![截图 2025-01-14 16:24:09](https://foruda.gitee.com/images/1736843482960147131/7a4c1ccd_11300038.png) ![截图 2025-01-14 16:17:28](https://foruda.gitee.com/images/1736843464965216588/7b523ed2_11300038.png) #### 安装教程 1. 下载并解压工具包。 2. 安装依赖库geopandas PyQt5 chardet。 #### 使用说明 1. TextVectorConverterMVCUI.py 打开图形界面。 2. 根据需要设置参数,修改数据。 3. 然后开始转换。 #### 打包说明 - 小白打包血泪史 (╥﹏╥) 1. 尝试使用基本PyInstaller的auto-py-to-exe进行包,结果出现import pyogrio错误,闪退。 2. 尝试使用Nuitka,太菜,失败了。 3. 尝试使用PyOxidizer,还是太菜,出现了 __file__ 相关的错误,没搞定。 4. 最后使用[PyStand](https://github.com/skywind3000/PyStand)的方法和[相关说明](https://skywind.me/blog/archives/3002),特此感谢。 #### 其他 - 由于本人是个小白,如果没有及时回应,可能是因为我长时间没有登录,或者是真的无法回答 ^_^,多谢大家的理解和支持。