Opened 16 years ago
Closed 16 years ago
#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
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
As Thomas said, this is a support request and not a bug (yet). Since there was no follow up let's close for now.
Steve
circle layers are only drawn if each shape contains exactly one line with exactly two points. if this isn't the case the shape is silently dropped. is this your case?
by the way, could you use the mapserver users mailing list for these kinds of problems, and only resort to this bugtracker once you're pretty sure the error is not on your side. plus you'll get many more eyes and faster responses on the mailing list.
thanks, tb