Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

How can i type typecast a CircularString Polygon or Multipolygon in PostGIS? I am doing so because CircularString Datatype is not supported by QGIS and i have to create a circle or ellipse, and it should get display on QGIS map canvas.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

ST_CurveToLine — Converts a CIRCULARSTRING/CURVEDPOLYGON to a LINESTRING/POLYGON

To create a polygon, use

ST_BuildArea — Creates an areal geometry formed by the constituent linework of given geometry

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.