Yes, use png - jpg doesn't support transparency afaik. Not sure about tiff and gif is pretty much useless.
Thanks, Alex On 11/23/2011 12:34 AM, Lars Burman wrote: > Hi Alex, > > If I remove the scale setting it does not change anything. This is > something that really makes my brain hurt =). > > I wonder if the WMS-call must include something like &TRANSPARENCY=true? Do > I have to use a certain image-format? > > All these questions =) > > //Lars > > 2011/11/23 Alex Mandel <[email protected]> > >> On 11/22/2011 07:13 AM, Lars Burman wrote: >>> Hello! >>> >>> I have made an WMS-service using ArcGIS-server. It is 4 layers, 3 with >>> polygons and every layer has a certain color, the 4th layer is labels for >>> the polygons. >>> >>> With the service I made an .SLD file becuase I wanted to pick certain >>> colors and I wanted transparency for the polygons and I wanted to decided >>> on what scale to show the labels. I want it to be 1:500 000 and closer. >>> >>> Everything works fine, I can consume the service in Qgis 1.7.1, I can see >>> the layers and labels, and they have the colors I wanted. But two things >> do >>> not work, the transparency and the set scale. This however works if I >>> consume the service in ArcMap. >>> >>> *I guess my question is, does QGis support the ArcGIS .SLD?* >>> >>> This is my code, under the element <rule> - <PolygonSymbolizer> - <Fill> >>> <sld:CssParameter name="fill">#D23262</sld:CssParameter> >>> <sld:CssParameter name="fill-opacity">0.5</sld:CssParameter> >>> >>> <MinScaleDenominator>0</MinScaleDenominator> >>> <MaxScaleDenominator>1000000</MaxScaleDenominator> >>> >>> Any idéas? >>> >>> Thanks! >>> >>> Regards, Lars >>> >>> >> >> Good question, I have transparency working fine on my WMS layers but I'm >> serving them from Geoserver. I wonder what the difference is? Although >> I'm not doing scale dependent rendering either. >> >> What happens if you just apply transparency at all scales? Does that >> work? Do other examples of scale dependent rendering work for things >> other than transparency? >> >> Thanks, >> Alex _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
