QGIS saving layer - layer

the following might be a stupid question, but given that I am new at this I just cannot seem to find an answer.
I have several selected feautures from different layers in QGIS Desktop 3.10.14 and would need to save these to a new layer. How can I do this?
Thank you in advance for your replies

Right-click on the layer->Export->Save Selected Features as

Related

Custom LoopBack Model with Created/Modified

It looks like the built in LoopBack models are baked with "create/modified" date fields. Is there an easy way to add this to "generated" models? I've been looking through the docs but can't find anything in the model docs- http://docs.strongloop.com/display/public/LB/Defining+models
Any suggestions?
I'm pretty sure this is what you are looking for: https://github.com/clarkbw/loopback-ds-timestamp-mixin
There is no built-in way ATM. I suggest using an operation hook mixed with new Date(). See http://docs.strongloop.com/display/public/LB/Operation+hooks#Operationhooks-beforesave.

Data flow visualisation

I'm searching for a program where I can visualize all my data flow. I've made a simple example:
Is there a way how I can visualize all the data. I've found examples of "Prefuse" and "Flare". But there's too much to add to the examples. Isn't there a nice program wich has it all?'
it's preffered when I can connect the data to a database. So the whole process will be automated.
it's preffered when I can collaps/uncollaps the systems and application flow(e.g. when I click on an application, the arrows appear).
I hope someone can help.
you can use Graphviz (http://www.graphviz.org/) for creating the vizualization.
for the database connection, you could use a programming language to generate the input to the graphviz program.
I had this same problematic and used a combination of SAS and Graphviz to solve it.
hope that helps.

excel: building timelines

does anyone know if there is an easy way to create timelines in excel? for example, i would enter data and information and that information would be built into a timeline graph? i am looking for a vba or other solution?
Does this example help?
http://www.vertex42.com/ExcelArticles/create-a-timeline.html

any Cocoa control code that I can use that acts as a patch bay?

I would like to make a patch bay type control... any source online that anyone knows of that I could work from?
Thanks
The closest thing I'm aware of is EFLaceView: http://www.cocoadev.com/index.pl?FlowChartView
Edit: EFLaceView seems to have disappeared, but I have a saved copy: EFLaceView
Edit: Version of EFLaceView on github, with more recent changes than link above.
Unless you can find someone online who is sharing exactly the kind of control you're looking for, you don't have any choice but to build this for yourself. For that, you need to understand Control and Cell Programming, Cocoa Drawing, and create your own custom view.

Create wmv-file from code?

I have a project where the requirements is that a end user will select a template, enter some information and then my program should create a wmv movie file that has the information entered encoded in the movie.
So from my perspective I would like to have a framework that allows me to add graphics and text to a movie. Something like this:
movie.addframes(framecount, templateimage)
movie.frame(x).drawtext(x,y,text,font,size,color)
movie.frame(x).drawRectangle(rect,color,bordersize)
movie.frame(x).drawImage(rect,borderstyle,bordersize, image,sizemode)
movie.save(filename,filetype)
Does this exists?
I have searched and only found information about ffmpeg that doesn't seem to do what I want.
I don't need it to be real-time encoding.
I don't care if the framework/library is expensive.
If there are information of how to do this with for example DirectX or DirectShow and pointing to real working vb.net examples, then ill be happy too. ;) (Believe me, I have tried to search and haven't found anything.)
I have not found any good information about how to use Windows Media Encoder for this, but It seems like Windows Media Encoder is the way to go if doing it myself..
you can use DirectShow, check Samples\Capture\CapWMV here