Opened 13 years ago

Last modified 13 years ago

#3706 new enhancement

improve loading of qml to load source layer

Reported by: dncpax Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Map Legend Version:
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no


This is an improvement to allow QGIS to load pre-symbolized layers, in one step, data source and symbology. This is different (better) from what is available today: load layer, apply .qml, or load layer with .qml with the same name in a particular folder.

This would ideally work with 2 new options in the layer context menu, like "save styled layer" and "load styled layer", that would save and load a layer as is in the project.

Advantages to the present capability:

i) we can have a single data source with several .qml allowing multiple representations of the same data, prepared and made available to users in an organization by a GIS team

ii) user don't need to know about data structure, this is in fact abstracted. Users work with "themed data", like population by county, or income by county, regardless if the data comes from a shapefile or PostGIS

iii) this will allow a GIS dept. in an organization to prepare a shared folder with a set of layers that the users can load, in fact creating a standard for their GIS, regarding the data used, and the symbology applied.

This is common practice in other GIS software, like ArcGIS (.lyr files) and AutoCAD Map (don't know the file extension).

As it stands now, using QGIS a user has to i) know which data to load; ii) know which attribute holds the needed data; iii) know how to symbolize the layer. And the reusability of this work is very limited (to a project?).

The ability to automatically apply a .qml that has the same name as the the data source has several limitations: i)it works based on a a single PC configuration, depending on the user; ii) it is limited to 1 .qml per data source; iii) it is difficult to scale to several users in a managed context.


Change History (2)

comment:1 by lutra, 13 years ago

Hi Duarte, let's come to the dev meeting in Lisbon to propose and hack this enhancement! ;)


in reply to:  1 comment:2 by dncpax, 13 years ago

I'll do all I can to be there! Hoping one of the gurus will pick this up!


Replying to lutra:

Hi Duarte, let's come to the dev meeting in Lisbon to propose and hack this enhancement! ;)


Note: See TracTickets for help on using tickets.