I'm using qgis Brighton  I have a dataset of 1500 points. I want to create polygons, where each polygon contains n=3 points from the dataset.  The aim of this is to have clusters of 3 points, which can be used for analysis, qua I can't show information on point level.  I have tried using heatmaps, but I'm not sure if this is the right tool for this analysis.  Here's a picture of my dataset.    Now, I want to create clusters of 3 points like this:   (Sorry for the amateur cutting)  I want to this, so I can make analysis of the clusters (with 3 points) e.g. energy demand, house characteristics, socioeconomics and so on.
Given a large (~ 1 million) sample of unevenly distributed points - is it possible to generate irregular grid (in size, but could also be irregular in shape if that is possible?) that will contain specified minimum amount of n points?   It is of less importance for me if genereted 'cells' of such grid contain exactly n number of points or at least n points.  I'm aware of solutions like  in ArcGIS or  in QGIS/mmgis however they will all create regular grids which will result in an output with empty cells (smaller problem - I could simply discard them) or cells with count of points less than n (bigger problem since I'd need a solution to aggregate those cells, probably using some tools from ?).  I've been googling around to no avail and am open to both commercial (ArcGIS &amp; extensions) or free (Python, PostGIS, R) solutions.
Find all Quotient (or Factor) Groups of $D_4$ (Dihedral Group of order $8$) I need to be able to find all of the quotient groups for dihedral group 4 with $D_4 = \{ e,R,R^2,R^3,V,H,D,D'\}$. I know I have to start by finding the normal subgroups, which are $\{e,R^2\}$ $\{e,R,R^2,R^3\}$ $\{e,R^2,V,H\}$ $\{e,R^2,D,D'\}$. Then I need to find the sets defined by $G/H=\{ aH : a \in G\}$ with operation $aH  bH = abH$. I am stuck here; could someone please show me how to find all of the factor groups for D4? What is it used for and why  doesn't it equal $\log{x^2}$? Is there an idiom that means "revealing a secret unintentionally"? I am thinking there could be an idiom that states that you or someone revealed a secret unintentionally? Can you think of an idiom like that? I am looking for an idiom I can use to write a blog post about the recent incident where Secretary Pompeo unintentionally revealed the dirty secrets behind the CIA. Migrate to *any* site? How do I display the nth result of an ls command? I used this command to display the first result of files in my directory.    ls | head -n 1   My simple question is, how can I modify this command to display say the nth result?  Thanks! How do I upgrade to a newer version of Ubuntu? What are the different ways I can use to upgrade Ubuntu from one release to another? Do I need a Japanese transit visa when arriving at Narita and departing from Haneda? Let's say I am missing my novel and I think that my friend might have taken it after I left the place.  1: By the time I left my apartment, my friend was still there, so he might have taken it. 2:When I left the apartment, my friend was still there, so he might have taken it.  I know what 2nd expression means, but not so sure about the first expression. Does it convey the same meaning as the 2nd expression? I'm using NetBeans, trying to change the familiar Java coffee cup icon to a png file that I have saved in a resources directory in the jar file.  I've found many different web pages that claim they have a solution, but so far none of them work.  Here's what I have at the moment (leaving out the try-catch block):  URL url = new URL("com/xyz/resources/camera.png"); Toolkit kit = Toolkit.getDefaultToolkit(); Image img = kit.createImage(url); getFrame().setIconImage(img);   The class that contains this code is in the com.xyz package, if that makes any difference.  That class also extends JFrame.  This code is throwing a MalformedUrlException on the first line.  Anyone have a solution that works? What does "--" (double-dash) mean? I have seen -- used in the compgen command.  For example:  compgen -W "foo bar baz" -- b   What is the meaning of the -- in there? Where can I safely store my stuff? I'd like to find a place to store stuff while I'm out adventuring, without spending 5000 on a house (at least, until I can afford that...). Where can I safely store items without worrying about them disappearing?   There are two possible places that come to mind,  (to which I have the key and was told I could stay), and the small bedroom given to me at the  (which I was told was mine, despite seeing J'zaro sitting in it later). Can I store items safely in either of these places? Find $a$ such that $(x+a)(x+1991)+1=(x+b)(x+c)$ with $a,b,c\in\Bbb Z$ Find all integer values of $a$ such that the quadratic expression $(x+a)(x+1991)+1$ can be factored as a product $(x+b)(x+c)$ where b and c are integers.   I tried to do it by comparing the two expressions but I can't proceed. How do I execute a string containing Python code in Python? Rerender funnel highcharts with new data Is it possible to redirect connections to a specific IP/port to an external IP/port?  Example:   Server A has the external IP xxx.xxx.xxx.xxx Server B has the external IP yyy.yyy.yyy.yyy User sends a request to server A on port 2106, I want to redirect it to server B at port 2106. Let $S$ be the set of $3 \times 3$ matrices $\rm A$ with integer entries such that $$\rm AA^{\top} = I_3$$ What is $|S|$ (cardinality of $S$)?   The answer is supposed to be 48. Here is my proof and I wish to know if it is correct.  So, I am going to exploit the fact that the matrix A in a set will be orthognal, so if the matrix is of the form \begin{bmatrix}         a_{11} &amp; a_{12} &amp; a_{13} \\         a_{21} &amp; a_{22} &amp; a_{23} \\         a_{31} &amp; a_{32} &amp; a_{33} \\         \end{bmatrix}  Then each column and row will have exactly one non-zero element which will be +1 or -1. Thus, I have split possibilities for the first column into three cases and counted the possibilities in each case as follows :- $$a_{11} \neq 0$$ or $$ a_{21} \neq 0$$ or $$ a_{31} \neq 0$$  In case 1), we obviously have two possibilities(+1 or -1) so we consider the one where the entry is +1. Now, notice that the moment we choose the next non-zero entry, all the places for non-zero entries will be decided because of the rule 'each column and row will have exactly one non-zero element'. Meaning, if b and c are remaining two non-zero entries, we only have two possibilities left  \begin{bmatrix}         1 &amp; 0 &amp; 0 \\         0 &amp; b &amp; 0 \\         0 &amp; 0 &amp; c \\         \end{bmatrix}  or  \begin{bmatrix}         1 &amp; 0 &amp; 0 \\         0 &amp; 0 &amp; c \\         0 &amp; b &amp; 0 \\         \end{bmatrix}  Using the fact that b and c are simply $$\pm1$$  In each of the above matrices, we get 4 possibilities for each of the matricies. Thus, 8 possibilities in totality. Basically, we are getting 8 possibilities on the assumption that  $$a_{11} = 1$$  Thus, we get 16 possibilities on the case that $$a_{11} \neq 0$$  Following, the second and third cases analogously, we get a total of 16 possibilities in each of them and 48 possibilities in total.    Source :- Tata Institute of Fundamental Research Graduate School Admissions 2016 Can I nohup/screen an already-started process? What is the idiom for "as anyone can see" or "clearly"? I keep wanting to say "the handwriting on the wall," but that's not correct. The place I'm trying to use it is, "Alice likes Bob, Carol likes Bob, Alice thinks Bob likes her, but Bob dates Carol, and so as anyone can see, Bob did not like Alice."  What is the appropriate idiom here? Flows/Processes, Version Control and CI I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration (which I don't yet... but am trying to work in that direction). The underlying challenge is that each time a process or flow is edited, the metadata file is renamed to reflect its update version, e.g. MyFlow-1.flow, MyFlow-2.flow, etc. The Challenge for Version Control If each version of the flow has its own file name, this makes it more complicated to track changes to flows.  It seems like there could be two strategies here:  Rename the files to remove the version number.  I'd need a script to run through my src folder pre-commit, and remove the number so that my file name is always MyFlow.flow.  This is an annoying extra step, but makes version control simpler.  On the other hand, it probably makes deployment much harder.  Track each file in version control with its original name.  We'd need to be diligent about deleting MyFlow-1 in the commit where we add MyFlow-2 so that git would recognize this as a rename/move and show helpful diffs.  Otherwise, the whole file appears to change with every change, which makes version control rather less useful.   The Challenge for Deployment/Continuous Integration From my experiments so far, once a flow has been activated in a given environment, the metadata file can't be deployed again (either it is currently active, or has been active in the past and superseded). That means that I need to prevent my previous flow versions from being included in a deployment package (either by not tracking them at all, or by using a script to delete earlier versions).  I also need some way to determine whether the current version (in my repo) should be included in the deployment payload for a given environment or not. I could imagine a script that (1) downloads flows from the target environment, and removes *.flow files from the payload if they already exist in the target environment, but that feels complicated.  And it's even harder if I've removed the version numbers from my flow files. Are you using flows in VS or CI?  How are you managing these issues? Note:  I'm not sure whether VC and CI should be one question or two - depends on how integrated the strategy for dealing with these two challenges.  If you think these should be separate questions, comment and I'll re-post. is incompatible with the enumerate and itemize environments. Is there a typographical reason not to wrap a list around a figure or is it a technical limitation of LaTeX? If it is a technical limitation, is there any work (new packages or changes to LaTeX) currently being done to eliminate the limitation in the future?  Edit: To respond to some of the comments: I realize that there are "gymnastics" which can make this work. I do not have an example of the problem. Whenever I run into a problem with wrapfig because it is near an enumerate or itemize environment, I search for an easy solution, find none, and move the figure elsewhere. In the vast majority of cases, the cost of learning the complex solutions isn't worth the benefit of keeping the figure where I want it.