Ticket #499 (closed defect: duplicate)

Opened 10 years ago

Last modified 10 years ago

Can't have a layer with LABEL but no STYLE component.

Reported by: jlacroix Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: 4.0
Severity: normal Keywords:
Cc:

Description

 

Change History

Changed 10 years ago by jlacroix

  • owner changed from sdlime to morissette@…
This problem occurs on both mapscript and CGI (mapserver 4.0).

I have a test mapfile with only one layer in it. This layer contains a CLASS,
with a LABEL, but no STYLE components. When I try to draw the map, the cgi
returns a blank page and mapscript return false when calling draw(). In both
cases, no error message are processed. 

A turn around is to put an empty STYLE object or the parameter "COLOR -1 -1 -1"
in the CLASS.

Changed 10 years ago by sdlime

  • status changed from new to assigned
Hmmm... Easy enough to reproduce. I thought there were 2 default styles (they 
map to the base and overlay symbols in older versions), but perhaps they're 
only created as needed.

Changed 10 years ago by dmorissette

  • cc mapserver-bugs@… added
  • owner changed from morissette@… to sdlime
  • status changed from assigned to new
Reassigned to Steve

Changed 10 years ago by dmorissette

  • status changed from new to assigned

Changed 10 years ago by sdlime

  • status changed from assigned to closed
  • resolution set to duplicate

*** This bug has been marked as a duplicate of 495 ***
Note: See TracTickets for help on using tickets.