Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
    • Overview
    • Formula syntax
    • Neuroanalyst for creating calculated fields
      • All Functions
        • Overview
        • BOOL
        • DATE
        • DATETIME
        • DATETIME_PARSE
        • DATE_PARSE
        • DB_CAST
        • FLOAT
        • GEOPOINT
        • GEOPOLYGON
        • INT
        • STR
        • TREE
      • Function Availability
    • Parameters
  • DataLens Gallery
  • Audit Trails events
  1. Calculated fields
  2. Function reference
  3. Type conversion functions
  4. GEOPOLYGON

GEOPOLYGON

Written by
Yandex Cloud
Improved by
amatol
Updated at December 19, 2025
View as Markdown

SyntaxSyntax

GEOPOLYGON( value )

DescriptionDescription

Converts the value expression to geopolygon format. At input, the function accepts strings in [[[lat_1,lon_1], [lat_2,lon_2], ..., [lat_N-1,lon_N-1], [lat_N,lon_N]]] format.

Argument types:

  • value — Geopolygon | String

Return type: Geopolygon

ExamplesExamples

GEOPOLYGON("[[[55.79421,37.65046],[55.79594,37.6513],[55.79642,37.65133],[55.7969, 37.65114],[55.79783, 37.65098],[55.78871,37.75101]]]")
GEOPOLYGON("[[[55.75,37.52],[55.75,37.68],[55.65,37.60]],[[55.79,37.60],[55.76,37.57],[55.76,37.63]]]")

Data source supportData source support

ClickHouse 21.8, Files, Google Sheets, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, Trino, Yandex Documents, YDB.

Was the article helpful?

Previous
GEOPOINT
Next
INT
© 2026 Direct Cursus Technology L.L.C.