Python for Smarter Cities:用于大型矢量数据静态和交互式可视化的Python库的比较
Python for Smarter Cities: Comparison of Python libraries for static and interactive visualisations of large vector data
摘要:
作为“智慧城市”计划的一部分,为了促进互操作性,地方政府越来越多地将开源软件纳入其数据管理、分析和可视化工作流程。Python以其简洁自然的语法,为没有计算机科学背景的市政工作人员提供了一个低门槛的入门。然而,特别是在地理空间可视化方面,可用的Python库的范围已经多样化,以至于为特定用例确定候选库是一项具有挑战性的任务。因此,本研究评估了Python生态系统中突出的、积极开发的可视化库,以确定它们是否适合生成大型矢量数据集的可视化。一个简单的可视化任务,在城市发展中常见的是用来产生几乎相同的专题地图,在静态和互动的比较“轨道”。所有入围的图书馆都能够为小型和大型数据集生成样本地图产品。代码复杂性在交互式可视化中差异更大。正式和非正式的文件渠道被强调,以概述可用于平坦化学习曲线的资源。基于Python的进程链部分的CPU运行时在两个轨道上完全不同,指出了进一步研究的途径。这些结果表明,Python生态系统为地方政府提供了强大的工具,无需供应商锁定和许可费用,可以为内部和公共分发提供高性能和格式一致的可视化。
英文摘要:
Local governments, as part of 'smart city' initiatives and to promote interoperability, are increasingly incorporating open-source software into their data management, analysis, and visualisation workflows. Python, with its concise and natural syntax, presents a low barrier to entry for municipal staff without computer science backgrounds. However, with regard to geospatial visualisations in particular, the range of available Python libraries has diversified to such an extent that identifying candidate libraries for specific use cases is a challenging undertaking. This study therefore assesses prominent, actively-developed visualisation libraries in the Python ecosystem with respect to their suitability for producing visualisations of large vector datasets. A simple visualisation task common in urban development is used to produce near-identical thematic maps across static and an interactive 'tracks' of comparison. All short-listed libraries were able to generate the sample map products for both a small and larger dataset. Code complexity differed more strongly for interactive visualisations. Formal and informal documentation channels are highlighted to outline available resources for flattening learning curves. CPU runtimes for the Python-based portion of the process chain differed starkly for both tracks, pointing to avenues for further research. These results demonstrate that the Python ecosystem offers local governments powerful tools, free of vendor lock-in and licensing fees, to produce performant and consistently formatted visualisations for both internal and public distribution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。