3

I've added OS Landform Parorama information in to QGIS 1.8, i've like to use the OS Layer Styles that are freely downloadable (http://www.ordnancesurvey.co.uk/business-and-government/help-and-support/products/styled-layer-descriptors.html) and come in .sld format.

When i try to load the .sld file through the properties> load styles, the only option i have is to load a .qml file which doesn't appear to be supported.

Is there something i can do to actually load the styles as required?

QGIS Screen Dump

Nope, only the one option is available for me.

If as Dan says the QGIS styles are currently being worked on then i guess i'll just have to wait!

1
  • The SLD's as they stand can't be used in QGIS. There is a way to edit these so that QGIS can read them, unfortunately I don't know how to do this (sorry!!). Hopefully somebody else on here does. However, I do know that QGIS specific style files (.qml) are being worked on and will be released as soon as they are ready.
    – Dan_h_b
    Commented Jan 13, 2014 at 16:45

1 Answer 1

1

In the official QGIS 1.8.0 Lisboa, if you try to load a style file through Layer Properties > Load Styles..., the "Load layer properties from style file" dialog will be open: enter image description here

As you can see you have two options (not one):

  • the first is QGIS Layer Style File (*.qml)
  • and the second is SLD File (*.sld).

After choosing your sld and pressing Open button, the dialog will dissapear. Just press Apply button in the previous Layer Properties window and the style will be applied to your layer as expected: enter image description here

Your problem is specific to an older QGIS version. Don't wait, just go to gqis.org and update your software version!

Below, there are some screenshots, to be a reference for you, in case you'll decide to install another QGIS version.
enter image description here enter image description here enter image description here

1
  • 1
    It is also possible with QGIS 2 to load sld and save as qml if you can't update (must use) the version you have. You definitely can have more versions of QGIS on your pc if it is needed.
    – Miro
    Commented Jan 15, 2014 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.