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