• ISpatialFilter.SpatialRelDescription 翻译


    The array elements which describe the spatial relation between the query geometry and the requested geometries. There are 9 chars in this string which can be either 'F', 'T' or '*'; e.g., TT*FFT***' represents CONTAIN.(字符串中有9个字符,每个字符可以是F,T,或者*,例如:TT*FFT***表达了包含)

    Description

    A nine character string containing describing the spatial relationships to be tested by the spatial filter. Required when setting the SpatialRel property to use the esriSpatialRelRelation enumerator.

    Remarks

    The SpatialRelDescription allows the comparison of any spatial relationship between two geometries. A spatial relationship is defined by the intersections between the boundary, interior, and exterior of the query geometry and the requested geometry.(空间关系用查询几何体和被请求的几何体的边界,内部,外部之间的相交关系来定义)

    All of the spatial relationships defined by the esriSpatialRelEnum enumeration can be duplicated using this property.


    Interior:
    The interior of a shape is defined as the entire shape minus its boundary. All shapes have interior.

    Boundary:
    Linear and area shapes have boundaries, but point shapes do not. The boundary of linear shapes consists of the end points of all linear parts. The boundary of area shapes consists of the linear boundary of the polygon shell(s).

    Exterior:
    The area outside a shape. All shapes have an exterior.

    Each element for the first shape, the query geometry, may be tested against each element of the second shape, the requested geometry, giving nine possible spatial intersections as listed in the table below:


    Query Geometry Requested Geometry
    1 interior interior
    2 interior boundary
    3 interior exterior
    4 boundary interior
    5 boundary boundary
    6 boundary exterior
    7 exterior interior
    8 exterior boundary
    9 exterior exterior


    The nine-characters string expected by ISpatialFilter::SpatialRelDescription, is used to specify whether the intersection of each of the elements in the array is true (T), false (F), or not tested (*). 

    For instance, in 'FFFTTT***', relationships 1-3 must be false, relationships 4-6 must be true, and relationships 7-9 are not tested.

    Note that any two shapes' exteriors always intersect.

    Example Strings

    Shares a boundary: '****T****'(esri官方帮助中为:'****T***',结尾少写一个*)

    Shares a boundary and interiors intersect: 'T***T****'

    Shares a boundary and interiors do not intersect: 'F***T****'

    Does not touch the boundary and interiors intersect: 'T***F****'

    Approximate esriSpatialRelEnum SpatialRelDescription Strings 
    Relation Selection Geometry Requested Geometry String
    Contains Line Line TT*FFT***
    Contains Point Line TT*FFT***
    Contains Point Point T********
    Contains Line Poly TT*FFT***
    Contains Poly Poly TT*FFT***
    Crosses Line Line TF*FF****
    Crosses Poly Line TT**F****
    Crosses Line Poly TT**T****
    Overlaps Line Line TT*T*****
    Overlaps Point Point T********
    Overlaps Poly Poly TT*T*****
    Touch Line Line FF*FT****
    Touch Poly Line FF*FT****
    Touch Line Poly FF*FT****
    Touch Poly Poly FF*FT****
    Within Line Line TF**F****
    Within Point Line T********
    Within Point Point T********
    Within Line Poly TF**F****
    Within Poly Poly TF**F****

    For more information on this topic, see the Shape Comparison Language topics on the EDN web site.

  • 相关阅读:
    Java中的多线程你只要看这一篇就够了
    用Spring Boot颠覆Java应用开发
    Java Web 学习路线
    Java基本概念(2)J2EE里面的2是什么意思
    Java基本概念(1)什么是Java
    《Effective Java》读书笔记一(创建与销毁对象)
    Java:集合,对列表(List)中的数据(整型、字符串、日期等)进行排序(正序、倒序)的方法;字符串按照整型排序的方法
    Java:几个正则式应用(检查汉字、日期、EMAIL、手机号码的合法性,替换字符串等)
    Solr4:查询参数fq的用法(对结果进行过滤;两组关键词组合查询)
    Oracle删除重复记录只保留一条数据的几种方法
  • 原文地址:https://www.cnblogs.com/zhangjun1130/p/1978209.html
Copyright © 2020-2023  润新知