It doesn&#39;t seem to be working for me<br><br>I get the following error from apache:<br><br> [MapServer Error]: msAddImageSymbol(): Error opening image file /var/www/htdocs/maps/[symbol].<br><br>I am using the symbol as:<br>
<br>SYMBOL &quot;[symbol]&quot;<br><br>I also tried<br><br>SYMBOL [symbol]<br><br>neitehr works<br><br>Is this only possible with mapserver 5? I believe I am using 4.10<br><br>Thank you<br><br>-Adam<br><br><div class="gmail_quote">
On Wed, May 27, 2009 at 2:26 PM, Steve Lime <span dir="ltr">&lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can bind a style symbol to an attribute. The value needs to be the name of a<br>
system already loaded by MapServer or the name of a local image. You cannot<br>
reference a image url.<br>
<br>
Steve<br>
<br>
&gt;&gt;&gt; On 5/27/2009 at 12:26 PM, in message<br>
&lt;<a href="mailto:a3cc80ca0905271026p141e3f92mf817e0e596f74ec@mail.gmail.com">a3cc80ca0905271026p141e3f92mf817e0e596f74ec@mail.gmail.com</a>&gt;, Adam Eskreis<br>
<div><div></div><div class="h5">&lt;<a href="mailto:aeskreis@gmail.com">aeskreis@gmail.com</a>&gt; wrote:<br>
&gt; I am trying to create a layer that has a symbol, however, I want the symbol<br>
&gt; for each geometry to be based on a field from the database.  For instance, I<br>
&gt; am trying to make a layer that would look something like this:<br>
&gt;<br>
&gt; LAYER<br>
&gt;    GROUP symbol_layer<br>
&gt;    TYPE point<br>
&gt;    STATUS on<br>
&gt;    CONNECTIONTYPE postgis<br>
&gt;    CONNECTION &quot;&lt;connection string&gt;&quot;<br>
&gt;    DATA &quot;the_geom from (SELECT the_geom, symbol_img_url from foo) as foo<br>
&gt; using unique id using SRID=-1&quot;<br>
&gt;    CLASS<br>
&gt;       STYLE<br>
&gt;           SYMBOL &quot;[symbol_img_url]&quot;<br>
&gt;       END<br>
&gt;    END<br>
&gt;  END<br>
&gt;<br>
&gt; Is something like this possible?  If not, what part of the source would I<br>
&gt; have to edit in order to make it possible?<br>
&gt;<br>
&gt; Thank you<br>
&gt;<br>
&gt; -Adam<br>
<br>
</div></div></blockquote></div><br>