matplotlib / matplotlib/basemap

Named annotations in *meta_[clihf].dat files

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

还没有人认领这个 Issue。

主要语言
Python
星标
817
派生
395
PR 合并指标
30 天内没有已合并 PR

描述

Hi ladies and gentlemen,

I was wondering how the *.dat files were generated, and if it would be possible to annotate some of them with their names in some standardized format. For instance, for countries, we could append another field after the #bytes value that contains the ISO2 name of the country of the coordinates listed. Then one could build LineCollections for each country and do fun per-country graphing.

Otherwise, we need to use shapefiles -- not all that bad except they might not match the specified resolution or even the data included in basemap.

I'd love to submit patches, but unfortunately there's no rhyme or reason to the internal organization of the *.dat files. I hypothesize having their source will facilitate such a transformation.

Thoughts?

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

调研方向

首先追踪 meta_[clihf].dat 文件的生成方式并了解其内部组织结构,然后审查 #bytes 值之后提议的标准化字段。结合现有的 shapefile 方法,考虑 country ISO2 和 LineCollection 的使用场景。完成意味着项目已经确定并记录了格式,并且有明确的源或转换路径。

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

评估

技术栈
python
领域
data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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