I am having trouble getting .shp layers to "line up" on QGIS.  Now, I opened them both in ArcGIS and noted there that they had the same projection. I opened them up in a text editor, and just to be sure, copied the data from one .prj file into the other. Reopened them in Arc and had no problems whatsoever.  However in QGIS I can't get them to come into the same map. I've tried every combination of CRS / Layer menu options that I can think of, nothing seems to work.   They seem to have the same Projected Coordinate System, but different Geographic Coordinate Systems: this I assume from going to the full extent, and note that both layers are on the map but hundreds of KM apart.  I tried setting them to the same GCS in QGIS properties, but then they both vanished. ("Zoom to Layer didn't work, they were gone.)   Is there are process I should be following here?   If the data were corrupted, wouldn't duplicating the .prj data be enough to fix the problem? If it's a GCS issue, how do I change that?  Mostly I'm looking for a process I can apply every time I import data to QGIS so I'm guaranteed to work around any CRS issues.
I put 4 different layers into my ArcMap document, but only one of them will show up on the map! I should be seeing the other 3 layers as well. When I do a Zoom to layer, I can see one layer, but I cannot figure out how to make the other 3 show up at once on top of each other.  Before I opened ArcMap, I used ArcCatalog where I right-clicked 3/4 of the shapefiles and  clicked Properties &rarr; Coordinate system &rarr; Import and then clicked on my Trees layer, which has the coordinate system I want the other 3 to have. But when I opened ArcMap the 4 layers did not overlap, nor could I move them above or below each other.
The question Is there any way to automatically scale and put an entire document on an A0 page? The thesis for which this is to be done is available as LaTeX code, as well as PDF output. Of course I know it is possible to do this manually, but I would prefer a LaTeX solution.  A small background Our university introduced a new page limit for master theses. This is not exactly appreciated by the teaching staff as well as students. To make a little joke, we decided to try to arrange an entire thesis (of approximately 200 pages) on a A0 poster, put it up in the hallway, and put a magnification glass next to it with a note saying: &quot;New page limit introduced: 1 page maximum for all upcoming theses!&quot;  The final result As some of you asked for this: below you can see a picture of the final result. (I &quot;professionally removed&quot; some of the sensitiv information.) We presented the poster during my final presentation and everyone liked it a lot! Now, it is on display next to my office and is still attracting some attention once in a while. Calculate $E(Y)$ and $Var(Y)$ given the random variable which is exponentially distributed The random variable $X$ is exponentially distributed with parameter $\lambda = \dfrac{1}{2}$. Also, define $Y = -2X + 1$. Calculate $E(Y)$ and $Var(Y)$.  So we have   $$f_X(x) = \dfrac{1}{2} e^{-\dfrac{1}{2}x} $$  if $x\ge0$ and $0$ otherwise.  But how to calculate $E(Y)$ and $Var(Y)$ ? extract fields from bib bibliographic file I want to extract specific fields from a natbib/bibtex bibliographic file to construct a table similar to:  title ------------------------------------------------- authors ------------------------------------------------- journal, year, volume ------------------------------------------------- abstract -------------------------------------------------   is there a way to do this in latex?  Thanks Jorge Can $\sqrt{n} + \sqrt{m}$ be rational if neither $n,m$ are perfect squares? Can the expression $\sqrt{n} + \sqrt{m}$ be rational if neither $n,m \in \mathbb{N}$ are perfect squares? It doesn't seem likely, the only way that could happen is if for example $\sqrt{m} = a-\sqrt{n}, \ \ a \in \mathbb{Q}$, which I don't think is possible, but how to show it? In the book , at page 27 we find the exercise asserting that       Exercise I.XXXVI.   The underlying space of a zero-dimensional scheme is discrete; if the scheme is Noetherian, it is finite.     Thoughts I thought that a zero-dimensional scheme is one such that, in every local ring $\mathscr O_{X,p}$, the only prime ideal is its unique maximal ideal $\mathfrak m_{X,p}.$ Hence, supposing that $X=\operatorname{Spec} R$ is affine, we deduce that every prime ideal is maximal, so each ponit in $X$ is closed. But how does this imply the discreteness? It only implies the Hausdorff-ness of $X$, right? Furthermore, I cannot perceive what the "Noetherianity" has to do with the finiteness claimed here. In the affine case, it seems to be claiming that there are only a finite number of prime ideals in a Noetherian ring, if its scheme is zero-dimensional? For example, $\mathbb Z$ is a Dedekind domain, hence its scheme is zero-dimensional, but it has infinitely many primes: does this contradict the statement?    Thanks in advance for any reference or hint, and point out any inappropriate point if any is presented. Edit I see why my example cannot work now: it is one-dimensinoal: don't forget the pirme $(0)$. But I am still wondering why the statement is true... What could cause java.lang.reflect.InvocationTargetException? What is the difference between necessary and sufficient conditions? If $p\implies q$ ("$p$ implies $q$"), then $p$ is a sufficient condition for $q$. If $\lnot p\implies \lnot q$ ("not $p$ implies not $q$"), then $p$ is a necessary condition for $q$.   I don't understand what sufficient and necessary mean in this case. How do you know which one is necessary and which one is sufficient? Why do we have OS names like Mountain Lion, Jellybean, and Quantal Quetzal instead of numbers? Less of a pressing question and more a "what happened here"?   At some point in the past decade (most) OS's have switched over to these codenames for their versions with names like Mountain Lion, Jellybean, etc. After a heated discussion with my Dad (who prefers version numbers) about why the names would be done like this, it dawned on me to ask if there was a (valid) UX reason for it vs. just a marketing/trademark one.  I don't think this idea has been explored all that well, just because we have such scattered implementations of it -- Android and Ubuntu are the only ones who use alphabetized naming conventions as a reinforcement of version numbering, Apple uses it for OSX (Snow Leopard, Lion...) but not for iOS (iOS4, iOS5...), and Windows isn't consistent about this stuff at all (XP, then Vista, then 7, then 8...)  Is there any rhyme / reason to all of this? Avoiding IF ELSE due to variable been NULL Generate two random numbers with constraints It's a really simple question. However I didn't see it in books and I tried to find the answer on the web but failed.  If I have two independent random variables, $X_1$ and $X_2$, then I define two other random variables $Y_1$ and $Y_2$, where $Y_1$ = $f_1(X_1)$ and $Y_2$ = $f_2(X_2)$.  Intuitively, $Y_1$ and $Y_2$ should be independent, and I can't find a counter example, but I am not sure. Could anyone tell me whether they are independent? Does it depend on some properties of $f_1$ and $f_2$?  Thank you. When I wanted to download Ubuntu 12.10 from ubuntu.com, I was asked to make a donation. However, there is only a PayPal option to make the payment. But I don't use PayPal. Is there any other option to make the payment? A natural number multiplied by some integer results in a number with only ones and zeros I recently solved a , which says that,     A positive integer can be multiplied with another integer resulting in   a positive integer that is composed only of one and zero as digits.   How can I prove that this is true(currently I assume that it is). Also, is it possible to establish an upper bound on the length(number of digits) of the number generated? MatrixPlot with Tooltips I have a final exam tomorrow for fluid mechanics and I was just looking over the practice exam questions. They do not provide solutions. But pretty much I have to define pressure at a point and also say why pressure is scalar instead of a vector.  I am thinking pressure at a point is $P=\lim_{\delta A \to 0} \frac{\delta F}{\delta A}$. Please let me know if I am wrong.   But I do not know at all why pressure is a scalar instead of a vector. I know it has something to do with $d \mathbf{F}=-Pd \mathbf{A}$ Transactions in .net What are the best practices to do transactions in C# .Net 2.0. What are the classes that should be used? What are the pitfalls to look out for etc. All that commit and rollback stuff. I'm just starting a project where I might need to do some transactions while inserting data into the DB. Any responses or links for even basic stuff about transactions are welcome. Centering in the \align* environment I am struggling to convert .dwg to .shp, ideas? Any ideas as to how can I convert dwg to shp?  I tried Kosmo and gvSIG. gvSIG kind of worked but it seems like I lost information.. in addition everything was converted into lines, no polygons. I can manually recreate the polygons, but there must be a better program to do this conversion.  Ideas? How do I compile a C# script at runtime and attach it as a component to a game object The idea here is to let users program the behaviour of an agent in a way that reminds of the "Screeps" game, where you get to develop code which later runs and dictates the behaviour of your units.  My idea is to let users develop the behaviour or their units with C# code, compile that code at runtime and attach it as a MonoBehavior to an existing game object.  How can I achieve this? AJAX select returns 'illegal choice detected' Create a settings form for a module in Drupal 8 - when a user selects a View from a list, the drop down under it should populate with the displays in that view.  While the form updates the option list for the user, it also throws an error message on the screen "Illegal choice has been detected".  Here is the code (it doesn't paste very well):    getViewDisplays is the ajax callback that is populating the options.  Some people who have posted about this around the internet say to set #validated on the select field to TRUE, though, that doesn't necessarily feel right. I still want to validate the submission to do some checks.