Created on 2024-10-15T23:29:49+08:00 @author: Richie Bao

Database(数据库)

组件 说明 示例 示例代码下载
pys
Create SQL_DB
建立SQLite数据库 pys moths_database_Create_SQL_DB.gh下载
pys
SQL_DB_Dump
向SQLite数据库表写入数据 pys moths_database_SQL_DB_Dump.gh下载
pys
SQL_DB_Load
读取SQLite数据库表 pys moths_database_SQL_DB_Load.gh下载
pys
Feature from Points
将点转换为 Point GeoJSON;并将点列表转换为多点 GeoJSON 格式 pys moths_database_featureFromPoints.gh下载
pys
Feature from Lines
将曲线/折线转换为 GeoJSON linestring,和将曲线列表转换为 multilinestring pys moths_database_featureFromLines.gh下载
pys
Feature from Polygons
将封闭折线转换为 GeoJSON 多边形(Polygons),并将封闭折线列表转换为 MultiPolygons。不允许创建有孔的形状 pys moths_database_featureFromPolygons.gh下载
pys
Feature from Polygons(+)
将封闭折线列表转换为 GeoJSON 多边形(Polygon)对象,其中第一条曲线作为外环,所有其他曲线作为形状的内孔。不允许创建多重多边形,为此尝试用“简单”多边形特征组件代替。 pys moths_database_featureFromPolygonsPlus.gh下载
pys
Join GeoJSON
合并多个 GeoJSON 数据 pys moths_database_joinGeojson.gh下载
pys
Write File
将文本文件存储到本地磁盘 pys moths_database_writeFile.gh下载
pys
Read GeoJSON
读取 GeoJSON 文件或原始 GeoJSON 字符串,并将其内容转换为 Rhino 几何体 pys moths_database_readGeoJson.gh下载
pys
read excel
读取Excel文件数据 pys moths_database_readExcel.gh下载
pys
Read Excel (openpyxl)
使用 Python 包 openpyxl 读取 Excel 表 pys moths_database_readExcel(openpyxl).gh下载
pys
Write Excel (openpyxl)
使用 Python 包 openpyxl 将数据写入 Excel 表 pys moths_database_writeExcel(openpyxl).gh下载