Hi users, i have a big problem with symbols in my AVL webmapping system. the system always show the same symbol....<br><br><a href="http://200.11.84.234/tmp/1164503361121091.gif" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://200.11.84.234/tmp/1164503361121091.gif
</a><br><br><br><span style="font-weight: bold;">I have a symbol file called symbols.sym, like in GMAP, and the following symbols defined (arrow angles)</span><br style="font-weight: bold;"><br>#1<br>SYMBOL<br> NAME "1"
<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/0.gif"<br> TRANSPARENT 3<br>END<br><br>#2<br>SYMBOL<br> NAME "2"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/15.gif"<br> TRANSPARENT 3<br>
END
<br><br>#3<br>SYMBOL <br> NAME "3"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/30.gif"<br> TRANSPARENT 3<br>END<br><br>#4<br>SYMBOL<br> NAME "4"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/45.gif"
<br> TRANSPARENT 3<br>END<br><br>#5<br>SYMBOL<br> NAME "5"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/60.gif"<br> TRANSPARENT 3<br>END<br><br>#6<br>SYMBOL<br> NAME "6"<br> TYPE PIXMAP
<br> IMAGE "../htdocs/images/75.gif"<br> TRANSPARENT 3<br>END<br><br>#7<br>SYMBOL<br> NAME "7"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/90.gif"<br> TRANSPARENT 3<br>END<br><br>#8<br>
SYMBOL<br> NAME "8"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/105.gif"<br> TRANSPARENT 3<br>END<br><br>#9<br>SYMBOL<br> NAME "9"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/120.gif"
<br> TRANSPARENT 3<br>END<br><br>#10<br>SYMBOL<br> NAME "10"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/135.gif"<br> TRANSPARENT 3<br>END<br><br>#11<br>SYMBOL<br> NAME "11"<br> TYPE PIXMAP
<br> IMAGE "../htdocs/images/150.gif"<br> TRANSPARENT 3<br>END<br><br>#12<br>SYMBOL<br> NAME "12"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/165.gif"<br> TRANSPARENT 3<br>END<br><br>#13
<br>SYMBOL<br> NAME "13"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/180.gif"<br> TRANSPARENT 3<br>END<br><br>#14<br>SYMBOL<br> NAME "14"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/195.gif"
<br> TRANSPARENT 3<br>END<br><br>#15<br>SYMBOL<br> NAME "15"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/210.gif"<br> TRANSPARENT 3<br>END<br><br>#16<br>SYMBOL<br> NAME "16"<br> TYPE PIXMAP
<br> IMAGE "../htdocs/images/225.gif"<br> TRANSPARENT 3<br>END<br><br>#17<br>SYMBOL<br> NAME "17"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/240.gif"<br> TRANSPARENT 3<br>END<br><br>#18
<br>SYMBOL<br> NAME "18"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/255.gif"<br> TRANSPARENT 3<br>END<br><br>#19<br>SYMBOL<br> NAME "19"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/270.gif"
<br> TRANSPARENT 3<br>END<br><br>#20<br>SYMBOL<br> NAME "20"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/285.gif"<br> TRANSPARENT 3<br>END<br><br>#21<br>SYMBOL<br> NAME "21"<br> TYPE PIXMAP
<br> IMAGE "../htdocs/images/300.gif"<br> TRANSPARENT 3<br>END<br><br>#22<br>SYMBOL<br> NAME "22"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/315.gif"<br> TRANSPARENT 3<br>END<br><br>#23
<br>SYMBOL<br> NAME "23"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/330.gif"<br> TRANSPARENT 3<br>END<br><br>#24<br>SYMBOL<br> NAME "24"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/345.gif"
<br> TRANSPARENT 3<br>END<br><br>#25<br>SYMBOL<br> NAME "25"<br> TYPE PIXMAP<br> IMAGE "../htdocs/images/360.gif"<br> TRANSPARENT 3<br>END<br><br><br>and
i have dumped de mapObj in a map file, in order to check the different
symbol id's for each style symbol , and the layer that has the symbols
in this map file (
test.map) is shown as follows:<br><br>LAYER<br> CLASSITEM "id_pos"<br> CONNECTION "user=postgres password=2wsdfsw234rfwersw2efr4 dbname=localiza_dev host=<a href="http://10.0.0.200/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
10.0.0.200</a>"
<br> CONNECTIONTYPE POSTGIS<br> DATA "the_geom from (SELECT
client_avlsrv.id AS id_pos, adm_vehiculos.id_vehiculo AS id_vehiculo,
client_avlsrv.id_avl AS id_avl, adm_empresa_cliente.id_cliente AS
id_cliente, pos_utm AS the_geom, client_avlsrv.t AS fecha_hora, vel,
ang, nombres, apellidos, marca, patente, tipo_vehiculo,
substring(nombres from 0 for position(' ' in (nombres || ' '))) || ' '
|| substring(apellidos from 0 for position(' ' in (apellidos || ' ')))
as nombre_apellido FROM ((((client_avlsrv JOIN adm_conductores ON
(client_avlsrv.id_conductor = adm_conductores.id_conductor)) JOIN
adm_avls ON (adm_avls.id_avl = client_avlsrv.id_avl)) JOIN
adm_empresa_cliente ON (adm_empresa_cliente.id_cliente =
adm_conductores.id_cliente)) JOIN adm_vehiculos ON
(adm_vehiculos.id_avl = adm_avls.id_avl)) WHERE client_avlsrv.id IN
(12998,12997,12995,12993,12992) ORDER BY client_avlsrv.id DESC ) AS foo
using srid=32719 using unique id_pos"
<br> LABELITEM "patente"<br> METADATA<br> END<br> NAME "Movil localiza"<br> SIZEUNITS PIXELS<br> STATUS ON<br> TEMPLATE "query.php"<br> TOLERANCEUNITS PIXELS<br> TYPE POINT
<br> UNITS METERS<br> CLASS<br> NAME "Movil Patente 0"<br> LABEL<br> ANGLE 0.000000<br> ANTIALIAS TRUE<br> FONT "sans"<br> MAXSIZE 5<br> MINSIZE 5<br>
SIZE 2<br> TYPE TRUETYPE<br> BUFFER 2<br> COLOR 0 0 0<br> FORCE TRUE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> OUTLINECOLOR 255 255 255<br>
PARTIALS TRUE<br> POSITION UC<br> END<br> METADATA<br> END<br> STYLE<br> ANGLE 360<br> BACKGROUNDCOLOR 255 0 0<br> COLOR 255 0 0<br> OUTLINECOLOR 0 0 255<br>
SIZE 25
<br> SYMBOL 19<br> END<br> TEMPLATE "query.html"<br> END<br> CLASS<br> NAME "Movil Patente 1"<br> LABEL<br> ANGLE 0.000000<br> ANTIALIAS TRUE<br> FONT "sans"
<br> MAXSIZE 5<br> MINSIZE 5<br> SIZE 2<br> TYPE TRUETYPE<br> BUFFER 2<br> COLOR 0 0 0<br> FORCE TRUE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0
<br> OUTLINECOLOR 255 255 255<br> PARTIALS TRUE<br> POSITION UC<br> END<br> METADATA<br> END<br> STYLE<br> ANGLE 360<br> BACKGROUNDCOLOR 255 0 0<br> COLOR 255 0 0
<br> OUTLINECOLOR 0 0 255<br> SIZE 25<br> SYMBOL 2<br> END<br> TEMPLATE "query.html"<br> END<br> CLASS<br> NAME "Movil Patente 2"<br> LABEL<br> ANGLE
0.000000<br> ANTIALIAS TRUE<br> FONT "sans"<br> MAXSIZE 5<br> MINSIZE 5<br> SIZE 2<br> TYPE TRUETYPE<br> BUFFER 2<br> COLOR 0 0 0<br> FORCE TRUE<br>
MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> OUTLINECOLOR 255 255 255<br> PARTIALS TRUE<br> POSITION UC<br> END<br> METADATA<br> END<br> STYLE<br>
ANGLE 360
<br> BACKGROUNDCOLOR 255 0 0<br> COLOR 255 0 0<br> OUTLINECOLOR 0 0 255<br> SIZE 25<br> SYMBOL 2<br> END<br> TEMPLATE "query.html"<br> END<br> CLASS<br> NAME "Movil Patente 3"
<br> LABEL<br> ANGLE 0.000000<br> ANTIALIAS TRUE<br> FONT "sans"<br> MAXSIZE 5<br> MINSIZE 5<br> SIZE 2<br> TYPE TRUETYPE<br> BUFFER 2<br> COLOR 0 0 0
<br> FORCE TRUE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> OUTLINECOLOR 255 255 255<br> PARTIALS TRUE<br> POSITION UC<br> END<br> METADATA<br> END
<br> STYLE<br> ANGLE 360<br> BACKGROUNDCOLOR 255 0 0<br> COLOR 255 0 0<br> OUTLINECOLOR 0 0 255<br> SIZE 25<br> SYMBOL 17<br> END<br> TEMPLATE "query.html"
<br> END<br> CLASS<br> NAME "Movil Patente 4"<br> LABEL<br> ANGLE 0.000000<br> ANTIALIAS TRUE<br> FONT "sans"<br> MAXSIZE 5<br> MINSIZE 5<br> SIZE 2
<br> TYPE TRUETYPE<br> BUFFER 2<br> COLOR 0 0 0<br> FORCE TRUE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> OUTLINECOLOR 255 255 255<br> PARTIALS TRUE
<br> POSITION UC<br> END<br> METADATA<br> END<br> STYLE<br> ANGLE 360<br> BACKGROUNDCOLOR 255 0 0<br> COLOR 255 0 0<br> OUTLINECOLOR 0 0 255<br> SIZE 25<br> SYMBOL 23
<br> END<br> TEMPLATE "query.html"<br> END<br> END<br><br>i don't know what's wrong..<br><br>Can anybody help me ??<br><br><br>Regards<br><br><br clear="all"><br>-- <br>René F. Viáncos S.<br>Director
<br>Centro de Computación<br>e Informática, CICULS<br>Universidad de la Serena<br>Tel (56-51) 204269<br><a href="mailto:rviancos@userena.cl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rviancos@userena.cl
</a><br><a href="http://www.userena.cl/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.userena.cl</a><br>