有没有办法将未知的Geom/ShapeFile/Multipolygon映射到已知的多角形表?
表格,table_a
:
a | Philadelphia |
---|---|
b | baltimore |
c | charlotte |
和 |
|
table_b
id | unknown_multipolygon |
---|---|
1 | unknown_polygon_polygon_a |
两个 | now_multipolygon |
ID | 我有 |
: 参考表,每一行是一个已知的区域的多角形。 table_b
但是,是一个未知的多龙组合,可以是一个位置,例如,unknown_polygon_a
可以是charlotte
,或者是组合unknown_polygon_a
可以是费城
+ baltimore
。问题是,我不知道什么nown_multipolygon
或nown_polygon
的组合,构成table> table_b.unknown_multipolygon
。有没有办法确定构成table_b.unknown_multipolygon
的多边形?
I have two tables, Table_A
:
ID | known_multipolygon |
---|---|
A | Philadelphia |
B | Baltimore |
C | Charlotte |
And Table_B
:
ID | unknown_multipolygon |
---|---|
1 | unknown_polygon_A |
2 | unknown_polygon_B |
3 | unknown_polygon_C |
Table_A
is essentially a reference table, each row is a known multipolygon of an area. Table_B
, however, is an unknown combination of multipolygons that could be either a single location, e.g., unknown_polygon_A
could be Charlotte
, or a combination of multipolygons, e.g., unknown_polygon_A
could be Philadelphia
+ Baltimore
. The problem is, I do not know what known_multipolygon
, or combination of known_polygon
, make up the Table_B.unknown_multipolygon
. Is there a way to determine the polygons that make up Table_B.unknown_multipolygon
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
st_contains
加入两个表:You can use
st_contains
to join the two tables: