繁体   English   中英

Geoviews 绘图显示不正确的经度和纬度/以错误的格式显示它们

[英]Geoviews Plots Displays Incorrect Longitude & Latitude / Displays Them in the Wrong Format

我有一个longitude = -0.050122latitude = 52.699185的点。

当我在 Geoviews 中 plot this 时,这个 Point 显示错误:

pin = gv.Points(gdf_pin,vdims=["avg_cust_dist_trav_km","avg_cust_dist_trav_miles"]
                          ).opts(tools=["hover","tap"],
                                 color="green",size = 15,
                                 line_color="white",hover_color="orange",
                                 hover_line_color="white",line_width=2)

Output:

在此处输入图像描述

同样的事情似乎也发生在使用 Geoviews 生成的多边形图上。

这是一个错误还是我必须做其他事情才能正确显示经度和纬度?

谢谢

澄清一下,该点本身看起来正确显示(绘制在正确的位置),但 hover 信息显示在 Web 墨卡托坐标中,而不是更易读的本地纬度/经度值。 我相信这是一个错误; 请参阅https://github.com/holoviz/geoviews/issues/470

(不过不确定 hover 中的“th”是什么;我在我的副本中没有看到它。)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM