Opened 13 years ago

Closed 13 years ago

#3801 closed defect (wontfix)

LINECAP triangle does not work

Reported by: havatv Owned by: tbonfort
Priority: normal Milestone: 6.0 release
Component: Renderer API Version: svn-trunk (development)
Severity: normal Keywords: linecap, triangle, rendering
Cc: havatv

Description

LAYER-> CLASS-> STYLE-> LINECAP triangle does not seem to work for lines using outputformat png or pdf in r11451. All the other LINECAP types (butt, round, square) seem to work.

      STYLE
        COLOR 0 0 0
        LINECAP triangle
        WIDTH 17.2
      END # STYLE

Change History (6)

comment:1 by tbonfort, 13 years ago

Component: AGGRenderer API

Triangle linecaps are supported by neither cairo nor agg.

This should be documented in the migration guide, and the keyword should be removed from the lexer.

A workaround for people using trinagle linecaps might be to use GEOMTRANSFORM START/END with a triangle symbol, over LINECAP BUTT lines?

comment:2 by tbonfort, 13 years ago

Milestone: 6.0 release

comment:3 by havatv, 13 years ago

OK. I have removed triangle from the available LINECAP types in the mapfile style documentation (r11515).

comment:4 by havatv, 13 years ago

Here is output from SVN diff that contains a possible update to the migration guide:

$ svn diff mapserver/MIGRATION_GUIDE.txt 
Index: mapserver/MIGRATION_GUIDE.txt
===================================================================
--- mapserver/MIGRATION_GUIDE.txt       (revisjon 11515)
+++ mapserver/MIGRATION_GUIDE.txt       (arbeidskopi)
@@ -95,6 +95,12 @@
 
 The SYMBOL TYPE cartoline has been removed.
 
+LINECAP triangle is not supported by AGG or Cairo, and is no longer
+available.  The triangle line end effect can be achieved using
+GEOMTRANSFORM start and end with a (filled) vector triangle symbol and
+ANGLE AUTO.  This will only work for the line ends, and not for
+dashes.
+
 -----------
 CGI Changes
 -----------

in reply to:  4 comment:5 by tbonfort, 13 years ago

Replying to havatv:

Here is output from SVN diff that contains a possible update to the migration guide:

$ svn diff mapserver/MIGRATION_GUIDE.txt 
Index: mapserver/MIGRATION_GUIDE.txt
===================================================================
--- mapserver/MIGRATION_GUIDE.txt       (revisjon 11515)
+++ mapserver/MIGRATION_GUIDE.txt       (arbeidskopi)
@@ -95,6 +95,12 @@
 
 The SYMBOL TYPE cartoline has been removed.
 
+LINECAP triangle is not supported by AGG or Cairo, and is no longer
+available.  The triangle line end effect can be achieved using
+GEOMTRANSFORM start and end with a (filled) vector triangle symbol and
+ANGLE AUTO.  This will only work for the line ends, and not for
+dashes.
+
 -----------
 CGI Changes
 -----------

committed in r11518, thanks havard

comment:6 by tbonfort, 13 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.