[mapserver-dev] labeling weirdness in trunk
bartvde at osgis.nl
bartvde at osgis.nl
Fri Dec 11 09:44:29 EST 2009
Hi Alan,
yes I would expect something like the 52 result.
I am using an SLD TextSymbolizer, there is no LABEL definition in my MAP
file at all:
<sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld"
version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"><sld:NamedLayer><sld:Name>AAA64</sld:Name><sld:UserStyle><sld:Name>default</sld:Name><sld:FeatureTypeStyle><sld:Rule><sld:Name>default</sld:Name><sld:TextSymbolizer><sld:Label><ogc:PropertyName
xmlns:ogc="http://www.opengis.net/ogc">xxx</ogc:PropertyName></sld:Label><sld:Font><sld:CssParameter
name="font-family">Arial</sld:CssParameter><sld:CssParameter
name="font-size">10</sld:CssParameter></sld:Font><sld:Fill><sld:CssParameter
name="fill">#000000</sld:CssParameter></sld:Fill></sld:TextSymbolizer></sld:Rule></sld:FeatureTypeStyle></sld:UserStyle></sld:NamedLayer></sld:StyledLayerDescriptor>
Best regards,
Bart
> Is the mapserv-52.png image supposed to be the expected result ? What's
> you
> ANGLE setting for those labels ?
>
> Alan
>
> On December 11, 2009 09:25:55 am bartvde at osgis.nl wrote:
>> Hi Steve,
>>
>> attached the trunk situation with lines (roads in green). In
>> labeling.jpg.
>>
>> Btw, the change from 5.2 is also very strange, why are the labels not
>> straight anymore but using an angle? I am using an SLD TextSymbolizer.
>> Also the font size seems to have changed somehow from 5.2.
>>
>> Best regards,
>> Bart
>>
>> > I don't think there have been changes in the labeling code. The
>> placement
>> > seems identical otherwise. I
>> > can't tell where the North Sea is, but I'm assuming the N207 and N677
>> > labels are in it. Since those don't
>> > show up at all in the 5.6 image where are they supposed to be? Would
>> be
>> > helpful to see the line work the
>> > labeling is based upon in the images.
>> >
>> > Steve
>> > ________________________________________
>> > From: mapserver-dev-bounces at lists.osgeo.org
>> > [mapserver-dev-bounces at lists.osgeo.org] On Behalf Of bartvde at osgis.nl
>> > [bartvde at osgis.nl]
>> > Sent: Friday, December 11, 2009 3:17 AM
>> > To: mapserver-dev at lists.osgeo.org
>> > Subject: [mapserver-dev] labeling weirdness in trunk
>> >
>> > Hi list,
>> >
>> > we are experiencing some labeling weirdness (labels of roads in the
>> North
>> > Sea :-) ) in trunk compared to the 5.6 release.
>> >
>> > Any idea what is causing this?
>> >
>> > Best regards,
>> > Bart
>>
>
> --
> Alan Boudreault
> Mapgears
> http://www.mapgears.com
>
More information about the mapserver-dev
mailing list