[Geoserver-users] Geoserver sets native SRS to 404000 while datastore resource is in 27700

2018-01-30 Thread dimmihel
Hi community, Specs: GeoServer version 2.11.0, PSQL version 9.6.6, Ubuntu 16.04.3 LTS I have noticed that some times when trying to publish a new layer from a PSQL database either by using REST or the GUI the resulting layer has the wrong native SRS (i.e. EPSG:404000). I used to have a declared S

[Geoserver-users] Authentication for WFS but not WMS?

2017-09-18 Thread dimmihel
All, *Request:* curl http://localhost:8081/geoserver/wms?request=GetCapabilities HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Cache-Control: max-age=0, must-revalidate ETag: 1505745675509-2808 Content-Disposition: inline; filename=getcapabilities_1.3.0.xml Content-Type: text/xml Content-Length: 2752

[Geoserver-users] Geoserver to fit view & edit purposes

2017-06-10 Thread dimmihel
Dear community, I am looking to expand the services offered by an existing Geoserver cluster (i.e. four instances where one instance is the master and three are slaves) to include WFS-T to allow a fraction of the users to edit data using their Desktop GIS software. Some of the key questions that

Re: [Geoserver-users] Create layer - REST API issues.

2017-04-18 Thread dimmihel
Hi Patrick, That is a good point; working with curl actually helped. The following works: curl \ http://localhost:8080/geoserver/rest/workspaces/workspace_name/datastores/datastore_name/featuretypes \ --header 'content-type: application/xml' \ --user user:password \ --data \ '\ pub_layer\ layer\

Re: [Geoserver-users] Create layer - REST API issues.

2017-04-13 Thread dimmihel
Hi Nuno, Thanks for giving this a go; it is frustrating that I am not able to use the underscore in feature type creation in my Geoserver versions. Are you suggesting an issue with the python requests module? I doubt it because I am able to use the same module (i.e requests) using HTML POST to c

Re: [Geoserver-users] Create layer - REST API issues.

2017-04-13 Thread dimmihel
Using the following data in the POST in the function returns a 401 response: post_data ="""'pub_roads'""" Again not using underscores creates the layer OK. In the GUI there isn't such an issue. Is this a bug in the REST API? D. -- View this message in context: http://osgeo-org.1560.x6.nabbl

[Geoserver-users] Create layer

2017-04-13 Thread dimmihel
Hi, I am using the following python function & the Geoserver REST API to create a layer. def publish_layer(layer_name,store_name,workspace_name,table_name,geoserver_url,user,password): '''(str,str,str,str,str,str) -> response Returns the server response code for publishing a layer using t

Re: [Geoserver-users] geoserver for desktop GIS clients only

2017-03-27 Thread dimmihel
Hi Jonathan, Thanks very much for the information. It is re-assuring that this could be achieved using the web server. Will surely play around with this. This has got me thinking whether I could also use the security properties of Geoserver instead of the web server. For example can I restrict on

[Geoserver-users] geoserver for desktop GIS clients only

2017-03-27 Thread dimmihel
Hi community, Is there any sustainable way that I can restrict WFS and WMS services to specific clients? For example I would like to use one Geoserver to serve only Desktop GIS clients (e.g. QGIS, FME, ArcGIS and so on) and another one to serve only browser / scripts requests. I noticed that I c

[Geoserver-users] Authkey community plugin - multiple geoserver instances

2017-03-07 Thread dimmihel
Hi community, *Problem:* When creating a new authentication key using the Key authentication module the authentication process fails with Geoserver returning a 403 unless I restart all instances of Geoserver. *Background:*

Re: [Geoserver-users] Database pooling for clustered Geoserver configuration

2017-02-23 Thread dimmihel
All, I am copying in here what I have done to make this work in Ubuntu 16.04. I would recommend do the reading in the links in this post before implementing the following. *#Move the JDBC driver to the tomcat container instead of the geoserver application.* sudo mv /opt/apache-tomcat-7.0.73-1/web

Re: [Geoserver-users] Database pooling for clustered Geoserver configuration

2017-02-15 Thread dimmihel
Hi Simone, This is really useful; thanks for taking the time to reply. Regards, D. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Database-pooling-for-clustered-Geoserver-configuration-tp5306937p5308012.html Sent from the GeoServer - User mailing list archive at Nabble.c

Re: [Geoserver-users] Geoserver data stores

2017-02-15 Thread dimmihel
Hi Andrea, The plan is to have one store only for the specific data which will be published by that instance of Geoserver since all the data will be stored in the same database, schema, and accessed using the same user. Using the JNDI functionality is in my remit as well. Regards, D. -- View

Re: [Geoserver-users] Geoserver data stores

2017-02-15 Thread dimmihel
Hi Daniel, Thanks for the useful summary for the workspaces / layers security; certainly this clears some things up in my head. However as you also mention there still there is no need for many stores accessing with the same database user (i.e. test_user) the same database name (i.e. test_databas

[Geoserver-users] Geoserver data stores

2017-02-14 Thread dimmihel
Hi list, I am in the process of cleaning / re-configuring a single Geoserver 2.8.0 instance on an Ubuntu 14.04 machine. The current configuration publishes only vector data and has approximately 100 workspaces and each workspace collects data from a different data stores (i.e. 100 data stores) a

Re: [Geoserver-users] Database pooling for clustered Geoserver configuration

2017-02-09 Thread dimmihel
Hi Andrea, Apologies for not making crystal clear my purpose in my previous post. It is probably because I don't fully understand how the database pooling technique works. I was aiming using one database pool for the whole cluster (by the way I have multiple stores and not only one) but you are s

[Geoserver-users] Database pooling for clustered Geoserver configuration

2017-02-08 Thread dimmihel
Hi, *Problem:* Cannot find resources to implement database pooling for a clustered Geoserver configuration. *Background:* I have a Geoserver (2.10) cluster (4 x) using Tomcat 7 containers (4 x) and using apache2 as a front-end proxy/load balancer on Ubuntu 16.04.1 LTS. All Geoservers can be used

Re: [Geoserver-users] High availability setup

2017-02-06 Thread dimmihel
Hi all, With some trial and error I managed to make it work. Four instances of Geoserver (8080 master, 8081 - 8083 are slaves) in one machine with a single data directory and the apache2 load balancer. I would appreciate any comments if you see any issues with the following apache2 configuration

Re: [Geoserver-users] High availability setup

2017-01-31 Thread dimmihel
Hi, I am trying to get the load balancer (apache2) to redirect to the active web front-end only but don't know where to begin; any useful resources? For the moment whenever I try to request the front-end I get redirected to all of the web front-ends including the active (works fine) & passive one

Re: [Geoserver-users] Protect only a few WFS layers of a workspace by user and password in the form http://user:password@myserver/...

2016-09-22 Thread dimmihel
Hi again, I feel that the documentation provided in the pop-up box in the Geoserver GUI within /*Edit Workspace --> Services --> Workspace Specific Services*/ needs some polishing. It is an important section for Geoserver users. The following workflow makes a Geoserver workspace restricted to *WM

Re: [Geoserver-users] Protect only a few WFS layers of a workspace by user and password in the form http://user:password@myserver/...

2016-09-22 Thread dimmihel
Hi Christian Mueller-3, Thanks for your post. Can you elaborate on your suggestion to: /"Put all your public WMS layers in a separate workspace and *restrict this workspace to WMS access.*"/? Are you talking about performing the following process? (a) Create workspace (i.e. "public_wms") (b)

Re: [Geoserver-users] Geoserver Audit Logging stopped working

2016-09-08 Thread dimmihel
Hi geowolf, I can confirm that changing the privileges of the folder where the audit logs are created fixed the issue; however the question remains in my mind why these privileges changed and how. This is of course a systems issue. Thanks again for your time and effort. Regards, D. -- View th

Re: [Geoserver-users] Geoserver Audit Logging stopped working

2016-09-08 Thread dimmihel
Hi geowolf, Thank you for your reply. Requesting data from Geoserver & examining the geoserver.log file reveals the following: 2016-09-08 13:23:04,342 WARN [geoserver.monitor] - Request Dumper exiting due to :Permission denied java.io.IOException: Permission denied at java.io.UnixFileSys

[Geoserver-users] Geoserver Audit Logging stopped working

2016-09-06 Thread dimmihel
Dear Community, *Problem:* The Geoserver (2.8.0) which is installed in an Ubuntu 14.04 VM stopped creating the audit logs suddenly. *Background:* A couple of months ago I followed the instructions at Geoserver Training - Logging all requests on Geoserver