PostGIS
Synopsis
text +`*`+ST_AsSVG
*(`geometry `geom
, integer rel=0
,
integer maxdecimaldigits=15`
)`;
text +`*`+ST_AsSVG
*(`geography `geog
, integer rel=0
,
integer maxdecimaldigits=15`
)`;
Description
Return the geometry as Scalar Vector Graphics (SVG) path data. Use 1 as second argument to have the path data implemented in terms of relative moves, the default (or 0) uses absolute moves. Third argument may be used to reduce the maximum number of decimal digits used in output (defaults to 15). Point geometries will be rendered as cx/cy when 'rel' arg is 0, x/y when 'rel' is 1. Multipoint geometries are delimited by commas (","), GeometryCollection geometries are delimited by semicolons (";").
|
Changed: 2.0.0 to use default args and support named args