When I use GetMap on a raster layer of a WMS GeoServer, the color scale adjusts automatically, so the scale is relative to the retrieved content of the requested area. How do I extract numerically the absolute altitude/elevation ? Alternatively, is there a way to tell the WMS server (GeoServer) to provide the absolute values ?
I have tried reading up on WMS on wiki and other sources but haven't managed to get my head around a couple of points.   1) Using WMS is it possible to get a local copy of the raster data (say a tiff image tile). The reason, I ask is, I need to use his raster data in a secondary process that needs a local copy of the file.   2) I am primarily interested in allowing users the option of downloading orthoimagery and elevation from the USGS repository. I've tried using the Seamless viewer but I am thinking more along the lines of user specifying a coordinate (or four corner coords) and getting the orthoimage and elevation data corresponding to that. I thought WMS (Geoserver being my first option) is the way to go for this, but not certain. So wanted to get your advice.  Thanks in advance.  Sincerely, ST.
Suppose we have a situation like      A ball of some mass $m$ with some velocity collides with rod hinged at point $A$. Is momentum conserved in this situation? I know that hinge will give impulsive force on rod but that is internal force when we take ball and rod together as a system so that shouldn't stop us using conservation of momentum equation How do I fork a process that doesn't die when shell exits? In either case, one coin flip resulted in a head and the other resulted in a tail. Why is {H,T} a different outcome than {T,H}? Is this simply how we've defined an "outcome" in probability?   My main problem with {H,T} being a different outcome than {T,H} is that we apply binomial coefficients (i.e. we count subsets of sets) in some common probability problems. But if we take {H,T} and {T,H} to be different outcomes, then our "sets" are ordered, but sets are by definition unordered...   I feel as though the fact that I'm confused about something so basic means that I am missing something fundamental. Any help or insight whatsoever is greatly appreciated! SBS 2011 - Is Store.exe High Memory Usage Normal? I told my follower (Serana) to wait. But this is different. I told her to go somewhere and wait so it will activate the enemies. Well it did and I killed them. But Serana seems to be not following me anymore. I can't tell her to follow me. And she is constantly in a squatting position. The only thing I can do is tell her to wait somewhere else to move her. And I can't part ways because I'm doing a main quest and she has to be there. Can anybody give me a tip on what to do? Should I use #define, enum or const? In a C++ project I'm working on, I have a flag kind of value which can have four values. Those four flags can be combined. Flags describe the records in database and can be:   new record deleted record modified record existing record   Now, for each record I wish to keep this attribute, so I could use an enum:  enum { xNew, xDeleted, xModified, xExisting }   However, in other places in code, I need to select which records are to be visible to the user, so I'd like to be able to pass that as a single parameter, like:   showRecords(xNew | xDeleted);   So, it seems I have three possible appoaches:  #define X_NEW      0x01 #define X_DELETED  0x02 #define X_MODIFIED 0x04 #define X_EXISTING 0x08   or  typedef enum { xNew = 1, xDeleted, xModified = 4, xExisting = 8 } RecordType;   or   namespace RecordType {     static const uint8 xNew = 1;     static const uint8 xDeleted = 2;     static const uint8 xModified = 4;     static const uint8 xExisting = 8; }   Space requirements are important (byte vs int) but not crucial. With defines I lose type safety, and with enum I lose some space (integers) and probably have to cast when I want to do a bitwise operation. With const I think I also lose type safety since a random uint8 could get in by mistake.  Is there some other cleaner way?  If not, what would you use and why?  P.S. The rest of the code is rather clean modern C++ without #defines, and I have used namespaces and templates in few spaces, so those aren't out of question either. The latest kernel is causing problems with my sound, which worked fine with an older version. As I have only Ubuntu installed, Grub is not getting displayed while booting. How can I manually choose my kernel version while booting? How to get a dock on multiple monitors I have two monitors, but only one dock, which is somewhat annoying, so my question is, how do I get multiple docks? (One on each screen) Infinite Cartesian product of countable sets is uncountable Let $\{E_n\}_{n\in\mathbb{N}}$ be a sequence of countable sets and let $S=E_1\times\cdots\times E_n\times\cdots $. Show $S$ is uncountable. Prove that the same statement holds if each $E_n=\{0,1\}$.  By the definition of Cartesian product of sets,   $$\displaystyle S=\Pi_{n\in\mathbb{N}} \{f\colon\mathbb{N}\rightarrow\cup_{n\in\mathbb{N}}E_n\mid\forall n, f(n)\in E_n\}$$  If $E_n=\{ 0,1\}$, then  $$\displaystyle S_{01}=\Pi_{n\in\mathbb{N}}\{0,1\}=E^{\mathbb{N}}$$, where $E=\{0,1\}$.  By a theorem, $\cup_{n\in\mathbb{N}} E_n$ is countable since the sequence is countable.  I'm not sure how to go on from here to show $S$ is uncountable. Can we say anything about the function $f$ that maps a countable $\mathbb{N}$ to another countable union of sequence of countable sets? Minecraft pocket edition restoring skin problem I updated Minecraft PE so I can have custom skins. I clicked on 'restore skins' without selecting any particular skin, It is now stuck with a  message saying 'we're restoring your skins!' but it has been like that for 20 minutes. Is there a reason why it is like this? All of a sudden, without any change in the index.html, our site is showing up in Google search results (on multiple browsers and devices) with Google Preview text that, instead of giving a summary of our site, now says:     Your browser does not currently recognize any of the video formats available. Click here to visit our frequently asked questions about HTML5 video.     We have a YouTube embed on our homepage that does include an html5 parameter in the media URL link in the embed, but there are no issues playing the video with any browser and device we can find.  What would suddenly cause this text to appear in Google search results?   We are using the  tags as the metatags in the &lt;head&gt; of our webpage and do indeed have title and description tags.    To mimic the behavior of Googlebot, I installed Windows on a VM and got Chromium 41 running. I get the same Google Preview text with the html5 video message when the site comes up in Google search results using this browser.    When I view the site in Chromium 41, I see the YouTube embed and it renders on the page and plays with no issue, just as with all other browser and devices we've tested on. The only time we see this message is in the Google search results, not on our actual site. I have an equation like this:     \begin{align}       P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega)       = P(A) + P(B)     \end{align}   For some reason, LaTeX is automatically labeling the equation. How do I turn that off? Secondly how do I write something in LaTeX on this site. I tried enclosing in '$' but it doesn't work. Is there a way to view your own progress towards certain badges? For example:   Tumbleweed - What value constitutes low views for a week? Fanatic  – Is there a way to view how many days in a row you currently have? Beta – Is it even possible to get this badge anymore? Is there a way to make Runnable's run() throw an exception? How do you tell what brand/make/model of bike I have? If $A\subset\mathbb{R^2}$ is countable, is $\mathbb{R^2}\setminus A$ path connected? Possible Duplicate:          As the topic,if $A\subset\mathbb{R^2}$ is countable, does $\mathbb{R^2}\setminus A$ path connected??? I know the answer is it is path connected but not sure how to prove it. Now, that Adobe has stopped issuing new releases for Linux desktops, the only option for users is to use Google Chrome, for those who want to use the latest Flash updates. I use Chromium. Is there any way to get Chromium use the Flash from Google Chrome? The reason I as this question is that I have noticed both these browsers run in the background, so technically, the browsers' plugins are available to use. No, not like this:    Hear me out!  As Stack Overflow grows, it becomes increasingly ridden with extremely newbie and mediocre questions. It's just natural. The team are fighting hard to keep the crap out, but there are many very basic questions that are okay on their own. They don't deserve to be kicked out* - they are just very, very, very basic and/or localized.   Too much basicness tires users who are interested in discussing more advanced topics.  As has been discussed many times over, the voting system is not suited to identify advanced questions due to what is known as the . A group of people will vote on what they understand, which puts truly expert questions at a natural disadvantage that a democratic voting system can't overcome.  Now, there is a small number of users on Stack Overflow who I, as a user, know share my basic values (like, teaching a man to fish rather than fishing for them); I also know they are experts in their fields. It is safe to assume that what these users regard an interesting question worthy of attention, is likely to be interesting to me as well.      The idea is to introduce an opt-in "follow" mechanism that allows followed users to share what they find interesting, with very little fuss and on a purely opt-in basis.   Allow every SO user to follow any other SO user with a certain minimum rep, say 3000.   To every user who is being followed (or every user), display a new link underneath every question, "Recommend".    Introduce a new filtered view somewhere, named "Recommended". The view will show me all questions that my followed users are recommending.   Whenever I browse a list of questions, highlight those questions that have been recommended by my followed users. (I haven't put much thought into how to implement this graphically - you get the drift.)      I'm not especially fond of social networking, and I think most of it doesn't have a place on SO. But I'm starting to think this specific thing could be the right way to go in order to tell apart expert content from the 10000th dreary "how do I upload a file" question.  This is an entirely opt-in feature - unless I actively follow some users, I will never notice this.   Maybe for a bit of ego-stroking, the profile page can show how many users follow you. Or even who. Everything else would simply be kept under wraps - no publication of follower data in the data dump, no follower leagues or anything like that.      * At least not under current SO rules. Maybe those rules need to be changed - but that is a different discussion. So when I got Steam working offline I had 26 games listed in my library but only 2 installed. Recently I brought a bunch more so I want to update my library on my Offline PC with the full list that's on my Online Laptop.  I thought that all I would need just copy the data from userdata/[ID]/config/localconfig.vdf however when I do the number goes down to 2 (the number of games I do have installed) and also the OST I got with Monster Monpiece doesn't appear. When I restore just that file the list and the music listing returns.  So what do I need to copy over from my Online Laptop to the Offline PC to update the list of games in the library? How to apply changes of newly added user groups without needing to reboot? Assume I'm logged in with user takpar:  takpar@skyspace:/$   As root, I've added takpar as a member of group webdev using:  # usermod -a -G webdev takpar   But it seems it has not been applied, because for example I can't get into a webdev's directory that has read permission for group:  400169 drwxr-x--- 3 webdev webdev 4.0K 2011-08-15 22:34 public_html  takpar@skyspace:/home/webdev/$ cd public_html/ bash: cd: public_html/: Permission denied   But after a reboot I have access as I expect. As this kind of group changing is in my routine, is there any way to apply changes without needing a reboot?  Answer It seems there is no way to make the current session know the new group, for example the file manager won't work with new changes. But a re-login will do the job. The su command is also appropriate for temp commands in urrent session.