[mapserver-users] Is there a C/C++ API for mapserver/mapscript?

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Wed Apr 1 11:14:08 PDT 2015


MapServer does not have a formal, well-documented C API. However we are trying to do so and try to keep the underlying C functions consistent over time. In many cases there is a one-to-one relationship between MapScript and the C API. The easiest way to understand this would be to look at the SWIG interface files in mapscript/swiginc/*.i. Those interface files document what is done to, for instance, open a mapfile.

Another option would be to look at the helper programs that ship with MapServer and use the C API. Shp2img would be a good place to start.

Hope this helps…

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Hossein Ansari
Sent: Tuesday, March 31, 2015 7:53 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Is there a C/C++ API for mapserver/mapscript?

I know there is APIs for mapserver through mapscript in php & python.
but i want using mapserver in a existing C/C++ program.
how can i use mapserver in my codes?

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150401/1d9adca9/attachment.htm>


More information about the MapServer-users mailing list