[mapserver-users] Curves in MapServer

Even Rouault even.rouault at spatialys.com
Fri Sep 7 05:54:19 PDT 2018


On vendredi 7 septembre 2018 12:42:08 CEST Lime, Steve D (MNIT) wrote:
> I'm pretty certain it's a no... I would think it should be possible to
> marshall curves into MapServer shapes though. --Steve

OGR has infrastructure to convert from curve geometries to approximated curve 
geometries with

geom = OGR_G_ForceTo(geom,
   OGR_GT_GetLinear(OGR_G_GetGeometryType(geom)), NULL)

as used in mapogr.cpp for example

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the mapserver-users mailing list