symbol question

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Aug 5 10:09:59 EDT 2004


Hi,

Thanks. Your tip got it working.

Here's the solution for the record.

SYMBOL
  NAME "fence"
  TYPE truetype
  FONT "monospace"
  CHARACTER "X"
  GAP 10
END

  CLASS
    EXPRESSION /8192|8191|8190/
    NAME "fence"
    STYLE
      SYMBOL "circle"
      COLOR 0 0 0
      SIZE 1
    END
    OVERLAYSYMBOL 'fence'
    OVERLAYCOLOR 0 0 0
    OVERLAYSIZE 10
  END

Best regards,
Bart

> If I understand correct what he wants is to draw a line with the symbol.
> In that case you have to use a overlay of 2 symbols.
> Search the archive or the wiki for a railway lines examples.
>
>
> LALO
>
> El jue, 05-08-2004 a las 09:39, Emil Zegers escribió:
>> Hello Javier,
>>
>> I've included an image to show how it looks on my machine.
>>
>> I'm working with MapServer 4.2.
>>
>> I don't know from what version up symbols with -99 -99 coding are
>> supported but I suppose you have an older version?
>>
>> Probably updating MapServer will fix it.
>>
>> Here the layer definition I use with the "hek" symbol:
>>
>> LAYER
>>   NAME ACN
>>   METADATA
>>     "wms_title"    "ACN"
>>   END
>>   PROJECTION
>>     "init=epsg:28992"
>>   END
>>   TYPE POINT
>>   STATUS ON
>>   MAXSCALE 25000
>>   DATA "acn"
>>   CLASS
>>     SIZE 8
>>     SYMBOL "hek"
>>     NAME 'ACN'
>>     COLOR 255  0
>>   END  # CLASS
>> END  # LAYER
>>
>> Regards,
>>
>> Emil Zegers
>>
>>
>> >>> Javier Castillejo Montes <jcastil1 at tragsa.es> 08/05/04 02:25pm >>>
>>
>>
>> -----Mensaje original-----
>> De: Javier Castillejo Montes
>> Enviado el: jueves, 05 de agosto de 2004 14:25
>> Para: 'UMN MapServer Users List'
>> Asunto: RE: [UMN_MAPSERVER-USERS] symbol question
>>
>>
>> Hi Emil
>>
>> I tried your simbol, but how can i do to show one simbol after other, i
>> mean, instead on have the simbol X--X--X--X  (more or less is the
>> simbol,
>> isn't it? :-)   What I get is in each piont of the line a simbols is
>> drawn
>> so it does not appear as a simbol, just a line a bit bigger that if I
>> don't
>> use the simbol
>>
>>
>> Below is the result i had!!
>>
>> any ideas?
>>
>>
>> ______________________________________________________
>>
>>  This message has been checked for all known viruses
>> ______________________________________________________
> --
> Eduardo Spremolla <edspremolla at antel.com.uy>
> Antel I+D
>
>



More information about the mapserver-users mailing list