Opened 10 years ago

Last modified 10 months ago

#618 new enhancement

Theming stylisation order isn't respected in a layer

Reported by: jnel Owned by:
Priority: medium Milestone: 3.3
Component: Rendering Service Version:
Severity: major Keywords:
Cc: External ID:

Description

At the moment you can set the display order for a layer but not within a layer e.g. a thematic.

Let's say there is a set of 20 busroutes, each indicated by different widths and colours. You can move the order in the legend up and down, but not the order of data display. The data is displayed in the order it comes out of the datasource, and you get random results. A thick line may overlay a thin line where there are shared busroutes. This means you have to set up 20 layers to get the desired results, cluttering up the user interface, and slowing down the system by doing 20 queries instead of 1 (significant when you have 200+ layers already)

Being able to manipulate the order of data display witin a thematic would be very powerful.

Attachments (1)

minor+raods+overlaping+main+roads.jpg (29.1 KB) - added by zspitzer 10 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by zspitzer

Summary: Display order in thematicsAdd ability to specify order by in layer definitions for thematic styling
Type: defectenhancement

I think this is a really good idea

FDO already supports ordering, http://fdo.osgeo.org/files/fdo/docs/FDO_API/df/d50/class_fdo_i_base_select.htm

It would require an additional parameter in LayerDefinition?

Changed 10 years ago by zspitzer

comment:2 Changed 10 years ago by zspitzer

Component: GeneralRendering Service
Priority: lowmedium
Severity: minormajor
Version: 2.0.12.0.2

This really affects what is possible with mapguide and the workaround is painful

comment:3 Changed 10 years ago by zspitzer

Summary: Add ability to specify order by in layer definitions for thematic stylingTheming stylisation order isn't respected in a layer

comment:4 Changed 10 years ago by tomfukushima

Check out the Rendering Pass concept in RFC 29. Is this what you are asking for?

comment:5 Changed 10 years ago by zspitzer

RFC 29 helps, but it becomes complex rather quickly.

Rather than resorting to manually editing the XML, ideally the theming order defined in studio should be respected, if not why is it there?

here is a test case purely authored in studio

http://ennoble.dreamhosters.com/tests/test-case%20618.mgp

comment:6 Changed 9 years ago by jbirch

Version: 2.0.2

I think there was some mailing list discussion of this... should this ticket be closed?

comment:7 Changed 6 years ago by jng

Milestone: 2.5

comment:8 Changed 6 years ago by jng

Milestone: 2.52.6

comment:9 Changed 10 months ago by jng

Milestone: 3.03.3

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.