空间关系

文章目录
  1. 1. 1.Hole Outside Shell
  2. 2. 2.Nested Holes
  3. 3. 3.Disconnected Interior
  4. 4. 4.Self Intersection
  5. 5. 5.Ring Self Intersection
  6. 6. 6.Nested Shells
  7. 7. 7.Duplicate Rings
  8. 8. 8.Too Few Points
  9. 9. 9.invalid coordinate
  10. 10. 10.Ring Not Closed

1.Hole Outside Shell

Indicates that a hole of a polygon lies partially or completely in the exterior of the shell.

img

2.Nested Holes

Indicates that a hole lies in the interior of another hole in the same polygon.

img

3.Disconnected Interior

Indicates that the interior of a polygon is disjoint.(often caused by set of contiguous holes splitting the polygon into two parts)

img

4.Self Intersection

Indicates that two rings of a polygonal geometry intersect.

img

5.Ring Self Intersection

Indicates that a ring self-intersects.

imgimg

6.Nested Shells

Indicates that a polygon component of a MultiPolygon lies inside another polygonal component.

img

7.Duplicate Rings

Indicates that a polygonal geometry contains two rings which are identical.

也就是说,多边形中包含了两个相同的环,此处不加图片示意了。

8.Too Few Points

Indicates that either:
1)A LineString contains a single point;
2)A LinearRing contains 2 or 3 points.

即组成形状的节点太少了。此处不加图片示意了。

9.invalid coordinate

Indicates that the X or Y ordinate of a Coordinate is not a valid numeric value.

即不合法的坐标。

比如说,在地理坐标系中,经度的范围为[-180, 180],纬度的范围为[-90, 90],超出这个范围的坐标即为invalid coordinate。此处不加图片示意了。

10.Ring Not Closed

Indicates that a ring is not correctly closed.(the first and the last coordinate are different)

即多边形没有合上。正确的polygon应该是首尾相连的,若不相连即出现此错误。此处不加图片示意了