[mapserver-users] Curves in MapServer

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Fri Sep 7 07:30:56 PDT 2018


All,

We moved to storing curves in Postgres/postgis as a way of distributing to those applications/clients that can consume curves.

The Postgres loading stuff has been somewhat manually intensive in setting up, but it’s somewhat automated now.  We’re sourcing data from both AutoCAD and ESRI Features, and converting to CircularStrings in postgres.

bobb



On Sep 7, 2018, at 7:54 AM, Even Rouault <even.rouault at spatialys.com<mailto:even.rouault at spatialys.com>> wrote:

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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


"The difference between stupidity and genius is that genius has its limits.”
-  Albert Einstein



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180907/5409cfb5/attachment-0001.html>


More information about the mapserver-users mailing list