Opened 12 years ago

Last modified 12 years ago

#4213 assigned defect

ANGLE / GEOMTRANSFORM conflict

Reported by: guillaume Owned by: tbonfort
Priority: normal Milestone:
Component: MapServer CGI Version: 6.0
Severity: normal Keywords: STYLE SYMBOL GEOMTRANSFORM
Cc:

Description

Usage of geomtransform changes the way ANGLE is interpretated for a symbol on a linestring. Use case 1:

ANGLE 0 # ANGLE AUTO gives the same result
SYMBOL "arrow"

==> Arrows are aligned with the lines (see picture1.png)

Use case 2:

ANGLE 0
SYMBOL "arrow"
GEOMTRANSFORM "start"

==> Arrows are flat (see picture2.png)

Use case 3:

ANGLE AUTO
SYMBOL "arrow"
GEOMTRANSFORM "start"

==> Arrows are aligned with the lines (see picture3.png)

IMHO, the use case 1 is a defect. ANGLE 0 should not produce aligned symbols.

Attachments (4)

picture1.png (124.8 KB ) - added by guillaume 12 years ago.
picture2.png (178.0 KB ) - added by guillaume 12 years ago.
picture3.png (153.2 KB ) - added by guillaume 12 years ago.
sens_uniques_layer.txt (1.3 KB ) - added by guillaume 12 years ago.
symbol and layer definitions

Download all attachments as: .zip

Change History (8)

by guillaume, 12 years ago

Attachment: picture1.png added

by guillaume, 12 years ago

Attachment: picture2.png added

by guillaume, 12 years ago

Attachment: picture3.png added

comment:1 by tbonfort, 12 years ago

you have not posted your full mapfile. Case 1 happens if you have set a negative gap in the accompanying style

in reply to:  1 ; comment:2 by guillaume, 12 years ago

Replying to tbonfort:

you have not posted your full mapfile. Case 1 happens if you have set a negative gap in the accompanying style

The full map file is 3000 lines long. The STYLE block is complete. What else do you need ? There is no GAP is my STYLE definition.

in reply to:  2 comment:3 by tbonfort, 12 years ago

Replying to guillaume:

Replying to tbonfort:

you have not posted your full mapfile. Case 1 happens if you have set a negative gap in the accompanying style

The full map file is 3000 lines long. The STYLE block is complete. What else do you need ? There is no GAP is my STYLE definition.

the full layer definition, and the definition of your arrow symbol

by guillaume, 12 years ago

Attachment: sens_uniques_layer.txt added

symbol and layer definitions

comment:4 by tbonfort, 12 years ago

Owner: changed from sdlime to tbonfort
Status: newassigned
Note: See TracTickets for help on using tickets.