Custom spatial relationships—ArcGIS Pro | Documentation (2024)

Available with Data Reviewer license.

The DE-9IM option is a custom spatial relationship type available in the Feature on Feature check that uses the Dimensionally Extended 9-Intersection Model, or DE-9IM format string. Custom spatial operations are defined by the interior, boundary, and exterior of features from two feature classes.

When you choose DE-9IM as the spatial relationship type, you can compare any possible spatial intersections between two shapes based on the following three aspects:

  • Interior—The entire shape, except its boundary. All geometry types have interiors.
  • Boundary—The endpoints of all linear parts for line features or the linear outline of a polygon. Only lines and polygons have boundaries.
  • Exterior—The outside area of a shape, which does not include the boundary. All geometry types have exteriors.

Understanding how the interior, boundary, and exterior are defined for each type of feature geometry is important to understanding relationship operators:

  • Point—A point represents a single location in space. The interior of a point is the point itself, the boundary is the empty set (or nonexistent boundary), and the exterior is all other points.
  • Multipoint—A multipoint is an ordered collection of points. The interior of a multipoint is the set of points in the collection, the boundary is the empty set (or nonexistent boundary), and the exterior is the set of points that are not in the collection.
  • Polyline—A polyline is an ordered collection of one or more paths where each path is a collection of contiguous segments. A segment has a start and an end point.

    The boundary of a polyline is the set of start and end points of each path, the interior is the set of points in the polyline that are not in the boundary, and the exterior is the set of points that are not in the boundary or the interior.

    For the polyline in the next image, the set of points comprising the boundary is shown in blue. The interior of the polyline is shown in orange.

    Custom spatial relationships—ArcGIS Pro | Documentation (1)

  • Polygon—A polygon is defined by a ring or collection of rings. Each ring is a collection of contiguous segments such that the start point and the end point are the same.

    The boundary of a polygon is a ring or collection of rings that define the polygon. The boundary contains one or more outer rings and zero or more inner rings. An outer ring is oriented clockwise while an inner ring is oriented counter-clockwise. Imagine walking clockwise along the boundary. The area to your immediate right is the interior of the polygon and to your left is the exterior. For the polygon in the next image, the boundary is shown in blue, the interior is shown in orange, and the exterior is the empty space outside the boundary.

    Custom spatial relationships—ArcGIS Pro | Documentation (2)

The DE-9IM spatial relationship is defined using a nine-character sequence string composed by some of the following characters:

  • T (true)—The features have interiors, boundaries, or exteriors that intersect.
  • F (false)—The features do not have interiors, boundaries, or exteriors that intersect.
  • 0 (nondimensional)—The intersection between the interiors, boundaries, or exteriors of the features creates a point.
  • 1 (one dimensional)—The intersection between the interiors, boundaries, or exteriors of the features creates a line.
  • 2 (two dimensional)—The intersection between the interiors, boundaries, or exteriors of the features creates a polygon.
  • * (do not check)—An aspect of the relationship between the interiors, boundaries, or exteriors is not checked.

The placement of the respective characters is important because it determines what is checked between the two features. The following table shows the order of the characters as they describe the spatial relationship between two regions, feature class one and feature class two.

For example, if you want to compare the interior of feature class 1 and feature class 2, type T for slot one. If you don’t want to compare them, type * for slot one.

Character slot numberFeature class 1Feature class 2

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

Illustration examples

The following scenarios illustrate how geometry types in red relate to each other based on their interiors, boundaries, or exteriors.

Feature class 2InteriorFeature class 2BoundaryFeature class 2Exterior

Feature class 1

(Polygon)

Custom spatial relationships—ArcGIS Pro | Documentation (3)

T***T****

FC1 (polygon) shares a boundary with FC2 (polygon) and interiors intersect.

Custom spatial relationships—ArcGIS Pro | Documentation (4)

F***1****

FC1 (polygon) shares a boundary with FC2 (polygon). Interiors don’t intersect and shared boundaries form a line.

Custom spatial relationships—ArcGIS Pro | Documentation (5)

***1*****

FC1 (polygon) exterior intersects interior of FC2 (line) along congruent length.

Feature class 1

(Line/Polyline)

Custom spatial relationships—ArcGIS Pro | Documentation (6)

TT*FFT***

FC1 (line) interiors are contained in FC2 (line).

Custom spatial relationships—ArcGIS Pro | Documentation (7)

FF*FT****

FC1 (line) touches the boundary of FC2 (point) and interiors do not intersect.

Custom spatial relationships—ArcGIS Pro | Documentation (8)

TT**F****

FC1 (line) exterior and interiors intersect with FC2 (polygon).

Feature class 1

(Point)

Custom spatial relationships—ArcGIS Pro | Documentation (9)

T********

FC1 (point) interior is within FC2 (line).

Custom spatial relationships—ArcGIS Pro | Documentation (10)

*T*******

FC1 (point) interior touches the boundary of FC2 (line).

Custom spatial relationships—ArcGIS Pro | Documentation (11)

TF****T**

FC1 (point) exterior is within interior of FC2 (polygon), excluding the boundary of FC2.

Relationship patterns

Once you choose the DE-9IM option, the DE-9IM String text box appears where you can type the pattern string. Patterns that you can use to find specific relationships are listed in the following table:

Spatial relationshipFeature class 1Feature class 2String

Contains

Line

Line

TT*FFT***

Contains

Line

Point

T**F*T***

Contains

Point

Point

T********

Contains

Poly

Line

TT*FFT***

Contains

Poly

Poly

TT*FFT***

Crosses

Line

Line

TF*FF****

Crosses

Line

Poly

TT**F****

Crosses

Poly

Line

T***F**T*

Overlaps

Line

Line

TT*T*****

Overlaps

Point

Point

T********

Overlaps

Poly

Poly

TT*T*****

Touch

Line

Line

FF*FT****

Touch

Line

Poly

FF*FT****

Touch

Poly

Line

FF*FT****

Touch

Poly

Poly

FF*FT****

Within

Line

Line

TF**F****

Within

Line

Point

T********

Within

Point

Point

T********

Within

Poly

Line

TF**F****

Within

Poly

Poly

TF**F****

Other examples of strings that are used in the DE-9IM String text box are listed in the following table:

Spatial relationshipFeature class 1Feature class 2String to use

Shares a boundary

Poly

Poly

****T****

Shares a boundary and interiors intersect

Poly

Poly

T***T****

Shares a boundary and interiors do not intersect

Line

Line

F***T****

Does not touch the boundary and interiors intersect

Poly

Poly

T***F****

Boundary of a polygon intersects the interior of a line along a congruent length

Poly

Line

***1*****

Are identical to

Poly

Poly

**F*TF***

Touches boundary of

Line

Line

****T****

Share a line segment with

Poly

Poly

F***1****

Cross by the outline of

Poly

Line

TT**F****

Related topics

  • Feature on Feature

Feedback on this topic?

Custom spatial relationships—ArcGIS Pro | Documentation (2024)

FAQs

Custom spatial relationships—ArcGIS Pro | Documentation? ›

Each conceptualization of spatial relationships requires a method to identify neighbors, the Neighborhood Type parameter, and a method to quantify the weight of neighbors, the Method parameter. The options under the Neighborhood Options heading configure how neighbors are identified.

What is conceptualization of spatial relationships in Arcgis pro? ›

Each conceptualization of spatial relationships requires a method to identify neighbors, the Neighborhood Type parameter, and a method to quantify the weight of neighbors, the Method parameter. The options under the Neighborhood Options heading configure how neighbors are identified.

What are the three types of spatial relationships? ›

The document introduces the three types of spatial relations in GIS: proximity relations, topological relations, and direction relations, along with query examples to show the translation of spatial problems to spatial queries based on each type of relations.

How to create spatial references in ArcGIS? ›

You can create a spatial reference with a set coordinate system, spatial domains, and precision. The spatial domains and precision of the output spatial reference can be further modified using the XY Domain, Z Domain, M Domain, Template XYDomains, and Grow XYDomain By Percentage parameters.

What is the difference between contains and intersect in Arcgis pro? ›

Contains—A feature from feature class 1 completely encloses a feature from feature class 2. Intersects—Any part of a feature from feature class 1 comes into contact with any part of a feature from feature class 2.

What are the four 4 types of spatial relationship? ›

Spatial Relationships Types. Adjacency, contiguity, overlap, and proximity are the four ways of describing the relationship between two or more entities.

What are the major concepts that illustrate spatial relationships? ›

Define major geographic concepts that illustrate spatial relationships. Spatial concepts include absolute and relative location, space, place, flows, distance decay, time-space compression, and pattern.

How do you explain spatial relationships? ›

Spatial relationships refer to children's understanding of how objects and people move in relation to each other. In infancy, children use their senses to observe and receive information about objects and people in their environment. They can see and follow people and objects with their eyes.

What are the three basic spatial entities in GIS? ›

In GIS, you connect data with geography. So in this blog we discuss about GIS Tutorial basic spatial elements – Points, Lines and Polygons.

How do I match spatial reference in ArcGIS pro? ›

Open the Create Feature Class tool and set the Coordinate System parameter to the feature class with the desired spatial reference. Use the Append tool to load the data from the feature class with the undesired spatial reference into the new feature class.

What is the difference between WKID and EPSG? ›

EPSG is a code determined by the EPSG Geodetic Parameter Dataset. WKID (well-known ID) is an Esri ID of a spatial reference system.

What is the most common Srid? ›

Each spatial reference includes a spatial reference identifier (SRID). The most commonly used spatial references in web mapping are 4326 - World Geodetic System 1984 (WGS84) and 3857 - Web Mercator.

What is the difference between merge and append in ArcGIS Pro? ›

Merge: Takes two or more layers of the same type (e.g., points, lines, or polygons) and combines them into a new layer. The input layers do not need to have matching schemas (field names, data types, and order). Append: Takes one or more layers of the same type and adds their features to an existing target layer.

What is append in ArcGIS Pro? ›

Use this tool to add new features or other data from multiple datasets to an existing dataset. This tool can append point, line, or polygon feature classes, tables, rasters, annotation feature classes, or dimension feature classes to an existing dataset of the same type.

What is the concept of spatial relations? ›

Spatial relationships explore the concept of where objects are in relationship to something else. For example, a ball may be behind the chair, or under the table, or in the box. The dog may be on the blanket, outside of the house, or in the doghouse.

What is spatial concepts in GIS? ›

The Spatial option is designed to make spatial data management easier and more natural to users or applications such as a Geographic Information System (GIS). Once this data is stored in an Oracle database, it can be easily manipulated, retrieved, and related to all the other data stored in the database.

What is spatial analysis in ArcGIS pro? ›

Using spatial analysis, you can combine information from many sources and derive new information by applying a set of spatial operators. This collection of spatial analysis tools allows you to answer complex spatial questions. Statistical analysis can determine whether the patterns that you see are significant.

Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6339

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.