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/">https://mywebspace.wisc.edu/jrzeisloft/web/temp/</a> <br>
<br>
I don't know that you'll need all of those, but I'm not really sure
where the problem is. Other (non-external) SLDs can be applied
without a problem. <br>
<br>
The application I am working on is located at
<a href="http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml">http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml</a>. The context I was
using to test the external graphic SLD is the Bluff Stability
context. The layer I was using is the Bluff Profiles layer.
The SLD I was trying to open is at
<a href="https://mywebspace.wisc.edu/jrzeisloft/web/temp/sld_symbol_external.xml">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. Then the error occurs. <br>
<br>
Thanks for your help!<br>
<br>
Jennifer Zeisloft<br><br><div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">Yewondwossen Assefa</b> <<a href="mailto:assefa@dmsolutions.ca">assefa@dmsolutions.ca</a>> 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>> Hello All-<br>><br>> I am starting to play with SLD and am attempting to use an external
<br>> graphic to symbolize a point. I first tried it with my own external<br>> graphic, but got the error message:<br>><br>> *Warning*: [MapServer Error]: loadSymbol(): Symbol of type PIXMAP has no<br>> image data. in
<br>> *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*<br>><br>> *Warning*: Failed to open map file<br>> /ms4w/tmp/sess_4320970788d61/1126209374-4254.map in<br>> *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*
<br>><br>> *Fatal error*: Call to a member function on a non-object in<br>> *C:\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php*<br>> on line *150*<br>><br>><br>> I then tried it with the sld_symbols_external.xml file from the SLD
<br>> How-To document (I changed the layer name, of course) and received the<br>> same error. I also tried using PNG instead of GIF - same error. Can<br>> anyone offer a hint? Thanks in advance for your help!<br>
><br>> Jennifer Zeisloft<br>> UW Sea Grant<br><br>--<br>----------------------------------------------------------------<br>Assefa Yewondwossen<br>Software Analyst<br><br>Email: <a href="mailto:assefa@dmsolutions.ca">
assefa@dmsolutions.ca</a><br><a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a><br><br>Phone: (613) 565-5056 (ext 14)<br>Fax: (613) 565-0925<br>----------------------------------------------------------------
<br><br></blockquote></div><br>