跳转到主要内容

未提供项目描述

项目描述

# hologridgen

使用[pygridgen](https://github.com/pygridgen/pygridgen)和[HoloViz](holoviz.org)工具套件,用于在[Jupyter笔记本](https://jupyter.pythonlang.cn/)中生成正交网格的交互式工具,或者使用[Panel](panel.pyviz.org)部署。

## 安装

在hologridgen在conda-forge上提供之前,您可以在Python 3.7 conda环境中按照以下方式安装它

` conda install -c jlstevens -c conda-forge hologridgen `

如果您需要一个全新的Python 3.7 conda环境,您可以使用以下命令创建并激活它

` conda create -n hologridgen python=3.7 conda activate hologridgen `

## 核心功能

  • 添加、移动和删除节点。第一个节点由特殊标记指示(默认为三角形)

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/add-mode-delete.gif”></img>

  • 使用轻触工具切换节点极性(beta)。生成网格按钮指示何时可以生成网格。隐藏按钮用于隐藏当前网格/网格。

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/polarity-toggle.gif”></img>

  • 使用点击工具(可以轻松移动)选择边后,轻松插入新节点

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/edge_insertion.gif”></img>

  • 以Pythonic方式访问所绘制的边界和生成的网格

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/pythonic-access.gif”></img>

  • 通过GUI轻松调整节点大小和边宽。轻松使用不同的x和y分辨率重新生成

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/node-edge-size.gif”></img>

  • 轻松选择背景中预定义的瓦片源集合

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/tilesources.gif”></img>

  • 轻松使用自定义元素(例如不同的瓦片源)作为背景

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/custom_background.gif”></img>

  • 将边界作为GeoJSON下载

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/geojson_download.gif”></img>

  • 捕获可序列化的编辑器状态并从中恢复(也可以从geopandas边界DataFrame中恢复)

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/save_restore_state.gif”></img>

  • 设置焦点函数并相应地更新网格

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/focus_edit.gif”></img>

  • 边界、节点和起始标记的高度自定义样式

<img width=400 src=”https://github.com/pygridgen/hologridgen/blob/master/images/customizable_style.gif”></img>

  • 可以使用serveable()方法作为Panel仪表板。

项目详情


下载文件

下载您平台上的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

hologridgen-1.0.2.tar.gz (7.2 kB 查看散列)

上传时间

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面