Product Solutions Support
Try MemSQL

GEOGRAPHY_CONTAINS

This function takes in two geospatial objects and determines whether the first one completely covers the area of the second.

image

Syntax

GEOGRAPHY_CONTAINS ( geo1, geo2 )

Arguments

Return Type

Boolean

Examples

select id, name from neighborhoods
where
  GEOGRAPHY_CONTAINS(shape, "POLYGON(...)");
Was this article useful?