Skip to main content
Skip to main content

Functions for Generating SVG images from Geo data

Svg

Returns a string of select SVG element tags from Geo data.

Syntax

Aliases: SVG, svg

Parameters

  • geometry — Geo data. Geo.
  • style — Optional style name. String.

Returned value

  • The SVG representation of the geometry. String.
    • SVG circle
    • SVG polygon
    • SVG path

Examples

Circle

Query:

Result:

Polygon

Query:

Result:

Path

Query:

Result:

Try ClickHouse Cloud for FREE

Separation of storage and compute, automatic scaling, built-in SQL console, and lots more. $300 in free credits when signing up.

Try it for Free