I've a polygon layer for parcels in a landscape protection area and a point layer, contains zoological data (e.g species, entities, etc.).  How can I make a statics for each polygon, contains the list of observed species, the count of observations by species and the sum of entities by species?  I would like to make it in QGIS with shapefiles or spatialite database.
I have a polygon shapefile of many lakes, I also have a point shapefile of locations on those lakes where fish were caught.  The point shapefile contains the attributes: Fisherman_iD, Fish_Caught, Lat, Long.  The polygon shapefile contains the attributes Lake_name, Points_per_polygon(PNTCNT)  Each point obviously has differing entries under the fish_caught field.   What I want to get is the average fish caught per lake (polygon).  So I need to have a total number of fish caught, per individual polygon, and then I can divide that by the PNTCNT file I create using the Points in a Polygon tool.  Ideas? I am relatively new to QGIS.
How to create posters using LaTeX I want to create posters for my poster presentation on a conference. What tools or LaTeX classes are available for preparing posters ? fitting a smaller range when we bought our house, it had a very used 40" gas range. now that range has died. replacing with a new 40" range is very pricey ($2k+), and our cooking needs don't justify the size anyhow.  i'm looking for ideas on how to fit a smaller range. i would imagine that extending the counter top and cabinets would be a pretty extensive change. we've found we can get a 36" range for around 1/2 the cost. would it be feasible to add some sort of storage along side the smaller range to fill in the space?  thanks. i know this is an open-ended question with no specific answer, i'm just looking for ideas. Remotely run script on Unix, get output locally? I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful.  Is this possible using ssh (putty)? Or by any other means?  Thanks! Identify this story about a quickly healing woman Years ago I read a short story about a woman trying to commit suicide. However, because she had a extremely high rate of healing, her wounds were never fatal. The story ends with her being in the morgue after her heart was taken out for transplantation. Before a new heart could grow she was incinerated. The person who received her heart received the quick healing as well.  Does anyone know this story? Generate a log of all the installs on a system (whether apt-get/yum/pip/npm/...) How to send text to Notepad in C#/Win32? I'm trying to use SendMessage to Notepad, so that I can insert written text without making Notepad the active window.  I have done something like this in the past using SendText, but that required giving Notepad focus.  Now, first I'm retrieving the Windows handle:  Process[] processes = Process.GetProcessesByName("notepad"); Console.WriteLine(processes[0].MainWindowHandle.ToString());   I've confirmed it's the right handle for Notepad, the same shown within Windows Task Manager.  [DllImport("User32.dll", EntryPoint = "SendMessage")] public static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);   From here, I haven't been able to get SendMessage to work in all my experimentation.  Am I going in the wrong direction? java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) Producing .bbl file with Lyx and JabRef How do I produce the .bbl file required for arXiv using JabRef for bibtex and Lyx? $\mathbb{R}$ \ $\mathbb{Q}$ and $\mathbb{R}^2\setminus\mathbb{Q}^2$ disconnected? If I want to prove that $\mathbb{R} \setminus \mathbb{Q}$ is disconnected, does it suffice to say that there are two open disjoint sets that cover $\mathbb{R}\setminus\mathbb{Q}$, namely:  $$(- \infty, 0), (0, \infty)\text{ ?}$$  Along the same lines, I want to prove or disprove that $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$ (points $(x, y) \in S$ that have at least one irrationais connected. I feel that it is also disconnected; does it suffice to say that there are two open disjoint sets that cover $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$, namely $((- \infty, - \infty), (0, 0))$ and $((0, 0), (\infty, \infty))$? (Very iffy on my assertion and my notation, sorry.)  Thanks! Can Superman see through his eyelids? style=apa causes bibliography to fail The  mention that it is possible to add pie menus. But I'm not sure how to do it.  How could I convert the mesh select mode menu's appearance:    to this? "within 1 to 2 weeks" vs "in 1 or 2 weeks" How do I check where devices are mounted? What is the command that lets me see what and where devices are mounted?  I'm having trouble changing songs on my old iPod, and I have a feeling it's because of the mount point. Great Expectations [is written vs has been written] by Charles Dickens I had a grammar quiz at the university today.    One of the questions was:     "Great Expectations" ____ by Charles Dickens.      a) is written   b) has been written   c) was written    Undoubtedly, the c option isn't correct since the time (the publication date) isn't stated or implied.  I crossed the a option out because it is neither a general truth nor a law. It is not a well-known fact to use present simple here.  Finally, I have chosen b. I still have doubts if a is the only right option.   It is unclear to me. Could you clarify it? Any help would be appreciated. I see questions come up quite often that have this underlying issue, but they're all caught up in the particulars of a given feature or tool. Here's an attempt to create a canonical answer we can refer users to when this comes up - with lots of animated examples! :)    Let's say we're making a first-person camera. The basic idea is it should yaw to look left &amp; right, and pitch to look up &amp; down. So we write a bit of code like this (using Unity as an example):  void Update() {     float speed = lookSpeed * Time.deltaTime;      // Yaw around the y axis using the player's horizontal input.             transform.Rotate(0f, Input.GetAxis("Horizontal") * speed, 0f);      // Pitch around the x axis using the player's vertical input.     transform.Rotate(-Input.GetAxis("Vertical") * speed,  0f, 0f); }   or maybe  // Construct a quaternion or a matrix representing incremental camera rotation. Quaternion rotation = Quaternion.Euler(                         -Input.GetAxis("Vertical") * speed,                          Input.GetAxis("Horizontal") * speed,                          0);  // Fold this change into the camera's current rotation. transform.rotation *= rotation;   And it mostly works, but over time the view starts to get crooked. The camera seems to be turning on its roll axis (z) even though we only told it to rotate on the x and y!    This can also happen if we're trying to manipulate an object in front of the camera - say it's a globe we want to turn to look around:    The same problem - after a while the North pole starts to wander away to the left or right. We're giving input on two axes but we're getting this confusing rotation on a third. And it happens whether we apply all our rotations around the object's local axes or the world's global axes.  In many engines you'll also see this in the inspector - rotate the object in the world, and suddenly numbers change on an axis we didn't even touch!    So, is this an engine bug? How do we tell the program we don't want it adding extra rotation?  Does it have something to do with Euler angles? Should I use Quaternions or Rotation Matrices or Basis Vectors instead? Convince grep to output all lines, not just those with matches SharePoint Current User View using JavaScript My Arcpy code is not working in ArcMap 10.1 because an error with the last line:      Error 000824: The tool is not licensed.    I have all my extensions turned on, so I don't know why I would be getting this error. It seems I only need to import arcpy.sa.   Did I do this correctly, or are there other modules that should be imported for this code to work?  import arcpy, os, string, glob, sys from arcpy import env from arcpy.sa import *  env.workspace = r"C:\VMshared\small_example_valley8\SD2part" outFolder = r"C:/VMshared/small_example_valley8/SDpartINT/INT"  for rasterFile in arcpy.ListRasters("*.tif"):     oName, oExt = os.path.splitext(rasterFile + ".tif")     outRaster = os.path.join(outFolder, oName + ".tif")      arcpy.gp.Int_sa(rasterFile,outRaster) Where does TREE(n) sit on the Fast Growing Hierarchy?