[mapserver-users] Fwd: Wrong/different legend generation

Dejan Gambin dejan.gambin at coin.hr
Fri Apr 4 04:07:41 PDT 2014


I believe I didn't send the answer to the list. So, yes it works in this case. Is it then a bug and should I report it?

On 31. ožu. 2014., at 23:53, Lime, Steve D (MNIT) wrote:

> What happens if you comment out the resolution value and use the default?
>  
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Dejan Gambin
> Sent: Monday, March 31, 2014 4:12 AM
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] Fwd: Wrong/different legend generation
>  
> Here it is:
>  
> Solid layer example:
>  
>   CLASS
>     Name 'Golf, sport and recreation'
>     EXPRESSION ('[namjena_oz]' eq 'R' OR '[namjena_oz]' eq 'R1' OR '[namjena_oz]' eq 'R2' OR '[namjena_oz]' eq 'Rt' OR '[namjena_oz]' eq 'PN+R' OR '[namjena_oz]' eq 'R2/R6')    
>     COLOR 0 255 0
>     OUTLINECOLOR 0 0 0
>   END
>  
>  
> Line layer example
>  
>   CLASS
>     Name 'City'
>     STYLE
>       COLOR 250 0 0
>       WIDTH 3
>     END
>   END
>  
>  
> But this all doesn't seem to be the problem as it happens on all possible layers. Decreasing font size helps in a way the legend text is smaller but it still "doesn't fit". Take a look on attached picture (font size 6 and 8, text is cut)
>  
> I have resolution explicitly set to 96.
>  
>  
> <image001.png>
>  
> On 30. ožu. 2014., at 19:06, Lime, Steve D (MNIT) wrote:
> 
> 
> Certainly looks like a bug but it would help to see the layer defs for one of the solid fills layers and one of the line layers. Are you setting map resolution explicitly? --Steve
>  
> From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Dejan Gambin [dejan.gambin at coin.hr]
> Sent: Friday, March 28, 2014 5:10 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Fwd: Wrong/different legend generation
> 
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140404/e81af759/attachment-0001.html>


More information about the mapserver-users mailing list