Opened 17 years ago

Closed 13 years ago

#2289 closed enhancement (fixed)

Line Symbols and SIZEUNITS

Reported by: flavio Owned by: sdlime
Priority: normal Milestone: 6.0 release
Component: Renderer API Version: unspecified
Severity: normal Keywords:
Cc: tbonfort

Description

When using other units then pixels, such as SIZEUNITS METERS the values set for line symbols should use those units imho. This is not the case. In the example the "3" should then be 3 meters.

SYMBOL
NAME "dashed-line-short"

TYPE ELLIPSE
FILLED TRUE
POINTS 1 1 END
STYLE 3 3 END

END

Change History (8)

comment:1 by sdlime, 17 years ago

Flavio: What does the layer look like that is using that symbol?

Steve

comment:2 by sdlime, 17 years ago

For clarification SIZEUNITS refer only to scaling of style properties (SIZE and WIDTH) I imagine, not to the properties within a symbol (e.g. GAP or STYLE/PATTERN). Is the thickness being scaled properly or are we talking GAP etc...

Steve

comment:3 by sdlime, 17 years ago

Milestone: 5.2 release

in reply to:  3 comment:4 by flavio, 17 years ago

Steve,
as follows:
STYLE 3 3 END
would means that if SIZEUNITS meters, the 3 3 would be meters
this as well for GAP.
SIZE would then be the thickness of the line(?)

in other words my target is to be able to define dashed lines with precise units (as well as symbols with precise gaps ...)

comment:5 by sdlime, 17 years ago

Cc: tbonfort added
Status: newassigned

The problem is that certain symbol parameters should really be out in style objects. STYLE (now called PATTERN), GAP, JOIN, CAP will all be moving (or at least available) in styleObj's in the 5.2 release. Then we well be able to consider size in non-pixel units more appropriately.

It's not a trivial change so it wouldn't be appropriate for 5.0.x...

Steve

comment:6 by sdlime, 16 years ago

Milestone: 5.2 release5.4 release

I'm not going to touch this until we move those types of parameters out into the styleObj's. That will happen by 5.4...

Steve

comment:7 by tbonfort, 15 years ago

Milestone: 5.4 release6.0 release

wont' happen until 6.0

comment:8 by tbonfort, 13 years ago

Component: MapServer C LibraryRenderer API
Resolution: fixed
Status: assignedclosed

SYMBOL->STYLE/PATTERN was moved out of SYMBOL and into CLASS->STYLE. Along with GAP, STYLE->PATTERN is now also scaled by the supplied scalefactor.

closing

Note: See TracTickets for help on using tickets.