Opened 15 months ago

Last modified 2 months ago

#4913 new enhancement

Add curve support to ST_AsSVG

Reported by: mdavis Owned by: stefanpetrea
Priority: medium Milestone: PostGIS Fund Me
Component: postgis Version: master
Keywords: Cc:

Description

It should be straightforward to enhance ST_AsSVG to support curved geometries (i.e. CircularString, CompoundCurve, CurvePolygon, MultiCurve, MultiSurface). This will provide a PosstGIS-native way to visualize curved geometry, which is not widely supported by other tools.

This can be done easily using SVG elliptical arcs.

Change History (7)

comment:1 by stefanpetrea, 15 months ago

Owner: changed from pramsey to stefanpetrea

comment:2 by pramsey, 15 months ago

Milestone: PostGIS 3.1.23.1.3

comment:3 by pramsey, 15 months ago

Milestone: 3.1.3PostGIS 3.1.3

Milestone renamed

comment:4 by robe, 14 months ago

Milestone: PostGIS 3.1.3PostGIS 3.1.4

In prep for 3.1.3 release

comment:5 by pramsey, 12 months ago

Milestone: PostGIS 3.1.4PostGIS 3.3.0
Version: 2.5.xmaster

comment:6 by pramsey, 2 months ago

Milestone: PostGIS 3.3.0PostGIS Fund Me

comment:7 by robe, 2 months ago

Speaking of which I have this as a TODO for X3D as well #1416. I think it would be implemented in X3d using nurbs https://www.web3d.org/x3d/content/examples/Basic/NURBS/, In particular for 2D the geometries would be expressed as Contour2D and Contour2DPolyine https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/nurbs.html#X3DParametricGeometryNode It's too bad we don't support 3D curves since Nurbs in X3d could handle those.

Note: See TracTickets for help on using tickets.