Ticket #2374 (closed defect: invalid)
Cannot draw a circle with TYPE CIRCLE
| Reported by: | terraserver | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0.3 release |
| Component: | MapServer CGI | Version: | 5.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Sorry about yesterdays confusion in advance.
Trying to draw a circle using 2 points stored saved as geometry in PostGreSQL database and it is not working.
Using TYPE CIRCLE gives nothing, but changing to TYPE LINE gives a line so we do know it's stored correctly in the database.
What does this not work?
LAYER
NAME 'drawtest' STATUS DEFAULT DEBUG ON
TYPE CIRCLE
#TYPE LINE
CONNECTIONTYPE POSTGIS CONNECTION "dbname=project1 user=A password= host=localhost port=5432"
DATA "geom from (select geom, atrb_linestyle, atrb_linewidth,
atrb_linecolor from ts_drawings_test where drawing_id = %drwl%) as myquery using unique geom using SRID=4269"
CLASS
NAME test
STYLE
COLOR 255 0 0
END #STYLE
END # CLASS
END # LAYER
