I want to develop a GIS application. My application has some options as following:   Users with different access to layers Layers with different source like postgis and  shp OpenLayers-3.6.0 in client side OpenLayers layers get its data via WFS and WMS protocols.      I want to use Spring java framework as application structure and Hibernate for Non Spatial Data transactions and geotools library for Spatial Data.     The best solution for me is using GEOSERVER, but I'm not allowed to use it.   I don't need all method of WFS and WMS, I need methods as following:   getFeatuers, transaction and getCapabilities methods in WFS Protocol. getMap, WMSGetFeatureInfo and 'getCapabilities methods in WMS protocol.      I have some questions:   Can I separate WFS and WMS module of geoserver and add these to my project and use these? If yes, Any reference? How can I develop the methods of WFS and WMS Protocols(I don't want to have a WFS and WMS server, I only want to implement some of its methods)?
I'm developing a GIS application with java Spring Framework and GeoTools library. I have some vector layer. I want to get this layers with wms and wfs protocols. I've downloaded geoserver code. It includes module as bellow:   Main Module Core Platform Module Web Map Service Module Web Feature Service Module and etc.   Can I use Web Map Service Module and Web Feature Service Module of Geoserver in my project? If yes, How? I want a sample code to use these modules apart from geoserver. Help me please.
Closing as "off topic" has just gotten painful I know that useability and friendliness are given priority in the features implemented on StackExchange, but after using the new close-as-off-topic flow for the first time I would have to say I'm somewhat underwhelmed.  Why do we not have a simple It's off topic type reason? And why do I have to write half a book chapter as my custom close reason, especially when I can go back and edit the automatically posted comment so that it's way shorter?   This question complaint is prompted by  here on Meta. It's off topic, plain and simple. We now have a bunch of people wanting to close it, all potentially writing their own custom close reasons, it's just messy suboptimal. Regardless of how nice and friendly you want to be to the user, this particular question shouldn't need an explanation.    Does the off topic flow have to stay this way? Can we allow higher rep users to close as off topic without having to specify a (really long) custom reason, maybe have some canned reasons like we used to?  Edit: just to be clear, there are still three canned close reasons, but none of them were applicable to this example. The second one is closest, but does not appear to seek input... is quite different to It's a question, but doesn't belong here in any way, shape, or form. Since asking for tutorials, videos, resources, links to other content or downloads is considered off topic here, this is a specifically created Community Wiki which gathers resources for Blender and it has been approved by the .  Just write in the appropriate answer/section. If you have concerns, questions, post a  question, so we don't clutter the comments, but you can link your meta question from the comments.  Questions regarding such resources are not allowed anymore, except for very specific and on topic requests (ask on  if you're unsure about your question). Follow the instructions made in the question about how to post, what can be posted, etc.  Learning             Assets    (also see: )   Reference Images/Blueprints (also see: )    Tools    (also see: )      Other   Special Interest ()     Also see the . I have to prove that this is a metric: $$d(x,y):=\sum_{i=0}^\infty \frac{|x_i -y_i|}{2^i (1+|x_i-y_i|)}$$  The only thing that I can't prove is the triangle inequality, it's really hard. I know that $|x_i -y_i|\le |x_i -z_i|+|z_i -y_i|$, and I want to get: $$\frac{1}{2^i (1+|x_i-y_i|)} \le \frac{1}{2^i (1+|x_i-z_i|)}+\frac{1}{2^i (1+|z_i-y_i|)}$$ (I think...) The closest thing I've got is: $2^i (1+|x_i-y_i|)\le 2^i (1+|x_i-z_i|)+2^i (1+|z_i-y_i|)$ but... that's not quite what i want. I don't know how to get this... Short story with space microbes latching onto electromagnetic fields This is a sci-fi story set on Earth. From the depths of space comes these microbes that latch onto electromagnetic fields. Anything electronic is rendered useless. There's the usual stuff where governments try to solve the issue but make it ultimately worse. It's only when they realise that the microbes surround the planet that they realise it is futile. The story closes with people having returned to a simpler life, using medieval farming methods, not using electricity in any form, getting about by horse, etc. I think it was a short story. Plotting complex numbers as an Argand Diagram Does the Rule of Two Serve any Actual Purpose? I know Darth Bane came up with the Rule of Two to ensure the survival of the Sith, but, in reality (or in the Star Wars reality), does it (or any Sith rule) serve a true purpose?  And why does each successive Sith bother with it?  Due to the nature of the Sith, Sith Lords tend toward arrogance and self-importance.  Both the Sith master and Sith apprentice seem to regularly break the rule by training others.  Deceit and personal interest over loyalty is a way of life for the Sith.  What is to keep any Sith from following the Rule of Two (or any rule, for that matter) if it is against their own self interest?  If a Sith Master can stay in power longer by training a 2nd apprentice and pitting the two against each other, is he really going to worry about the Rule of Two more than his own plans and survival?  The Rule of Two also assumes that every Sith Master would place the survival of the Sith over his own survival, as opposed to attempting to ensure his own immortality in whatever way he could (like Plagueis).  When you have a group that, by default, is arrogant and self-serving, as well as deceptive, why would they want the Sith to survive themselves?  I can see how the Rule of Two, and any other Sith beliefs would be possible guidelines, but it terms of the nature of ambitious people (and the Sith are ambitious), it's hard to believe that each new Sith Master would follow this rule faithfully.  So does this rule, or any Sith rule, actually work?  Or is it more of a suggestion that is broken when convenient? How to show $\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}=2^{n}$ How does one show that $$\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}=2^{n}$$ for each nonnegative integer $n$?  I tried using the  but I guess I am applying it incorrectly. With the snake oil technique we have $$F(x)= \sum_{n=0}^{\infty}\left\{\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}\right\}x^{n}.$$ I think I have to interchage the summation and do something. But I am not quite comfortable in interchanging the summation. Like after interchaging the summation will $$F(x)=\sum_{k=0}^{n}\sum_{n=0}^{\infty}\binom{n+k}{k}\frac{1}{2^k}x^{n}?$$ Even if I continue with this I am unable to get the correct answer.  How does one prove this using the Snake oil technique?  A combinatorial proof is also welcome, as are other kinds of proofs. What is the difference between linear regression and logistic regression? What is the difference between linear regression and logistic regression?  When would you use each? Manga where the protagonist need to solve girl's quests Can someone tell me the manga in which the protagonist is teleported to an alternative world where he needs to make the girls fall in love with him, then he gains some skills like an invisible sword. Then, when he finishes these &quot;quests&quot;, he will be able to bring one of them to the real world. He has the ability to save and load like checkpoints of games. Graphing the amount of time a function takes I have an external sound card which mostly works fine, except that when its first plugged in, or when I turn on my laptop, the volume gets set to 100%. That is, the overall system volume, as shown in the sound indicator.  What I'm looking for is a terminal command that will set that volume to 50%, so that I can run it on login and not have to worry that the first audio I play is going to blare out at me if I forget to turn the volume down. What commands allow you to change that volume, i.e. the one in the sound indicator?  I've poked around in gsettings and dbus, but have been unable to find anything that would let me set the system volume like that. I do know about alsamixer, but that's not the solution I'm looking for, since that doesn't allow me to change the volume using the sound indicator or my laptop's multimedia keys. I have a bathroom door that is quite loud when operated. And when someone goes to the bathroom at night, it innevatibly wakes someone up (and baby room is just across from the bathroom!) there are 3 components of noise, and I was wondering if there is an alternative to fixing them:   door bangs against the jamb (this is fixed with simple foam bumpers) latch mechanism makes a loud CLUNK when door is pushed closed (I was able to dampen it just a bit by putting foam inside strike plate, but it is still quite loud) lock button also makes a CLUNK when the knob is turned and it is released (this can be battled by replacing with a mechanism that needs to be manually opened [twist instead of push] but it is less convenient, and I would prefer something that automatically unlocks)   Any suggestions as to a knob that has a dampening of the latch and lock button? I have only found one youtube video of my ideal handle, but there is no information on how it works, where to buy it, or anything else: Must an uncountable subset of R have uncountably many accumulation points? Apply SP3 on SQL Server 2012 AlwaysOn AAGs Determining the name of the VMware host of a VM guest - from the guest My inline-block elements are not lining up properly Since one or two months ago, my laptop with ubuntu 12.10x64 hangs during shutdown. There's just a black screen, no harddisk activity, it justs sits there. I feel it happens near the end of a normal shutdown cycle, judging from time elapsed.  Only resolution is hard power-off (holding power key for several seconds) - neither Ctrl-Alt-Backspace (which normally works, I have it switched on in Settings) nor Ctrl-Alt-Del help, nor can I get into a text console with Ctrl-Alt-F1.   How do I diagnose that? It does not happen on every shutdown, but often enough to be annoying (as it forces a diskcheck on reboot, of course).   Which log files can tell me what's going wrong? More or less blindly searching in the sys log viewer reminds me of needles in a haystack.  I imagine I could pinpoint the time it happens via log timestamps, but how do I read timestamps like e.g. in kern.log: [36169.146130]? How do I get this human-readable?  Lastly, a bit of a btw, I've never managed to execute an Alt-Sysrq-REISUB to force a cleaner shutdown, but that's probably because I'm on a laptop, PrintScr is only accessible via an Fn key, and I'm not sure of the exact key sequence I need. Is there a "harmless" but user-visible magic command I could practice this with (during normal operation), so I can find out how to do a REISUB next time?  Thanks all! Comment if you need additional data... How can multithreading speed up an application (when threads can't run concurrently)? Proving a Composition of Functions is Bijective If I have $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $f$ is onto and $f\circ f\circ f = f$, how can I prove that $f$ is bijective? I know that I only have to prove that it is 1-to-1 because I'm given the fact that it's onto, but how can I use the fact that $f\circ f\circ f=f$ to prove that it is 1-to-1?  Thanks! Is Ubuntu an open source software? Is Ubuntu an open source software (OSS)?