Hello-<br>
<br>
I have an update for this problem with using external graphics for SLD requests.<br>
<br>
I attempted to use the SLD file at
<a href="http://www2.dmsolutions.ca/msapps/world_testdata/tests/sld_tests/sld_polygon_fill_symbol_external.xml">http://www2.dmsolutions.ca/msapps/world_testdata/tests/sld_tests/sld_polygon_fill_symbol_external.xml</a><br>

<br>
with the ms4w-Chameleon OGC sample application (which contains the
proper layer - WorldGen- for the SLD) and received the same error
messages that I've been receiving with my own application:<br>
<br>
<b>Warning</b>:  [MapServer Error]: loadSymbol(): Symbol of type PIXMAP has no image data.
 in <b>C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</b> on line <b>215</b><br>

<br>

<b>Warning</b>:  Failed to open map file /ms4w/tmp/sess_43264a06bd7bc/1126582974-2202.map in <b>C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</b> on line <b>215</b><br>


<br>

<b>Fatal error</b>:  Call to a member function on a non-object in <b>C:\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php</b> on line <b>150</b><br>
<br>
<br>
Could this be a bug??&nbsp; Could there be a problem with the way ms4w
is set up on our server (although we did nothing different this
time...)? Is there a copy of this same sample application available
through the MapServer website so that I could test the same application
on a different server (if so, I haven't been able to find it)?&nbsp;
This is a problem I just haven't made any headway on and any
suggestions would be greatly appreciated!<br>
<br>
Jennifer Zeisloft<br>
UW Sea Grant<br>
<br><br><div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">Jennifer Zeisloft</b> &lt;<a href="mailto:jzeisloft@gmail.com">jzeisloft@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi-<br>
<br>
I have created a temporary directory with all of the associated files:
the context file, the sld file, the temp map file, the temp image file,
and the wms map file.<br>
<a href="https://mywebspace.wisc.edu/jrzeisloft/web/temp/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://mywebspace.wisc.edu/jrzeisloft/web/temp/</a>&nbsp; <br>
<br>
I don't know that you'll need all of those, but I'm not really sure
where the problem is.&nbsp; Other (non-external) SLDs can be applied
without a problem.&nbsp; <br>
<br>
The application I am working on is located at
<a href="http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml</a>.&nbsp; The context I was
using to test the external graphic SLD is the Bluff Stability
context.&nbsp; The layer I was using is the Bluff Profiles layer.&nbsp;
The SLD I was trying to open is at&nbsp;
<a href="https://mywebspace.wisc.edu/jrzeisloft/web/temp/sld_symbol_external.xml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://mywebspace.wisc.edu/jrzeisloft/web/temp/sld_symbol_external.xml
</a>.<br>
<br>
I can't think of any other information to offer: I simply go to the
application, open the bluff stability context, select the bluff profile
layer (though I am not sure this is necessary), click the Open SLD tool
button, and browse to the SLD file.&nbsp; Then the error occurs.&nbsp; <br>
<br>
Thanks for your help!<br><span class="sg">
<br>
Jennifer Zeisloft</span><div><span class="e" id="q_10637b2a8bbca76e_2"><br><br><div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">Yewondwossen Assefa</b> &lt;<a href="mailto:assefa@dmsolutions.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
assefa@dmsolutions.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Not sure what the initial error is but you could check the map file<br>1126209374-4254.map and see if the inline symbols created reference an<br>existing png or gif file.<br><br>I would also be nice if you could provide a quick was (+ all realted
<br>files) to reproduce this bug. At this point I am not sure how to<br>reproduce it.<br><br>Later,<br><br>Jennifer Zeisloft wrote:<br>&gt; Hello All-<br>&gt;<br>&gt; I am starting to play with SLD and am attempting to use an external
<br>&gt; graphic to symbolize a point.&nbsp;&nbsp;I first tried it with my own external<br>&gt; graphic, but got the error message:<br>&gt;<br>&gt; *Warning*: [MapServer Error]: loadSymbol(): Symbol of type PIXMAP has no<br>&gt; image data. in
<br>&gt; *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*<br>&gt;<br>&gt; *Warning*: Failed to open map file<br>&gt; /ms4w/tmp/sess_4320970788d61/1126209374-4254.map in<br>&gt; *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*
<br>&gt;<br>&gt; *Fatal error*: Call to a member function on a non-object in<br>&gt; *C:\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php*<br>&gt; on line *150*<br>&gt;<br>&gt;<br>&gt; I then tried it with the sld_symbols_external.xml file from the SLD
<br>&gt; How-To document (I changed the layer name, of course) and received the<br>&gt; same error.&nbsp;&nbsp;I also tried using PNG instead of GIF - same error.&nbsp;&nbsp;Can<br>&gt; anyone offer a hint?&nbsp;&nbsp;Thanks in advance for your help!
<br>
&gt;<br>&gt; Jennifer Zeisloft<br>&gt; UW Sea Grant<br><br>--<br>----------------------------------------------------------------<br>Assefa Yewondwossen<br>Software Analyst<br><br>Email: <a href="mailto:assefa@dmsolutions.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

assefa@dmsolutions.ca</a><br><a href="http://www.dmsolutions.ca/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.dmsolutions.ca/</a><br><br>Phone: (613) 565-5056 (ext 14)<br>Fax:&nbsp;&nbsp; (613) 565-0925
<br>----------------------------------------------------------------
<br><br></blockquote></div><br>

</span></div></blockquote></div><br>