[mapserver-users] question

thomas bonfort thomas.bonfort at gmail.com
Tue Dec 30 05:55:14 PST 2008


you've probably left an ANGLE in your style block, no ?

On Tue, Dec 30, 2008 at 14:51, Valeria Muñoz <valemunoz at gmail.com> wrote:
> thank thomas, but now i have other problem, the arrow don't follow the line
> can you help me please?
> attach image of the map..
> 2008/12/30 thomas bonfort <thomas.bonfort at gmail.com>
>>
>> hi,
>> add
>> GAP -20
>> to your symbol definition, for a 20 pixel gap between arrows
>>
>> regards,
>> thomas
>>
>> On Tue, Dec 30, 2008 at 14:03, Valeria Muñoz <valemunoz at gmail.com> wrote:
>> > Hi
>> > I have problems with symbol, this is my code:
>> >
>> > #Oneway nivel 4
>> > LAYER
>> >   NAME 'calle'
>> >   MAXSCALE 5000
>> >   TYPE LINE
>> >   DATA 'calle.shp'
>> >   METADATA
>> >     'wms_title' 'calle'
>> >   END
>> >   STATUS DEFAULT
>> >   TRANSPARENCY 80
>> >   PROJECTION
>> >   'proj=longlat'
>> >   'ellps=WGS84'
>> >   'datum=WGS84'
>> >   'no_defs'
>> >   ''
>> >   END
>> >   CLASS
>> >    EXPRESSION  ('[HWYLEVEL]' = '4' and '[ONEWAY]'='0')
>> >      STYLE
>> >         SYMBOL 'flecha_ambos'
>> >          SIZE 4
>> >          #ANGLE 190
>> >          #OUTLINECOLOR 161 189 196
>> >          #COLOR 0 0 0
>> >        END
>> >      END
>> >
>> > SYMBOL 'flecha_ambos' is a PNG image, my problem is that the image
>> > appears
>> > throughout the line. if i change the type of layer to POINT, the image
>> > don't
>> > follow the line.
>> > attach image of the map..
>> >
>> > can somebody help me please.
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>> >
>
>



More information about the MapServer-users mailing list