Ticket #635 (new defect)

Opened 4 years ago

Last modified 4 years ago

BUG drawing ellipses

Reported by: bugzilla@meteologica.es Assigned to: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.2
Severity: normal Keywords:
Cc:

Description

It seems there is an error calculating ellipses center. It works fine drawing circles but 
fails with ellipses. It must be related with different x and y radius. 
 
You can test it with this map directives: 
 
	SIZEUNITS meters 
               CLASS 
                        SYMBOL "ellipse" 
                        COLOR        255 128 128 
                        OUTLINECOLOR 192 000 000 
			# 4000 x 3000 (width x height). 
                        SIZE         3000 
                        OVERLAYSYMBOL "cross" 
                        OVERLAYCOLOR 000 000 000 
                        OVERLAYSIZE  3000 
                END 
        END 
 
        SYMBOL 
                NAME 'ellipse' 
                TYPE ELLIPSE 
                FILLED TRUE 
                POINTS 4 2 END 
        END 
 
        SYMBOL 
                NAME "cross" 
                TYPE vector 
                POINTS 
                        1 0 
                        1 2 
                        -99 -99 
                        0 1 
                        2 1 
                END 
        END

Attachments

ellipsebug.png (1.3 kB) - added by bugzilla@meteologica.es on 04/28/04 11:05:17.
Example.Ellipse is not vertically well aligned.

Change History

04/28/04 11:05:17 changed by bugzilla@meteologica.es

  • attachment ellipsebug.png added.

Example.Ellipse is not vertically well aligned.

07/07/04 14:13:02 changed by bugzilla@meteologica.es

  • version changed from 4.0 to 4.2.
I have tested this bug on mapserver 4.2 with the same result.