Geometry scale

未关闭
#453 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
rust, sql

调研方向

该 issue 没有指定文件、测试或入口点,因此首先需要确定实现位置和现有的缩放行为。明确支持的国家、国家代码和美国州映射,并围绕将名称解析为几何体来定义完成标准,同时保留现有几何体值的身份行为。

由索引模型根据 Issue 内容生成。

描述

plot building

This is just to note down an idea that came up during discussion with Thomas.
Essentially if user has data in the shape of country_name, value and wants to make a chloropleth, he lacks the geometry for the country_name column.
The idea is that we have a scale for the geometry aesthetic that maps the country_name to geometries representing the country. We can do the same for country codes, US states etc.

For the user it may look some like this:

DRAW spatial MAPPING country_name AS geometry

The scale resolving bits figure out that the geometry aesthetic is a string instead of WKT/WKB/Binary blob/Geometry and setup a suitable palette. For proper geometry columns, it will be an identity scale.

主要语言
Rust
星标
573
派生
32
平均合并
8 天 23 小时
30 天内合并 PR
5

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/ggsql 的其他 Issue

查看 posit-dev/ggsql 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。