[mapserver-users] Curves in MapServer

Lime, Steve D (MNIT) steve.lime at state.mn.us
Fri Sep 7 05:42:08 PDT 2018


I'm pretty certain it's a no... I would think it should be possible to marshall curves into MapServer shapes though. --Steve

________________________________
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> on behalf of Seth G <sethg at geographika.co.uk>
Sent: Thursday, September 6, 2018 6:08:29 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Curves in MapServer

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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180907/394376a3/attachment.html>


More information about the mapserver-users mailing list