# shapefile-import-export **Repository Path**: workBase/shapefile-import-export ## Basic Information - **Project Name**: shapefile-import-export - **Description**: 网页 shapefile(.shp,.dbf,.prj) 导入导出 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2022-06-22 - **Last Updated**: 2022-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue2-openlayer6-shapefile > 网页应用导入导出 shapefile ## 文档 如果网页应用只需要导入功能,只需使用 `shapefile` 库即可,但是 `shapefile` 库是无法实现导出功能的。 如果同时需导入导出功能,则需要使用 `mapshaper` 库。 * [使用 `shapefile` 导入](./document/SHAPEFILE.md) * [使用 `mapshaper` 导入导出](./document/MAPSHAPER.md) ## 源码地址 [https://gitee.com/liushuai1125/shapefile-import-export](https://gitee.com/liushuai1125/shapefile-import-export) 1. 获取源码 + 使用 `shapefile` 导入 ```shell git clone https://gitee.com/liushuai1125/shapefile-import-export.git ``` + 使用 `mapshaper` 导入导出 ```shell git clone -b mapshaper https://gitee.com/liushuai1125/shapefile-import-export.git ``` 2. 安装依赖 ```shell npm install # cnpm install ``` 3. 启动项目 ```shell npm run serve ``` 预览地址: [http://localhost:9566/](http://localhost:9566/)