Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] [jira] Created: (UDIG-416) Styles scaled with map scale?

On Apr 2, 2005 11:24 AM, Matthias basler (JIRA) <jira@xxxxxxxxxxxx> wrote:
> Styles scaled with map scale?
> -----------------------------
> 
>          Key: UDIG-416
>          URL: http://jira.codehaus.org/browse/UDIG-416
>      Project: uDIG
>         Type: Improvement
>   Components: style
>     Versions: UDIG 1.0.RC
>  Environment: WinXP_SP2
>     Reporter: Matthias basler
>  Assigned to: Justin Deoliveira
>     Priority: Minor
> 
> I styled the rivers example shape file with a border (width 2) and fill color.
> When zooming in and out I find that the rendered border width does not change.
> When I zoom out quite a bit the whole rivers are shown as border only because
> their "interiour to edge ratio" becomes quite small.
> 
> This is a general issue: Should the border width (and icon size, text size etc) be scaled according to zoom level or not?
> 
> Pro:
> - A user of analogous maps would expect that the overall maplayout does not change, no matter what zoom level is chosen. That is, a river with a border of ~1/10th of the line width is pained this way on all scales. This is relevant for printing!
> 
> Contra:
> - The OGC SLD probably (I don't know!) handles styles as scale-independent - so "2 points" is always the same width, no matter what scale is chosen.

Infact SLD allows you to specify diferent styles depending on scale.

> - Additional UI logic would be needed to allow to set a line width etc. according to the scale.
> - Text would get very small and unreadable when zooming out.
> 
> What's your opinion?

The main problem with symbology changing size with scale is that at
extremes of zoom in either direction you either lose stuff as it gets
too small to see or too large to see anything else.

However the SLD revision working group is meeting this week and is
going to consider allowing a flag to specify is a width/size is in map
or screen units.

Ian 
--
Ian Turton
http://www.geotools.org
http://www.ccg.leeds.ac.uk


Back to the top