<div dir="ltr">On Mon, Dec 17, 2012 at 10:08 PM, Yves Jacolin <span dir="ltr"><<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>></span> wrote:<br><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br><br>Currently working with python mapscript on outputformat object, I have some difficulties to get the correct information.<br>
<br>First, I can't get outputformat list from map obj. The documentation says:<br>
<dl><dt>outputformatlist <span>:</span> <span>outputFormatObj[]</span></dt><dd><p>Array of the available output formats.</p>
<div>
<p>Note</p>
<p>Currently only available for C#. A proper typemaps
should be implemented for the other languages.</p>
</div>
</dd></dl><p>And indeed, even if the method appears, this is not working.</p></blockquote><div><br></div><div style>I have done a quick test in python and java and it seems to return just one (selected?) outputformatObj.</div>
<div style>Please open an issue.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p>Second, I can't get config option list without knowing the options. I can use getOption( name, value ) method but it suppose to know the config name.<br>

</p><p>Am I wrong somewhere? Do you know a method to get this information or do I need to fill a ticket?<br></p></blockquote><div><br></div><div style>Assuming you're referring to MS_IMAGEMODE_* the option name and values are present in the mapscript module. I am not sure there is a way to enumerate them.</div>
<div><br></div><div style>Open an issue for that too and I'll make sure to have a look at them.</div><div style><br></div><div style>Cheers,</div><div style>Umberto</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p></p>Thanks,<br clear="all"><div class="gmail_extra"><br>Y.<br>-- <br>

<p style="margin:0px;text-indent:0px">Responsable Formation et Support</p>
<p style="margin:0px;text-indent:0px">Camptocamp France SAS</p>
<p style="margin:0px;text-indent:0px">Savoie Technolac, BP 352</p>
<p style="margin:0px;text-indent:0px">73377 Le Bourget du Lac, Cedex</p>

<p style="margin:0px;text-indent:0px">Tel (France) : <a href="tel:%2B33%204%2079%2026%2057%2098" value="+33479265798" target="_blank">+33 4 79 26 57 98</a></p><p style="margin:0px;text-indent:0px">Tel (Suisse) : 02 16 190 10 43 (new)<br>
</p>

<p style="margin:0px;text-indent:0px">Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" value="+33618754221" target="_blank">+33 6 18 75 42 21</a></p>
<p style="margin:0px;text-indent:0px">Fax : 04 79 70 15 81</p>
<p style="margin:0px;text-indent:0px">Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a></p>
<p style="margin:0px;text-indent:0px"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></p><a href="mailto:yves.jacolin@camptocamp.com" target="_blank"></a><br>
</div>
<br>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br></blockquote></div><br></div></div></div>