Feature request #1167

SLD support in conjunction with WMS

Added by Horst Düster over 15 years ago. Updated almost 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/WMS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:11227

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, 2009-07-22 01:31 PM

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

History

#1 Updated by frdcn - over 15 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 15 years ago

See also: #1726

#3 Updated by Redmine Admin over 14 years ago

  • Status changed from Open to In Progress

#4 Updated by Tim Sutton over 14 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 over 14 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 almost 13 years ago

Any reason not to apply this to 1.8?

#7 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#8 Updated by Giovanni Manghi almost 12 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#9 Updated by Paolo Cavallini over 11 years ago

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

#10 Updated by Giuseppe Sucameli over 11 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 11 years ago

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

#12 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

#13 Updated by google flights almost 6 years ago

This way styling for was layers could be made directly in qgis using the style editor and eliminating the requirement to store the style file in a publicly visible IP address. Find cheap flights in seconds, explore destinations on a map, and sign up for fare alerts on https://bookgoogleflights.tumblr.com/

Also available in: Atom PDF