wms

WMS日常运维_WJC

烂漫一生 提交于 2019-11-29 22:01:34
3.25、奥克斯项目Apache的server reached MaxClients setting问题 apachelog报错:[mpm_worker:error] [pid 2486:tid 140526322251584] AH00287: server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting 解答:检查了一下,这是由于并发链接数太多导致的! 解决: ps -ef | grep httpd | grep -v grep | wc -l --查看进程量 netstat -ant | grep -E ":80|:443" | wc -l ----查看连接数 netstat -ant | grep ESTABLISHED | grep -E ":80|:443" ---查看建立连接数 # vi /usr/local/apache2/conf/extra/httpd-mpm.conf <IfModule mpm_worker_module> StartServers 3 MinSpareThreads 75 MaxSpareThreads 250 ThreadsPerChild 25 ServerLimit 2000

How do I set the opacity of a WMS requested layer in Android Google Maps API

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 17:59:29
Hi I've followed the instructions on this page: http://www.azavea.com/blogs/labs/2013/01/wms-on-android/ to overlay an image using WMS request to Google Maps from Geoserver. It's working already. The problem is I want the layer/image to be a little less visible (more transparent) so that the map can be seen more. Been searching for days but I can't seem to find solutions using Java Android. Please help. Thank you very much! The best way to do this is to edit that particular image/layer declared in the XML file. As you have map beneath that layer which you want users to see inspite of an XML

Android解析WindowManager(一)WindowManager体系

烈酒焚心 提交于 2019-11-29 17:20:19
前言 WindowManagerService(WMS)和AMS一样,都是Android开发需要掌握的知识点,同样的,WMS也很复杂,需要多篇文章来进行讲解,为何更好的理解WMS,首先要了解WindowManager,这一篇我们来学习WindowManager体系。 1.Window、WindowManager和WMS Window我们应该很熟悉,它是一个抽象类,具体的实现类为PhoneWindow,它对View进行管理。 WindowManager是一个接口类,继承自接口ViewManager,从名称就知道它是用来管理Window的,它的实现类为WindowManagerImpl。如果我们想要对Window进行添加和删除就可以使用WindowManager,具体的工作都是由WMS来处理的,WindowManager和WMS通过Binder来进行跨进程通信,WMS作为系统服务有很多API是不会暴露给WindowManager的,这一点与ActivityManager和AMS的关系有些类似。 关于WMS的功能,会在后续文章进行介绍,这里我们只需要知道它的主要功能包括Window管理和输入系统就可以了。这一系列文章的重点是WindowManager。 Window、WindowManager和WMS的关系可以简略的用下图来表示。 Window包含了View并对View进行管理

Send an XML post request to a web server with CURL

白昼怎懂夜的黑 提交于 2019-11-29 09:15:34
I am trying to send a request to a web server using php and curl. I haven't done something like this before and although there are many nice examples online I have some difficulties understanding some of the curl commands. This is what I want to do: There is an established web service (for example: Web map service) and I want my php code to send a post XML request to this service. As a respond I want to get an XML file. This is what I have till now: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, ''); /*curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));*/ /* curl_setopt(

Send an XML post request to a web server with CURL

两盒软妹~` 提交于 2019-11-28 02:38:49
问题 I am trying to send a request to a web server using php and curl. I haven't done something like this before and although there are many nice examples online I have some difficulties understanding some of the curl commands. This is what I want to do: There is an established web service (for example: Web map service) and I want my php code to send a post XML request to this service. As a respond I want to get an XML file. This is what I have till now: $ch = curl_init(); curl_setopt($ch, CURLOPT

SurfaceView及Surface分析

自闭症网瘾萝莉.ら 提交于 2019-11-27 08:35:18
首先参考文章千年老罗的:http://blog.csdn.net/luoshengyang/article/details/8661317 我这里总结一下SurfaceView的核心设计思想: 1.SurfaceView其实就是一个View,不同的是它里面有个Surface类型的对象。这个对象保存了一个远程独立窗口的信息。 2.java 层 Surface与jni层android_view_Surface.cpp的对应,Surface的很多方法都是直接调用native里面的方法的。 3.Surface有个重要的属性:mNativeObject, 他是一个长整型,保存的是c++层的Surface对象的指针。这样子就把java层的Surface和native层的Surface对应起来了。 4.native层的Surface有个方法getIGraphicBufferProducer他返回的是一个IGraphicBufferProducer对象,这个非常重要就是Surfaceflinger分配的窗口的句柄的proxy可以跨进程传递,谁拿到这个谁就拥有了分配出来的图像缓冲区。 5.SurfaceView有个IWindowSession mSession,这个是WMS的client端,在SurfaceView的