GeoServer

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

我的梦境 提交于 2019-12-29 10:05:09
问题 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! 回答1: The best way to do this is to edit that particular image/layer

geoserver 2.11 as windows service with controlflow extension

こ雲淡風輕ζ 提交于 2019-12-25 09:47:46
问题 I'm trying to set up GeoServer for a production environment. I have installed GeoServer using the Windows Installer as a Service in Windows Services. I tried to add the Control Flow Module but then GeoServer won't start up anymore. A sample of the log file below. If I remove the Control Flow Module GeoServer starts up normally again. The control flow plugin works if I install GeoServer with the "run manually" option. Any ideas on how to get the Control Flow Module to work under a service

Access Geoserver From Internet Ubuntu Server 14.04.1

一个人想着一个人 提交于 2019-12-25 03:26:40
问题 i'm triying to getup geoserver on IBM Server with Ubuntu Server 14.04.1, i have try making a file in /etc/apache2/sites-available/geoserver.conf and the information in it was: ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /geoserver "http://localhost:8080/geoserver" ProxyPassReverse /geoserver "http://localhost:8080/geoserver" I access to my server via a subdomain in NO-IP, but a i can't make it work the geoserver, like this; my.subdomain

How do I replace curl invoke with HttpClient object invoke or some similar?

你。 提交于 2019-12-24 23:18:39
问题 There is a code that creates new featureType at geoserver: string par = @"/c D:\curl-7.32.0-ssl-sspi-zlib-static-bin-w32\curl.exe -v -u admin:MYPASSWORD -XPOST -H ""Content-type: text/xml"" -d ""<featureType><name>" + name + @"</name><title>" + MyHtmlEncode(title) + @"</title></featureType>"" http://localhost:8080/geoserver/rest/workspaces/cite/datastores/postgis/featuretypes"; Process P = Process.Start(@"C:\Windows\System32\cmd.exe",par); I want to read output of server and handle errors,

How to remove vector tiles tile bounding in Leaflet

人盡茶涼 提交于 2019-12-24 20:14:42
问题 I use leaflet to load vt tiles,which data geom type is polygon.I found that when loading, this will show a line betwwen tiles. So how to remove this bounding line? Maybe this is the issue of Geoserver,Which I used to publish pbf vt. 来源: https://stackoverflow.com/questions/56912496/how-to-remove-vector-tiles-tile-bounding-in-leaflet

Dynamically style a WMS layer with Javascript from Geoserver

妖精的绣舞 提交于 2019-12-24 12:04:11
问题 My web application serves a WMS layer to an OpenLayers map from Postgis via Geoserver 2.6.0, which works fine and as expected. The user can filter certain elements of the WMS layer by its attributes (via drop down boxes in the HTML) and the layer updates as expected. I would like to now add an additional drop down box that alters the style of the WMS layer, depending on the additional drop down box value. The style options for the additional drop down are very simple, either 'normal' or

Tool to display geo-spatial data from MongoDB?

て烟熏妆下的殇ゞ 提交于 2019-12-24 10:59:55
问题 I am currently searching for a tool such as GeoServer or QGIS to display geo-spatial data stored in MongoDB (MongoDB provides specific 2d-indices for that). In my case I am storing LineStrings. The existing plugin for an integration of MongoDB sources in GeoServer is not supported and wasn't published in the name of GeoServer. http://osgeo-org.1560.x6.nabble.com/MongoDB-plugin-td5042018.html My try led to the same problem of a missing layer. For the combination of MongoDB and QGIS there is

Proxying Apache with 8081 port to Geoserver 8080 for WFS

本秂侑毒 提交于 2019-12-24 04:46:06
问题 I've been in a dilemma for several days and now I'd really appreciate your help. Here is my situation: - Ubuntu Linux (All ports opened) - Apache running on port 8081 - Geoserver Tomcat on port 8080 I'm trying to make a WFS connection by a different pc than the server so I need to use a proxy. In my server I edited httpd.conf and added these lines: ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /geoserver http://mydomain.com:8080/geoserver

Sencha Touch, OpenLayers, GeoServer: Wrong encoding on devices using Android 2.2

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 09:40:12
问题 I have created a small test page using Sencha Touch , OpenLayers and I am recieving WMS/WFS data from a GeoServer . I have set the encoding on my HTML page to UTF-8: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> I pull some WFS data from my GeoServer using the following statement: var post = new OpenLayers.Request.POST({ url: 'dataprovider.ashx', data: ..., headers: { "Content-Type": "text/xml;charset=utf-8" }, callback: function (response) { ... }, }); Which I believe

Authenticate in geoserver with asp.net and iis

一笑奈何 提交于 2019-12-22 08:54:56
问题 I don't know if this is a dumb question, but how can I "combine" the asp.net authentication with openlayers? I created a Login page to authenticate in openlayers (in c#, server side), this is my code Uri uri = new Uri("http://"+username+":"+password+"@localhost:1979/geoserver/wms"); if (uri.Scheme == Uri.UriSchemeHttp) { HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri); request.Method = WebRequestMethods.Http.Post; HttpWebResponse response = (HttpWebResponse)request