Questions tagged [opacity]

The condition of lacking transparency or translucence; opaqueness.

Filter by
Sorted by
Tagged with
4
votes
2answers
57 views

Change Opacity of Style

Is there any convenient way to change the opacity of a ol.style.Fill or ol.style.Stroke Object? As far as I understand it, there are 2 ways to define a color with an opacity. fill.color = [255,0,0,...
2
votes
2answers
23 views

Borders appear when reducing the global opacity of multiple raster images in QGIS 3.2.3

I want to reduce the opacity of multiple raster images and when I use the global opacity slider to do so, black borders appear between my images. I would want to eliminate these borders.
0
votes
1answer
296 views

Opacity Transition Mapbox Fade In

I am facing a problem using the 'fill-opacity-transition' in Mapbox GL JS. Maybe someone has an idea what the mistake could be? <!DOCTYPE html> <html> <head> <...
0
votes
0answers
146 views

Transparent color settings in ArcMap?

I would like to know are there any (relatively) easy options to adjust color transparency (alpha value) in ArcMap (any version, any license)? I think that's easy to do in ArcGIS Pro because, as you ...
1
vote
2answers
583 views

Creating opacity mask in Google Earth Engine?

I have an NDSI snow layer loaded in Google Earth Engine. Since snow is present for values <0.4, I want to make values >0.4 opaque. I looked at the manual's examples, but this code is not giving me ...
0
votes
0answers
126 views

Is a TIFF with a 1-byte/px band and RGBA(?) palette and a 1-byte/px Alpha band valid?

I have a process (see how to preserve color-interpretation when merging TIFFs and adding alpha band) which produces a TIFFs (download example image1 17.6 MB) with the following gdalinfo output: ...
0
votes
1answer
31 views

Carto builder, opacity is set at 0 but publishing at 1

I'm working on a Carto map for a client, so I set up a new Carto account for them today. I'm building it in Carto Builder, using the GUI. (For this job, I need to just use the GUI, not get into ...
3
votes
1answer
2k views

How to add layer opacity slider in Openlayers 4 and qgis2web

I am using qgis2web to publish a webmap, and then modifying the code to add features that I want. I am now adding a Tiled image from imagescale folders (e.g. \15 \16 \17 \18 and so forth). Using the ...
1
vote
1answer
59 views

Want L.OpacityControls to activate after selecting an overlayLayer

Edited to show working code. Although not working 100% and it involves some ugly workarounds which I assume are fixable. Original problem: I'm using L.control.layers to display a selection of layers. ...
1
vote
0answers
130 views

Create a slide to control opacity for layers [closed]

I am starting with my programming skills. I m self learning so I am stuck in this point I am trying to create a web map where charge few different layers (wms) but I would like to give functionality ...
0
votes
2answers
1k views

Link Leaflet opacity slider to uppermost layer

From the Leaflet.OpacityControls plugin, you can add an opacity slider to a tiled layer by: var opacitySlider = new L.Control.opacitySlider(); map.addControl(opacitySlider); opacitySlider....
0
votes
1answer
451 views

Changing opacity of map outside feature in OpenLayers 3?

I want to change opacity of map outside feature (which is closed polygon) in OpenLayers 3. Is it possible?
1
vote
2answers
6k views

Leaflet - Opacity method for L.tileLayer.wms?

I want to use opacity on one of my WMS layers in Leaflet. The documentation has an opacity option for L.tileLayer but not explicitly for L.tileLayer.wms, I only see a transparent option (not supported ...
1
vote
1answer
1k views

Set background color and opacity for a WKT layer vector in OpenLayers3

I have this function: function drawLayer(wktRegion, name,colour = "transparent"){ var format = new ol.format.WKT(); var feature = format.readFeature(wktRegion); feature.getGeometry()...
3
votes
0answers
211 views

How to increase Compression Memory for ECW Opacity Builder

I am attempting to build opacity within an ECW file using ECW_Opacity_Builder.exe from APOLLO Essential Utilities 2014, which has worked flawlessly many times before. When attempting to build opacity ...
0
votes
1answer
232 views

OpenLayers Get Opacity

I understand how to set opactity to a map layer in OSM but how do you get the opacity? Perhaps something like layer.getOpacity() OpenLayers.Util.getElement('opacity').value = layer.??? I have ...
4
votes
1answer
890 views

How to set opacity with gdal_rasterize

I am using gdal_rasterize to create a raster of a huge file containing polygons. I managed to generate the raster file with the right color and with the minimum size to tile it after with the ...
3
votes
2answers
10k views

how to create translucent objects in KML?

I've been able to create a KML file that shows a circle on my (Google Earth) map. Now I would like to have a translucent fill on the circle. I'm new to KML, so I'm learning by trial-and-error with ...
2
votes
1answer
83 views

Why QGIS 2.12 “forgets” selection colour opacity settings?

I have few vector layers which I need to edit frequently. I'd like to be able to see through the layer when it's selected. I changed selection colour from both: Project Properties General settings and ...
2
votes
1answer
3k views

Leaflet Opacity Control Using Slider For Bootstrap

I am attempting to use the Slider For Bootstrap to update the opacity of a layer within Leaflet. The slider also needs to be in a Bootstrap Popup but this part is working. As per this JSFiddle you ...
5
votes
1answer
6k views

SLD fill-opacity not having any effect

I am attempting to draw a WMS layer consisting of multiple polygons of different colours and an opacity of 0.4. The relevant part of my SLD is <PolygonSymbolizer> <Fill> ...
0
votes
1answer
855 views

Applying partial opacity in WMS layer using OpenLayers?

I am working on a GIS API, and I can't share the code, so I will try to explain what I want. I want to apply a style map on a single layer, where I have some elements with opacity 1 and others with ...
5
votes
2answers
5k views

Load or display differents geojson data on zoom level for leaflet maps

I have a map with 3 levels of information. The first is the country, the second the state and the last one the cities. I wonder know if it's possible to use the zoom value in order to display the ...
3
votes
2answers
2k views

OpenLayers - cannot set layer opacity

I have the following problem: by default, you can simply change the opacity of layer by writing for example: layer.setOpacity(0.3); But when I add it to my map SelectFeature controls, my layer is ...
6
votes
2answers
12k views

Make Leaflet Map Background Transparent

How can i make the background of the leaflet map transparent. I see opacity controls from the layers, but not the map background. Should the be changed just with plain CSS? Thanks