Kristian,<br><br>Try setting GDAL_DRIVER_PATH using SetConfigOption to the path of the plugin directory.<br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2011/1/13 Frost89 <span dir="ltr"><<a href="mailto:kristian_frost7@hotmail.com">kristian_frost7@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p>I'm trying to show a ECW file in my application.<br>I have checked with <b>gdalinfo</b> that GDAL supports the ECW format, and it is able to read the file.<br>When using <b>shp2img</b> I'm able to create a image showing the ECW file.</p>
<p>But when I try using my app. which uses MapScript to create a WMS service I get a service exception saying:</p>
<code>msDrawMap(): Image handling error. Failed to draw layer named 'Ortofoto'.<br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image format<br>
drawEPP(): Image handling error. EPPL7 support is not available.</code>
<p>I'm using Tamas' SDK from <a href="http://vbkto.dyndns.org/sdk/" title="Link to prebuild SDK" rel="nofollow" link="external" target="_blank">vbkto.dyndns.org/sdk/</a> with the ECW plugin.</p>
<p>- Kristian Frost</p>
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Problem-with-ECW-files-tp5918048p5918048.html" target="_blank">Problem with ECW files</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html" target="_blank">Mapserver - User mailing list archive</a> at Nabble.com.<br>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>