[mapserver-users] Curves in MapServer

Seth G sethg at geographika.co.uk
Thu Sep 6 16:08:29 PDT 2018


Hi list,

Does anyone know if MapServer supports WKT curves for feature geometries?
I've tried a layer with the definition below but end up with the following error:

msGEOSShapeFromWKT(): GEOS library error. Error reading WKT geometry "CIRCULARSTRING(1 5, 6 2, 7 3)". <br>
msGEOSError(): GEOS library error. ÉíKZ <br>


    LAYER
        NAME "Curve"
        STATUS ON
        TYPE LINE
        FEATURE
            WKT "CIRCULARSTRING(1 5, 6 2, 7 3)"
        END
        CLASS
            STYLE
                COLOR 204 204 255
                WIDTH 3
            END
        END
    END

Curve geometries seem to be supported in GDAL (see https://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries) but not in GEOS (I'm using geos-3.4). 

Any information welcome,
Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika



More information about the MapServer-users mailing list