哪个开源 Python 或 Java 库提供了在 ESRI Shapefile 上绘制圆圈的简单方法?

发布于 2024-07-20 12:46:16 字数 135 浏览 3 评论 0原文

我需要编写一个软件来创建一个带有各种圆或圆周的形状文件。 创建的 shapefile 应该可由 ESRI ArcMap 读取。

我需要一个可以让我添加圆形或圆弧的库。

该库可以用于 Python 或 Java。

I need to write a software that creates an shapefile with various circles or circumferences on it.
The shapefile created should be readable by ESRI ArcMap.

I need a library that let me add circles or circular arc to it.

The library could be in for Python or in Java.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

极度宠爱 2024-07-27 12:46:16

如果您查看 OpenMap,可能可以使用 Java 中的一组库编写一些代码来执行以下操作:你在问什么。

我不知道是否可以通过一次调用来实现,但 OpenMap 中肯定有代码 生成圆和弧,它还有在 shapefile 中读取的代码。 跳转到导出形状文件不应该太大。

If you look at OpenMap, it may be possible to write some code using that set of libraries in Java to do what you are asking.

I don't know if its possible from a single call, but there is definitely code in OpenMap to generate circles and arcs and it also has code to read in a shapefile. The jump to exporting a shape file shouldn't be too big.

灯角 2024-07-27 12:46:16

Matt Perry 在 Tissot Indicatrix - 检查扭曲中提供了一个在 shapefile 中创建圆圈的简短而温馨的示例地图投影。 帖子中没有列出如何安装先决条件 gdal/ogr; 为此,请参阅 Windows 上的 OSGeo4W 或简单的 apt-get install gdal python-gdal 在 ubuntu Linux 上。

Matt Perry has a short and sweet example of creating circles in a shapefile in Tissot Indicatrix - Examining the distortion of map projections. Not listed in the post is how to install the prerequiste gdal/ogr; for that see OSGeo4W on windows or a simple apt-get install gdal python-gdal on ubuntu linux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文