Opened 13 years ago

#3970 new defect

KML fails to render raster layer

Reported by: davide85 Owned by: assefa
Priority: normal Milestone: 6.0.1 release
Component: Output-KML Version: 6.0
Severity: normal Keywords:
Cc:

Description

Each class expression, after the first class, of a raster layer defined in the map file is always evaluated as false. As a result the classes after the first are displayed with the same style as the first. If I add the following block inside the mapparser.c after the yyreduce label, then also the classes (after the first) of raster files are correctly included in KML outputs and rendered as expected.

if(yyvsp[(1) - (3)].dblval == -1)
{
  yyvsp[(1) - (3)].dblval = strtod(p->shape->values[0], NULL);
}

The Mapserver developers need to add this patch on the mapparser.c to adjust the output or better identify the cause of this mulfuctioning of the mapserver executable and put the right adjustments.

Change History (0)

Note: See TracTickets for help on using tickets.