Wentao Li

Results 21 issues of Wentao Li

https://www.tianditu.gov.cn/

enhancement

以下地区两两之间的正交性有问题,目前在测试中跳过了,后续需要进一步排查问题原因并解决。 ```python problem_set = [ sorted(('咸宁市', '仙桃市')), sorted(('伊犁哈萨克自治州', '塔城地区')), sorted(('克拉玛依市', '塔城地区')), sorted(('博尔塔拉蒙古自治州', '双河市')), sorted(('和田地区', '昆玉市')), sorted(('喀什地区', '图木舒克市')), sorted(('塔城地区', '胡杨河市')), sorted(('塔城地区', '阿勒泰地区')), sorted(('巴音郭楞蒙古自治州', '铁门关市')), sorted(('阿克苏地区', '阿拉尔市')), sorted(('阿勒泰地区', '北屯市')) ] ```

bug

目前对地图多边形对象是直接继承 `shapely.geometry.MultiPolygon` 对象。而在 shapely >= 2.0.* 版本以后不再支持这种继承,目前的解决方法是在构建的时候限制 shapely 的版本号必须低于2.0,但是长期这样会导致未来在其他依赖不断迭代的的过程中,如果出现不支持 shapely < 2.0 的依赖限制时,则 cnmaps 可能会难以迭代。因此需要尽快重构部分代码以适配 shapely 2.0 及以上版本的兼容。

enhancement

Whether it is possible to extend support for the `len` function to the object returned by `pygrib.open`, such that it could be used like this: ```python import pygrib grb =...

## Rationale Resolve the issue mentioned in #2370 ## Implications This change will affect the behavior of contourf and essentially fixes a bug in the contourf function.

### Description I encountered a strange `shapely.errors.GEOSException` error when using cartopy to draw maps with `contourf`. The plotting works fine if I just use matplotlib without the cartopy projection transformation....

Bug: transforming filled paths

增加稀释参数用于提高绘图性能

**你的需求与某个问题有关?请描述** 之前版本的 Python 版本显示应该是在 3.7 以上,现在为什么升高到 3.10 以上了,是有什么兼容性问题必须要升级吗? **描述你想要的解决方案** 如果不是必要的兼容性问题的话,希望可以放宽对 Python 的版本限制,最低支持到 python3.8。

In the original style, the code blocks would exceed the maximum text width limits on both sides, which didn't look good. The new code corrects this issue, making the width...