geom_map: it seems that changing the coordinate system has no effect
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
从 geom_map 入口点开始,使用 to_crs 将 GeoDataFrame 重投影到 EPSG:3857,并复现该示例。比较重投影前后的渲染形状,然后验证输出是否反映了已更改的坐标系,并为此行为添加或运行回归测试。
由索引模型根据 Issue 内容生成。
描述
Hi,
I'm using creating this map
geodf = gp.read_file("https://gist.githubusercontent.com/aborruso/62a708faa4c050776ece5fb4a33b4593/raw/7a99636eac7a3d9844f6c54b2cacbc9ae6023e4a/oc_costo_regioni.geojson")
# Reproject to EPSG:32633
geodf = geo_df.to_crs(epsg=3857)
(
ggplot(geodf)
+ geom_map(aes(fill="costo_per_km2"), color="black", size=0.1)
)
In output I have a flattened shape, as if they were always geographical coordinates.
Using EPSG:3857, I should have a more elongated shape, like the one below.
- 主要语言
- Python
- 星标
- 4.8k
- 派生
- 269
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
has2k1/plotnine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
Feature request: add rotation_mode param to geom_text可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Feature
难度 2/5 1-3 小时 新手友好度 66/100
-
position_dodge2() leaves nested rectangles overlapping可能已有人在做 @MahnoorAhmed999 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
-
Enhancement
难度 3/5 半天 新手友好度 55/100
-
Enhancement
难度 4/5 3-5 天 新手友好度 52/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
plone/plone.observability#114 ·
维护者通常 1 天内回复
-
area:docs type:docs
难度 2/5 1-3 小时 新手友好度 68/100
jejjohnson/gauss_flows#246 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
netbox status: needs triage type: feature
难度 2/5 1-3 小时 新手友好度 68/100
netbox-community/netbox#23868 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
emeryberger/CSrankings#15757 ·
维护者通常 9 天内回复