[mapserver-users] symbol problem
thomas bonfort
thomas.bonfort at gmail.com
Mon Feb 9 09:48:26 PST 2009
upgrading to 5.2.x should fix this.
I'm surprised you're having this problem again as you posted the same
message in december and noted that you had solved the problem.
regards,
--
thomas
On Mon, Feb 9, 2009 at 18:34, Valeria Muñoz <valemunoz at gmail.com> wrote:
> mapserver version is 5.0.2 .
>
> RG
>
> 2009/2/9 Fawcett, David <David.Fawcett at state.mn.us>
>>
>> Valeria,
>>
>> It would be useful if you provided more information. What version of
>> MapServer are you using? What were you expecting to see?
>> Because you are setting your symbol angle to 0, I am guessing that you
>> want all of the arrows to point to the top of the map.
>>
>> I am aware of a bug in AGG rendering where TrueType symbols are not
>> corrrectly rotated (fixed in trunk), but I haven't seen a problem with
>> pixmap symbols.
>>
>> In the symbol block of your layer, try commenting out the SIZE property.
>> I think that you really just want your pixmap symbol to be displayed in its
>> native size.
>>
>> Also, in your symbol definition at the end of your map file, try changing
>> the value of GAP from -50 to 50.
>>
>> David.
>>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Valeria Muñoz
>> Sent: Monday, February 09, 2009 6:39 AM
>> To: mapserver-users
>> Subject: [mapserver-users] symbol problem
>>
>> Hi
>> I have problems with displaying symbols,I can not give the correct
>> orientation-... do you know why does not work with this configuration?
>> attached image of my problem
>>
>> OUTPUTFORMAT
>> NAME png
>> DRIVER "AGG/PNG"
>> MIMETYPE "image/png"
>> IMAGEMODE RGB #RGBA transparente
>> EXTENSION "png"
>> FORMATOPTION "TRANSPARENT=OFF"
>> FORMATOPTION "INTERLACE=ON"
>> END
>> LAYER
>> NAME 'calle'
>> MAXSCALE 5000
>> TYPE LINE
>> DATA 'calle.shp'
>> METADATA
>> 'wms_title' 'calle'
>> END
>> STATUS DEFAULT
>> TRANSPARENCY 100
>> PROJECTION
>> 'proj=longlat'
>> 'ellps=WGS84'
>> 'datum=WGS84'
>> 'no_defs'
>> ''
>> END
>> #LABELITEM 'ONEWAY'
>> CLASS
>> EXPRESSION ('[HWYLEVEL]' = '4' and '[ONEWAY]'='0')
>>
>> #TEXT (<->)
>> #NAME 'calle'
>> STYLE
>> SYMBOL 'flecha_ambos'
>> SIZE 13
>> ANGLE 0
>> #OUTLINECOLOR 161 189 196
>> #COLOR 0 0 0
>> END
>> LABEL
>> TYPE truetype
>> FONT 'georgia'
>> SIZE 6
>> ANTIALIAS TRUE
>> COLOR 156 0 0
>> ANGLE FOLLOW
>> #MINDISTANCE -1
>> #MINFEATURESIZE -1
>> OFFSET 5 0
>> FORCE FALSE
>> POSITION CC
>> BUFFER 10
>> PARTIALS FALSE
>> END
>> END
>> END
>>
>>
>> SYMBOL
>> NAME "flecha_ambos"
>> TYPE PIXMAP
>> IMAGE
>> "C:/ms4w/Apache/htdocs/mapFile/mapas/etc/icons/arrow_left_right.png"
>> GAP -50
>> END
>>
>>
>> RG
>
> _______________________________________________
> 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