Feature request #1167

SLD support in conjunction with WMS

Added by Horst Düster almost 9 years ago. Updated 23 days ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/WMS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

It would be very helpful and very nice to have the option to define a SLD-URL in conjunction with WMS connection info.

sldpatch.patch Magnifier - Patch to add sld support for wms layers (26 KB) Redmine Admin, 07/22/2009 01:31 PM

sldpatch_18_08_09.patch Magnifier - Patch with python bindings updated (75.5 KB) Redmine Admin, 08/17/2009 06:43 PM

History

#1 Updated by frdcn - over 8 years ago

It would nice to have support for sld_body, this way styling for wms layers could be made directly in qgis using the style editor and eliminating the requirement to store the style file in a public visible ip address.

#2 Updated by springmeyer - almost 8 years ago

See also: #1726

#3 Updated by Redmine Admin almost 8 years ago

  • Status changed from Open to In Progress

#4 Updated by Tim Sutton almost 8 years ago

Got this when trying to build your patch against .

sipcoreQgsRasterLayer.cpp: In function ‘PyObject* meth_QgsRasterLayer_setDataProvider(PyObject*, PyObject*)’:
sipcoreQgsRasterLayer.cpp:1794: error: no matching function for call to ‘QgsRasterLayer::setDataProvider(const QString&, const QStringList&, const QStringList&, const QString&, const QString&)’
/home/timlinux/dev/cpp/qgis/src/core/raster/qgsrasterlayer.h:374: note: candidates are: void QgsRasterLayer::setDataProvider(const QString&, const QStringList&, const QStringList&, const QString&, const QString&, const QString&, const QString&)
maker3: * [sipcoreQgsRasterLayer.o] Error 1
maker2:
[python/core/core.so] Error 2
maker1: *
* [python/CMakeFiles/python.dir/all] Error 2

Regards

Tim

#5 Updated by Redmine Admin almost 8 years ago

Sorry, I didn't build with python and didn't update the bindings, I will fix this and upload a new patch.

Regards
Godofredo Contreras

#6 Updated by Paolo Cavallini about 6 years ago

Any reason not to apply this to 1.8?

#7 Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#8 Updated by Giovanni Manghi about 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#9 Updated by Paolo Cavallini over 4 years ago

  • Pull Request or Patch supplied set to No
  • Assignee changed from Redmine Admin to Giuseppe Sucameli

#10 Updated by Giuseppe Sucameli over 4 years ago

  • Status changed from In Progress to Open
  • Assignee deleted (Giuseppe Sucameli)
  • Priority changed from Low to Normal

Support for sld_body is still missing.

There was a lot of changes to providers classes from the day the attached patches was written, it's unlikely that they can still be applied.

#11 Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#12 Updated by Giovanni Manghi 23 days ago

  • Easy fix? set to No

Also available in: Atom PDF