Geographical Operators - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

The geographic operators act on objects to produce a logical result of TRUE or FALSE:

Operator Returns TRUE if: Example

Contains

first object contains the centroid of the second object

objectA Contains objectB

Contains Part

first object contains part of the second object

objectA Contains Part objectB

Contains Entire

first object contains all of the second object

objectA Contains Entire objectB

Within

first object's centroid is within the second object

objectA Within objectB

Partly Within

part of the first object is within the second object

objectA Partly Within objectB

Entirely Within

the first object is entirely inside the second object

objectA Entirely Within objectB

Intersects

the two objects intersect at some point

objectA Intersects objectB