Skip to main content

Documentation Index

Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-0a08f105.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Svg

Returns a string of select SVG element tags from Geo data. Syntax
Svg(geometry,[style])
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
SELECT SVG((0., 0.))
Response
<circle cx="0" cy="0" r="5" style=""/>
Polygon
Query
SELECT SVG([(0., 0.), (10, 0), (10, 10), (0, 10)])
Response
<polygon points="0,0 0,10 10,10 10,0 0,0" style=""/>
Path
Query
SELECT SVG([[(0., 0.), (10, 0), (10, 10), (0, 10)], [(4., 4.), (5, 4), (5, 5), (4, 5)]])
Response
<g fill-rule="evenodd"><path d="M 0,0 L 0,10 L 10,10 L 10,0 L 0,0M 4,4 L 5,4 L 5,5 L 4,5 L 4,4 z " style=""/></g>