Questions tagged [layer]

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

If the question relates to Geographic Information Systems, consider whether the question is better suited to the GIS Stack Exchange.

2129 questions
0
votes
1 answer

Delete layer mask with actiondescriptor

I've been trying to figure out how I can disable or delete the layer mask from a layer. I know theres a way using the actiondescriptor using 'RmvL' but I also had no luck with that so far. Im using the app.activeDocument.paste(true) (true, because…
T1k33y
  • 17
  • 6
0
votes
1 answer

Cocos2d Displaying a Layer Issue

I'm trying to display a pause game layer from the applicationDidEnterBackground: method and for some reason it does call the method but nothing happens. Delegate - (void)applicationDidEnterBackground:(UIApplication*)application { ship =…
jkigel
  • 1,592
  • 6
  • 28
  • 49
0
votes
1 answer

Getting class error while using Keras.layers.Add()

I am trying to add two layers each of size (None, 24, 24, 8) but getting the class error as below: Code: x = add([layers[i-1],layers[i-9]]) or x =…
runner
  • 15
  • 2
0
votes
1 answer

How to place text object successfully under an image/polygon object with jsxgraph 0.99.7?

I would like to simply place a text object under an image object I created using jsxgraph. Tried setting for the text object layer:2 and the image object layer:7. Tried setting board.options.layer.text=2, then created the text object, then set…
nicole
  • 1
  • 1
0
votes
1 answer

UILabel - custom borders on rounded corners left, top and right

I am looking at adding borders top left and top right on UILabels. What working solution is best ? I have tried : func draw(_ rect: CGRect) { let cgContext = UIGraphicsGetCurrentContext() cgContext?.move(to: CGPoint(x: rect.minX,…
sandra oo
  • 91
  • 1
  • 14
0
votes
1 answer

How to run different formula on different layers in R

I downloaded worlclim/BIO climatic data which has 16 layers. 1-11 layers of which are temperature data. Rests are precipitation data. When I checked document, I should convert unit of temperature data by different conversion factors. 1-2,4-11 layers…
R starter
  • 197
  • 12
0
votes
1 answer

layer mark in layer control

I have three base layers in a layer group var baseLayers = {"Straßenkarte": osmLayer, "Luftbild": bingLayer, "Luftbild mit Straßennamen": bingLabelLayer}; makes my control. After L.control.layers(baseLayers).addTo(map) the last layer metioned there…
wonk
  • 21
  • 5
0
votes
2 answers

Business Logic Layer expose in WCF Service

We have already Business logic layer available in our application. It has lots of classes. and this is in separate library(.Dll). Now we want to use this in to our WCF Service. For that We create new project and gave reference to that .Dll. But we…
jk.
  • 83
  • 4
  • 12
0
votes
1 answer

layer hide when type password

I put this layer on all pages on my website(layout) and I want to hide this layer when user type password(hello) using cookie. I tried to mix two sources but it doesn't work :( Can you guys help me? thanks :) --- HTML ---
wcodavid
  • 127
  • 1
  • 10
0
votes
1 answer

DataProvider Switch / Singleton ?

I have a website and want to step over from MySql to SqlServer. In my website I use a BE layer (Business Entities), BLL (Business Logic Layer), DAL (Data Access Layer), and of course a Web Layer (Website) I've created a switch in the web.config…
Ruutert
  • 395
  • 1
  • 7
  • 18
0
votes
1 answer

Proper use of tf.layers.MaxPooling

I'm building a model in Tensorflow using tf.layers objects. When I run the following code using tf.layers.MaxPooling2D my model does not reduce in size. I've only recently switched from using Keras to Tensorflow directly so I presume I'm…
Taylor Childers
  • 363
  • 1
  • 6
  • 14
0
votes
0 answers

Custom layer in keras not doing anything

I am trying to make a layer which flips an image in the horizontal axis and then adds this image to the batch dimension. The code is as follows: class FlipLayer(keras.layers.Layer): def __init__(self, input_layer): super(FlipLayer,…
D haverkamp
  • 41
  • 1
  • 7
0
votes
0 answers

Render GUI above omxplayer on Raspberry Pi 3

currently I am trying to show my own UI and a third party virtual keyboard above the video which is displayed by omxplayer. I am using a Raspberry Pi 3 (which is the reason for using omxplayer). I am starting omxplayer from command line. I found the…
DrEichenbach
  • 382
  • 1
  • 2
  • 13
0
votes
0 answers

How to build a very customerized layer in Keras for this purpose?

I have a high frequency time series data that I want to fit into a CNN network for identification work. However I need to decide which frequency I would want to look at, so a typical way to do it is : time_step = 10 A = cumsum(input_data) B = A[0 :…
Jack2019
  • 275
  • 2
  • 10
0
votes
0 answers

How to make an NSTextView layer backed?

How can you make an NSTextView layer backed? I know you can make an NSView layer backed by setting the NSView.wantsLayer property to true. When I do this on an NSTextView the text it normally displays is not visible. This is my swift (playground)…
Cam
  • 11
  • 2