<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">I'm pretty certain it's a no... I would think it should be possible to marshall curves into MapServer shapes though. --Steve</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> mapserver-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Seth G <sethg@geographika.co.uk><br>
<b>Sent:</b> Thursday, September 6, 2018 6:08:29 PM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> [mapserver-users] Curves in MapServer</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi list,<br>
<br>
Does anyone know if MapServer supports WKT curves for feature geometries?<br>
I've tried a layer with the definition below but end up with the following error:<br>
<br>
msGEOSShapeFromWKT(): GEOS library error. Error reading WKT geometry "CIRCULARSTRING(1 5, 6 2, 7 3)". <br><br>
msGEOSError(): GEOS library error. ÉíKZ <br><br>
<br>
<br>
    LAYER<br>
        NAME "Curve"<br>
        STATUS ON<br>
        TYPE LINE<br>
        FEATURE<br>
            WKT "CIRCULARSTRING(1 5, 6 2, 7 3)"<br>
        END<br>
        CLASS<br>
            STYLE<br>
                COLOR 204 204 255<br>
                WIDTH 3<br>
            END<br>
        END<br>
    END<br>
<br>
Curve geometries seem to be supported in GDAL (see <a href="https://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries">
https://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries</a>) but not in GEOS (I'm using geos-3.4).
<br>
<br>
Any information welcome,<br>
Regards,<br>
<br>
Seth<br>
<br>
--<br>
web:http://geographika.co.uk<br>
twitter: @geographika<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div>
</span></font></div>
</body>
</html>