许多相邻的多边形都想将多边形转换为路径并删除生成的重复路径 [英] Many adjacent polygons, want to convert polygons to paths and remove resultant duplicate paths

查看:154
本文介绍了许多相邻的多边形都想将多边形转换为路径并删除生成的重复路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含80个相邻县的json文件,用单独的多边形表示.正如预期的那样,每个县都与其他县接壤.

I have a json file with 80ish adjacent counties, represented as individual polygons. Each county, as expected, shares borders with other counties.

我想将这些多边形中的每一个都转换为路径,以创建象征每个县的边界的路径.在这一点上,我将留下许多县域共享边界的重叠或重复路径.

I'd like to convert each of those polygons to paths, creating paths symbolizing the borders of every county. At this point, I'd be left with many overlapping or duplicate paths where counties shared borders.

我想找到一种系统的方法来删除这些重叠的路径,因此代表边框的每一行仅显示一次.这样,我就可以分别设置边框的样式,以解决

I'd like to find a systematic way to delete these overlapping paths so each line representing a border is only displayed once. By doing so, I'll be able to style the borders individually to fix a problem described in a previous question.

这样的东西存在吗?我知道有可能在Illustrator中删除共享边界,但是许多县多边形与3个以上县共享边界,这使工作变得非常繁琐.

Does such a thing exist? I'm aware of the possibility of deleting shared borders in Illustrator, but many of the county polygons share borders with 3+ other counties, making this incredibly tedious.

谢谢.

推荐答案

因此,我最终使用ArcMap解决了这个问题.我的步骤:

So, I eventually tackled this problem using ArcMap. My steps:

  1. 从我使用的json创建shapefile并加载到ArcMap中
  2. 将shapefile导入地理数据库
  3. 将文件放入要素数据集中
  4. 创建拓扑(右键单击要素数据集">新建">拓扑")
  5. 向拓扑添加规则以防止重叠的线
  6. 查找所有错误(重叠的行)
  7. 使用错误检查器选择每条重叠的线并减去(右键单击错误)其中一条线
  8. 花了我大约5分钟的时间来移除一百左右.

这篇关于许多相邻的多边形都想将多边形转换为路径并删除生成的重复路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆