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: [email protected] [mailto:[email protected]] On Behalf Of Hossein Ansari Sent: Tuesday, March 31, 2015 7:53 AM To: [email protected] 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.
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
