Re: [Geoserver-users] GetFeatureInfo WMS v1.3.0 issue with I and J parameters

2019-08-14 Thread Chris Buckmaster via Geoserver-users
Thanks for the very helpful information Andrea!

Chris

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: 14 August 2019 08:16
To: Chris Buckmaster
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] GetFeatureInfo WMS v1.3.0 issue with I and J 
parameters

Hi Chris,
GWC is running inside GeoServer, that may make you think that they play by the 
same rules... but they don't.
GeoServer WMS is accessible at this address, and the request works:

https://maps.runnymede.gov.uk/geoserver/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032

The "full WMS" GWC extension you're using is instead managed directly by GWC, 
it's not sharing
code with GeoServer, and has a different behavior. I cannot find indications as 
to which versions of WMS are supported
on that endpoint, but it's really old and has not been touched in ages, by that 
I'm guessing it was designed to work
only with WMS 1.1.
Indeed the code has no indication of supporting I and J, see here:

https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/wms/src/main/java/org/geowebcache/service/wms/WMSService.java#L377

I also don't see support for the WMS 1.3 own version of axis flipping 
(EPSG:4326 interpreted as north/east)... which makes me notice another thing,
in WMS 1.3 the output crs is called "CRS" not "SRS", GeoServer is tolerant 
about the difference (same codebase implements both services) but
the properly formed request would be:

https://maps.runnymede.gov.uk/geoserver/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032

Long story short:

  *   If you want to use WMS 1.3 stick to the GeoSever WMS
  *   If you want to use GWC own WMS stick to WMS 1.1
  *   If you want to use both at the same time, WMS 1.3 support for GWC needs 
to be written (could be a bunch of extra ifs in the existing code, most of the 
behavior is similar).. pull requests welcomed ;-)
Cheers
Andrea



On Tue, Aug 13, 2019 at 7:53 PM Chris Buckmaster via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
Hi

I am trying to send a GetFeatureInfo request using WMS v1.3.0 via OpenLayers 
but am receiving the below error message from GeoWebCache:

“400: The parameters for x and y must both be positive integers.”

On looking at the GeoServer reference 
manual<https://docs.geoserver.org/stable/en/user/services/wms/reference.html>, 
when working with v1.3.0 it should be using the ‘I’ and ‘J’ parameters rather 
than ‘X’ and ‘Y’ – if I change it to ‘X’ and ‘Y’ it works but OpenLayers uses 
‘I’ and ‘J’ for its WMS request.

I am using GeoServer v2.13.1 and OpenLayers v5.3.

Please see examples below:

(Using WMS version 1.3.0 and I/J parameters – not working)
https://maps.runnymede.gov.uk/geoserver/gwc/service/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032

(Using WMS version 1.3.0 and X/Y parameters – working)
https://maps.runnymede.gov.uk/geoserver/gwc/service/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032




Think before you print this. We are committed to being transparent about why 
and how we collect and use your personal data. Please see our Privacy Statement 
for further details. This message, and associated files, is intended only for 
the use of the individual or entity to which it is addressed and may contain 
information that is confidential or subject to copyright. If you are not the 
intended recipient please note that any copying or distribution of this 
message, or files associated with this message, is strictly prohibited. If you 
have received this message in error, please notify us immediately. Opinions, 
conclusions and other information in this message that do not relate to the 
official business of Runnymede Borough Council shall be understood as neither 
given nor endorsed by Runnymede Borough Council.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/S

[Geoserver-users] GetFeatureInfo WMS v1.3.0 issue with I and J parameters

2019-08-13 Thread Chris Buckmaster via Geoserver-users
Hi

I am trying to send a GetFeatureInfo request using WMS v1.3.0 via OpenLayers 
but am receiving the below error message from GeoWebCache:

"400: The parameters for x and y must both be positive integers."

On looking at the GeoServer reference 
manual, 
when working with v1.3.0 it should be using the 'I' and 'J' parameters rather 
than 'X' and 'Y' - if I change it to 'X' and 'Y' it works but OpenLayers uses 
'I' and 'J' for its WMS request.

I am using GeoServer v2.13.1 and OpenLayers v5.3.

Please see examples below:

(Using WMS version 1.3.0 and I/J parameters - not working)
https://maps.runnymede.gov.uk/geoserver/gwc/service/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032

(Using WMS version 1.3.0 and X/Y parameters - working)
https://maps.runnymede.gov.uk/geoserver/gwc/service/wms?SERVICE=WMS=1.3.0=GetFeatureInfo=image%2Fpng=true_LAYERS=council%3Apolling_districts=council%3Apolling_districts=EPSG%3A27700=true_FORMAT=application%2Fjson=174=127=256=256=EPSG%3A27700==492761%2C164864%2C499929%2C172032




Think before you print this. We are committed to being transparent about why 
and how we collect and use your personal data. Please see our Privacy Statement 
for further details. This message, and associated files, is intended only for 
the use of the individual or entity to which it is addressed and may contain 
information that is confidential or subject to copyright. If you are not the 
intended recipient please note that any copying or distribution of this 
message, or files associated with this message, is strictly prohibited. If you 
have received this message in error, please notify us immediately. Opinions, 
conclusions and other information in this message that do not relate to the 
official business of Runnymede Borough Council shall be understood as neither 
given nor endorsed by Runnymede Borough Council.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] DXF plugin problem Geoserver 2.13.1

2018-08-01 Thread Chris Buckmaster
Hi

I have tried to deploy the DXF plugin for Geoserver 2.13.1 installed as a 
windows service but after moving the jar files to the lib folder and restarting 
the service I am encountering the following error:

HTTP ERROR: 503

Problem accessing /geoserver/. Reason:

Service Unavailable

After removing the files and restarting the service my Geoserver install works 
again, so I am not sure if there are any known problems with this plugin for 
the version I am trying to use?

Thanks, Chris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] External legend graphic issues (Geoserver 2.13.1)

2018-06-06 Thread Chris Buckmaster
Thanks for checking that Ian, so you have the same issue?

Do I need to submit this as an issue on Geoserver’s issue tracker?

Chris

From: Ian Turton [mailto:ijtur...@gmail.com]
Sent: 06 June 2018 09:57
To: Chris Buckmaster
Cc: geoserver-users
Subject: Re: [Geoserver-users] External legend graphic issues (Geoserver 2.13.1)

It seems I misled you yesterday as I was using 2.13.0 not 2.13.1 as I thought 
and having done a quick test today it is definitely a regression.

Ian

On Tue, 5 Jun 2018 at 15:04, Chris Buckmaster 
mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my 
external graphics for point layers are not displaying (they revert to a default 
grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11 and 
2.13 which might be causing problems? Inaccessibility problems for Geoserver to 
online resources?

An example of my xml is below:


http://www.opengis.net/sld; 
xmlns:ogc="http://www.opengis.net/ogc; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.1.0" 
xmlns:xlink="http://www.w3.org/1999/xlink; 
xsi:schemaLocation="http://www.opengis.net/sld 
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd; 
xmlns:se="http://www.opengis.net/se;>
  
cctv_cameras

  cctv_cameras
  

  Single symbol
  

  
http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png"/>
image/png
  
  
  

  

  

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] External legend graphic issues (Geoserver 2.13.1)

2018-06-05 Thread Chris Buckmaster
I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my 
external graphics for point layers are not displaying (they revert to a default 
grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11 and 
2.13 which might be causing problems? Inaccessibility problems for Geoserver to 
online resources?

An example of my xml is below:


http://www.opengis.net/sld; 
xmlns:ogc="http://www.opengis.net/ogc; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.1.0" 
xmlns:xlink="http://www.w3.org/1999/xlink; 
xsi:schemaLocation="http://www.opengis.net/sld 
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd; 
xmlns:se="http://www.opengis.net/se;>
  
cctv_cameras

  cctv_cameras
  

  Single symbol
  

  
http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png"/>
image/png
  
  
  

  

  

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] 400: Problem communicating with Geoserver

2017-05-11 Thread Chris Buckmaster
Hi Andrea / list

Trying to re-save my raster data store which contains the GeoTIFFs  I am trying 
to run as an ImageMosaic, I now receive the below exception error:

Failed to create reader from file://D:\data\rasters\aerials\2008 and hints 
Hints: STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http 
LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 GRID_COVERAGE_FACTORY 
= GridCoverageFactory TILE_ENCODING = null FORCE_LONGITUDE_FIRST_AXIS_ORDER = 
true FILTER_FACTORY = FilterFactoryImpl EXECUTOR_SERVICE = 
java.util.concurrent.ThreadPoolExecutor@1c3ed9a[Running, pool size = 0, active 
threads = 0, queued tasks = 0, completed tasks = 0] FEATURE_FACTORY = 
org.geotools.feature.LenientFeatureFactoryImpl@1212018<mailto:org.geotools.feature.LenientFeatureFactoryImpl@1212018>

I cannot decode this but might provide more details on why I am having issues?

Chris


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 10 May 2017 13:51
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk, 
configured and displayed it without any issue:

[Inline image 1]

I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)

Cheers
Andrea



On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for 
some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use 
as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: andrea.a...@gmail.com<mailto:andrea.a...@gmail.com> 
[mailto:andrea.a...@gmail.com<mailto:andrea.a...@gmail.com>] On Behalf Of 
Andrea Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 
2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply 
modified since
then (I see 161 commits in that module alone since March 2014), long story 
short,
I have no clue as to what might have changed that is specific to your case, 
sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a 
look, or else,
you could try bisecting the release history and see when it stops working 
(e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to 
a specific
release in which it worked, and the next one in which it stopped working, that 
would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313<tel:+39%200584%20962313>
fax: +39 0584 1660272<tel:+39%200584%20166%200272>
mob: +39  339 8844549<tel:+39%20339%20884%204549>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or

Re: [Geoserver-users] 400: Problem communicating with Geoserver

2017-05-10 Thread Chris Buckmaster
Hi Andrea

Thanks very much for giving it a go really appreciate it, I will see if I have 
any more success.

Chris


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 10 May 2017 13:51
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk, 
configured and displayed it without any issue:

[Inline image 1]

I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)

Cheers
Andrea



On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for 
some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use 
as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: andrea.a...@gmail.com<mailto:andrea.a...@gmail.com> 
[mailto:andrea.a...@gmail.com<mailto:andrea.a...@gmail.com>] On Behalf Of 
Andrea Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 
2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply 
modified since
then (I see 161 commits in that module alone since March 2014), long story 
short,
I have no clue as to what might have changed that is specific to your case, 
sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a 
look, or else,
you could try bisecting the release history and see when it stops working 
(e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to 
a specific
release in which it worked, and the next one in which it stopped working, that 
would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313<tel:+39%200584%20962313>
fax: +39 0584 1660272<tel:+39%200584%20166%200272>
mob: +39  339 8844549<tel:+39%20339%20884%204549>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Tech

Re: [Geoserver-users] 400: Problem communicating with Geoserver

2017-05-10 Thread Chris Buckmaster
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for 
some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use 
as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 
2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply 
modified since
then (I see 161 commits in that module alone since March 2014), long story 
short,
I have no clue as to what might have changed that is specific to your case, 
sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a 
look, or else,
you could try bisecting the release history and see when it stops working 
(e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to 
a specific
release in which it worked, and the next one in which it stopped working, that 
would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] 400: Problem communicating with Geoserver

2017-05-10 Thread Chris Buckmaster
Hi Andrea

Nothing has changed within the 2008 directory – I recently installed version 
2.11 of Geoserver so I don’t know if I need to grant it read / write 
permissions to my D: drive?

Saying that, I have enabled caching for other layers (mostly accessed via 
PostGIS) and Geoserver is creating cached tiles on the D: drive so it should 
have the necessary write permissions.

My previous Geoserver version was 2.5 so has anything changed between 2.5 and 
2.11 in relation to the ImageMosaic format that I might need to tweak?

Thanks, Chris



From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 09 May 2017 16:08
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Tue, May 9, 2017 at 4:27 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Caused by: java.io.IOException: Failed to create reader from 
file://D:\data\rasters\aerials\2008 and 
hints Hints:
  COMPARISON_TOLERANCE = 1.0E-8
  FILTER_FACTORY   = FilterFactoryImpl
  EXECUTOR_SERVICE = 
java.util.concurrent.ThreadPoolExecutor@15a6853[Running<mailto:java.util.concurrent.ThreadPoolExecutor@15a6853[Running>,
 pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
  FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
  FORCE_AXIS_ORDER_HONORING= http
  STYLE_FACTORY= StyleFactoryImpl
  LENIENT_DATUM_SHIFT  = true
  FEATURE_FACTORY  = 
org.geotools.feature.LenientFeatureFactoryImpl@c55f60<mailto:org.geotools.feature.LenientFeatureFactoryImpl@c55f60>
  GRID_COVERAGE_FACTORY= GridCoverageFactory
TILE_ENCODING  = null

at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1495)
at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1396)
at 
org.geoserver.catalog.impl.CoverageInfoImpl.getGridCoverageReader(CoverageInfoImpl.java:164)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
at com.sun.proxy.$Proxy15.getGridCoverageReader(Unknown Source)
at 
org.geoserver.wms.MapLayerInfo.getCoverageReader(MapLayerInfo.java:333)
at 
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:504)
... 103 more

So the above error is GeoServer not able to create a imag emosaic reader from 
the D:\data\rasters\aerials\2008 directory.
Anything changed there? Like, don't know, file access permissions and the like?
Or maybe the directory is not writable? (2.11 will try to replace the 
sample_image with a new implementation that does not
cause memory leaks).

Generally speaking, try to get WMS on that layer working first, and then go 
back to GWC.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in th

[Geoserver-users] 400: Problem communicating with Geoserver

2017-05-09 Thread Chris Buckmaster
I am using Geoserver 2.11 and have a pre seeded ImageMosaic layer containing 
multiple GeoTIFFs that I am having issues with trying to access at its most 
detailed zoom level which is not seeded via WMTS. On trying to access, it is 
giving me an error:
400: Problem communicating with GeoServer
I have included some of the report from the Geoserver log below - I have 
changed my gwc directory to the D: drive and changed this in the config file - 
all of my other non-raster ImageMosaic layers are caching fine, it is just this 
one that is throwing an issue.


org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to create reader from 
file://D:\data\rasters\aerials\2008 and hints Hints:
  COMPARISON_TOLERANCE = 1.0E-8
  FILTER_FACTORY   = FilterFactoryImpl
  EXECUTOR_SERVICE = 
java.util.concurrent.ThreadPoolExecutor@15a6853[Running, pool size = 0, active 
threads = 0, queued tasks = 0, completed tasks = 0]
  FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
  FORCE_AXIS_ORDER_HONORING= http
  STYLE_FACTORY= StyleFactoryImpl
  LENIENT_DATUM_SHIFT  = true
  FEATURE_FACTORY  = 
org.geotools.feature.LenientFeatureFactoryImpl@c55f60
  GRID_COVERAGE_FACTORY= GridCoverageFactory
TILE_ENCODING  = null

at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1495)
at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1396)
at 
org.geoserver.catalog.impl.CoverageInfoImpl.getGridCoverageReader(CoverageInfoImpl.java:164)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
at com.sun.proxy.$Proxy15.getGridCoverageReader(Unknown Source)
at 
org.geoserver.wms.MapLayerInfo.getCoverageReader(MapLayerInfo.java:333)
at 
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:504)
... 103 more
2017-05-09 14:53:18,233 ERROR [geowebcache.GeoWebCacheDispatcher] - Problem 
communicating with GeoServer http://localhost:8081/geoserver/gwc/service/wmts
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] authkey plugin issues - upgrading Geoserver

2017-05-08 Thread Chris Buckmaster
Hi

I am having issues accessing my authentication page of the web admin interface 
after updating my geoserver version (from 2.5 to 2.11).

I believe it could be something to do with the fact that I had implemented the 
authkey plugin in my old version, and then copied over my data dir when I 
installed 2.11, but do I need to have re-installed authkey again? Would any 
files have been removed when the fresh version was installed from folders 
outside of the data dir?

Thanks, Chris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Seeded ImageMosaic rasters not displaying - exception report

2017-05-05 Thread Chris Buckmaster
Hi

I have an issue with several aerial image datasets which have been loaded as 
ImageMosaics and then seeded using the GWC (seeded in Geoserver 2.5 but have 
now upgraded to version 2.11).

On trying to access them through a web browser I am getting the following 
message:

http://www.opengis.net/ows/1.1; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
version="1.1.0"xsi:schemaLocation="http://www.opengis.net/ows/1.1 
http://geowebcache.org/schema/ows/1.1.0/owsExceptionReport.xsd;>


default while fetching modifiable parameters for LAYER rasters:aerial2003





I don't know really know where to start in investigating - my other datasets 
from my PostGIS data store display ok (they haven't been seeded but are set up 
to be cached using GWC) so it is just the raster ImageMosaic layers that are 
causing an issue.

Thanks, Chris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Upgrade from 2.5 to 2.11 - security / authentication issue

2017-05-05 Thread Chris Buckmaster
Hi

I upgraded Geoserver from 2.5 to 2.11 but have found an issue when trying to 
open the Authentication area on the web admin page, it comes up with the 
attached error report.

To explain, I had an initial issue when trying to upgrade by just installing 
over the top of 2.5, I found myself getting an HTTP error 503 relating to 
service unavailability. I then decided to backup my data dir, uninstall 2.5 and 
install 2.11 fresh, choosing the default  data dir.

I then copied back my original data dir to the same location and it brought 
back my layers, styles etc but has given me this problem relating to my 
existing data layer authentication / security.

I then tried to replace the security folder with the default folder after 
installing 2.11 but again it gave the HTTP error 503 so I reverted back to my 
original security folder from 2.5.

Have there been any changes to the way security / authentication works between 
2.5 and 2.11? I am not sure if the attached error report provides clues as to 
what the issue might be?

Thanks

Chris

org.apache.wicket.WicketRuntimeException: Can't instantiate page using 
constructor 'public org.geoserver.security.web.auth.AuthenticationPage()'. An 
exception has been thrown during construction!
at 
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
at 
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
at 
org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:102)
at 
org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271)
at 
org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
at 
org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
at 
org.apache.wicket.request.handler.render.WebPageRenderer.isPageStateless(WebPageRenderer.java:287)
at 
org.apache.wicket.request.handler.render.WebPageRenderer.shouldRenderPageAndWriteResponse(WebPageRenderer.java:329)
at 
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:193)
at 
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at 
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at 
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at 
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at 

Re: [Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Chris Buckmaster
Hi Ian

Thanks for the reply, sorry I should have specified these are aerial rasters 
and not part of any OS product.

The same issue seems to apply in QGIS when bringing in the layer as a WMTS 
(first two levels displayed as black and white, then the rest are displayed 
correctly as colour).

Chris

From: Ian Turton [mailto:ijtur...@gmail.com]
Sent: 27 January 2017 15:17
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Raster seed producing black and white tiles

Some of the OS raster data sets have broken overviews when shipped so it's 
worth checking the tiles out in QGis (or other GIS) and maybe rebuilding the 
overviews before adding them to GeoServer.

Ian

On 27 January 2017 at 14:08, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in 
Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out 
levels, it has seeded them as black and white, with the more detailed levels 
seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and 
white – would it be related to the GeoTIFF files, or something related to 
Geoserver?

Thanks

Chris



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Ian Turton
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Chris Buckmaster
Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in 
Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out 
levels, it has seeded them as black and white, with the more detailed levels 
seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and 
white - would it be related to the GeoTIFF files, or something related to 
Geoserver?

Thanks

Chris


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Return specific layer from WMS request?

2016-08-31 Thread Chris Buckmaster
Ah nice thanks Andrea!


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 31 August 2016 10:16
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Return specific layer from WMS request?

Yes and no... the request would be like this one, for topp:states:

http://demo.geo-solutions.it/geoserver/topp/states/ows?service=wms=1.3.0=GetCapabilities

but the current code still returns also the layer groups at the top level (not 
entirely sure why btw, it's probably a bug)

Cheers
Andrea


On Wed, Aug 31, 2016 at 11:01 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I am wondering if it is possible to return specific layers from a Geoserver WMS 
request?

After looking I don’t think it is possible to just include 
‘layer=layerworkspace:layername’ like a WFS request, but read in the documents 
that the workspace name can be included, and then a namespace specified which 
could be the layer?

For example, I tried the below URL but only managed to retrieve all the layers 
within the ‘environment’ workspace.

http://myserver/geoserver/environment/wms?service=WMS=GetCapabilities=air_quality_management_areas

Is such a request possible? Should the above work? Perhaps I need to configure 
my workspace parameters for the above request to be accessible?

Thanks, Chris

--

___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems with adding WFS layers

2016-08-22 Thread Chris Buckmaster
I now believe this might be an issue with the use of 'location' as a column 
name - it loads ok using WFS 1.0.0 but 1.1.0 and 2.0.0 it does not load.

Did anything change in the specification between 1.0.0 and 1.1.0 to not allow 
these reserved word types as normal columns? Are there work arounds for this 
issue or would I need to rename any columns using 'location'?


From: Chris Buckmaster
Sent: 22 August 2016 14:51
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Problems with adding WFS layers

Hi


Not sure if this is a QGIS or Geoserver issue...

I have a WFS provided through Geoserver v2.5 - I have no issues adding layers 
from the WFS using QGIS v2.14, but in QGIS v2.16 I am encountering some 
problems with a selection of layers (within a specific Geoserver store).

The store which holds the layers that are not loading has the 'Expose primary 
keys' option ticked whereas others do not that are loading ok (I need to expose 
the primary keys), would this cause any problems? Below is the error I am 
getting when trying to access layers from this store...

2016-08-22T14:44:41 1 Server generated an exception in GetFeature response: 
java.lang.RuntimeException: Failed to get property: axisLabels
Failed to get property: axisLabels
java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry
2016-08-22T14:44:41 1 Download of features for layer 
planning:tree_preservation_orders failed or partially failed: Server generated 
an exception in GetFeature response: java.lang.RuntimeException: Failed to get 
property: axisLabels
Failed to get property: axisLabels
java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry. You 
may attempt reloading the layer with F5


Chris

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problems with adding WFS layers

2016-08-22 Thread Chris Buckmaster
Hi


Not sure if this is a QGIS or Geoserver issue...

I have a WFS provided through Geoserver v2.5 - I have no issues adding layers 
from the WFS using QGIS v2.14, but in QGIS v2.16 I am encountering some 
problems with a selection of layers (within a specific Geoserver store).

The store which holds the layers that are not loading has the 'Expose primary 
keys' option ticked whereas others do not that are loading ok (I need to expose 
the primary keys), would this cause any problems? Below is the error I am 
getting when trying to access layers from this store...

2016-08-22T14:44:41 1 Server generated an exception in GetFeature response: 
java.lang.RuntimeException: Failed to get property: axisLabels
Failed to get property: axisLabels
java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry
2016-08-22T14:44:41 1 Download of features for layer 
planning:tree_preservation_orders failed or partially failed: Server generated 
an exception in GetFeature response: java.lang.RuntimeException: Failed to get 
property: axisLabels
Failed to get property: axisLabels
java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry. You 
may attempt reloading the layer with F5


Chris

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver online resource set as localhost - how can I change it?

2016-08-18 Thread Chris Buckmaster
Hi

I was having a look at my Geoserver WMS capabilities file and noticed that my 
GetCapabilities Online Resource is set as 'localhost' rather than my external 
URL address - where am I able to change this? Is this done in the Admin 
interface or would I need to configure a file elsewhere?

Thanks, Chris

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] authkey module in Geoserver 2.5?

2016-08-16 Thread Chris Buckmaster
Problem solved – I needed to add the authkey to the default filter chain, it 
now works!


From: Chris Buckmaster
Sent: 16 August 2016 12:05
To: Christian Mueller
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Christian

I noticed the ‘Enable Data Security’ option within GeoWebCache so enabled this, 
I now receive an HTTP 200 response in my OL3 application which is positive but 
I think there is still an issue related to an exception code? My response is:


http://www.opengis.net/ows; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0.0" 
xsi:schemaLocation="http://www.opengis.net/ows 
http://localhost:8081/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd<http://www.opengis.net/ows%20http:/localhost:8081/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd>">


org.geotools.ows.ServiceException: Could not find layer 
transport:adopted_highways Could not find layer transport:adopted_highways




I will also try a WMS request.

Thank you

From: Christian Mueller [mailto:christian.muel...@os-solutions.at]
Sent: 16 August 2016 12:03
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Chris

Please can you check using a WMS request.

I never tried with WMTS.

Cheers
Christian

On Tue, Aug 16, 2016 at 12:34 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Saying that, I am now having problems being able to display the layer through 
Openlayers 3.

This is probably more a question for an Openlayers 3 community discussion, but 
the issue is as follows – I presume we can use authkey with WMTS requests?

I have used the generated authkey for my ‘test’ user and included it within my 
Openlayers 3 code to add the layer to the map, but I receive an HTTP 400 
request error.

An example request is here: 
http://maps.runnymede.gov.uk/geoserver/gwc/service/wmts?authkey=2ad648df-372f-4e29-9cc1-44e3635ae07e=transport%3Aadopted_highways=adopted_highways=EPSG%3A27700=WMTS=GetTile=1.0.0=image%2Fpng=EPSG%3A27700%3A5=104=169

My code is as follows:

var layer118 = new ol.layer.Tile({
source: new ol.source.WMTS({
url: 
'../../geoserver/gwc/service/wmts?authkey=2ad648df-372f-4e29-9cc1-44e3635ae07e',
layer: 'transport:adopted_highways',
style: 'adopted_highways',
matrixSet: 'EPSG:27700',
projection: bng,
format: 'image/png',
tileGrid: new ol.tilegrid.WMTS({
origin: [-238375, 1376256.0],
resolutions: resolutions,
matrixIds: ["EPSG:27700:0", "EPSG:27700:1", "EPSG:27700:2", 
"EPSG:27700:3", "EPSG:27700:4", "EPSG:27700:5", "EPSG:27700:6", "EPSG:27700:7", 
"EPSG:27700:8", "EPSG:27700:9", "EPSG:27700:10", "EPSG:27700:11", 
"EPSG:27700:12", "EPSG:27700:13"]
})
}),
id: 'transport:adopted_highways',
name: 'layer118',
label: 'Adopted Highways',
visible: false
});
map.addLayer(layer118);


Chris

From: Chris Buckmaster
Sent: 16 August 2016 09:37
To: Christian Mueller
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Christian

I managed to get this working in the end – I think I wasn’t clicking the 
synchronise button at the correct time and got a bit confused with the 
procedure I needed to follow!

I know have keys available to use – thank you for replying.

Cheers


From: Christian Mueller [mailto:christian.muel...@os-solutions.at]
Sent: 16 August 2016 09:36
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Chris, some questions


Did you add your new user "default" user group service ?

Then the default user/group is correct.


Did you add your user to authkeys.propeties ?

Cheers













On Fri, Aug 12, 2016 at 1:18 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
I’ve found I needed to install the module which I have done – my next question!

To do a basic test, I have set up a new user called ‘test’ with a new role 
called ‘TEST’ which my ‘test’ user is a part of; in my ‘Data Security’ I have 
set one layer to be accessed by the ‘TEST’ role.

What I want to do is create an authkey for the user ‘test’ but I cannot seem to 
find it in the User/Group Service drop down (I only have ‘default’) and do not 
understand what the options are under ‘Authentication key to user mapper’.

Is there documentation somewhere to explain this module,

Re: [Geoserver-users] authkey module in Geoserver 2.5?

2016-08-16 Thread Chris Buckmaster
Hi Christian

I noticed the ‘Enable Data Security’ option within GeoWebCache so enabled this, 
I now receive an HTTP 200 response in my OL3 application which is positive but 
I think there is still an issue related to an exception code? My response is:


http://www.opengis.net/ows; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0.0" 
xsi:schemaLocation="http://www.opengis.net/ows 
http://localhost:8081/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd;>


org.geotools.ows.ServiceException: Could not find layer 
transport:adopted_highways Could not find layer transport:adopted_highways




I will also try a WMS request.

Thank you

From: Christian Mueller [mailto:christian.muel...@os-solutions.at]
Sent: 16 August 2016 12:03
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Chris

Please can you check using a WMS request.

I never tried with WMTS.

Cheers
Christian

On Tue, Aug 16, 2016 at 12:34 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Saying that, I am now having problems being able to display the layer through 
Openlayers 3.

This is probably more a question for an Openlayers 3 community discussion, but 
the issue is as follows – I presume we can use authkey with WMTS requests?

I have used the generated authkey for my ‘test’ user and included it within my 
Openlayers 3 code to add the layer to the map, but I receive an HTTP 400 
request error.

An example request is here: 
http://maps.runnymede.gov.uk/geoserver/gwc/service/wmts?authkey=2ad648df-372f-4e29-9cc1-44e3635ae07e=transport%3Aadopted_highways=adopted_highways=EPSG%3A27700=WMTS=GetTile=1.0.0=image%2Fpng=EPSG%3A27700%3A5=104=169

My code is as follows:

var layer118 = new ol.layer.Tile({
source: new ol.source.WMTS({
url: 
'../../geoserver/gwc/service/wmts?authkey=2ad648df-372f-4e29-9cc1-44e3635ae07e',
layer: 'transport:adopted_highways',
style: 'adopted_highways',
matrixSet: 'EPSG:27700',
projection: bng,
format: 'image/png',
tileGrid: new ol.tilegrid.WMTS({
origin: [-238375, 1376256.0],
resolutions: resolutions,
matrixIds: ["EPSG:27700:0", "EPSG:27700:1", "EPSG:27700:2", 
"EPSG:27700:3", "EPSG:27700:4", "EPSG:27700:5", "EPSG:27700:6", "EPSG:27700:7", 
"EPSG:27700:8", "EPSG:27700:9", "EPSG:27700:10", "EPSG:27700:11", 
"EPSG:27700:12", "EPSG:27700:13"]
    })
    }),
id: 'transport:adopted_highways',
name: 'layer118',
label: 'Adopted Highways',
visible: false
});
map.addLayer(layer118);


Chris

From: Chris Buckmaster
Sent: 16 August 2016 09:37
To: Christian Mueller
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Christian

I managed to get this working in the end – I think I wasn’t clicking the 
synchronise button at the correct time and got a bit confused with the 
procedure I needed to follow!

I know have keys available to use – thank you for replying.

Cheers


From: Christian Mueller [mailto:christian.muel...@os-solutions.at]
Sent: 16 August 2016 09:36
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Chris, some questions


Did you add your new user "default" user group service ?

Then the default user/group is correct.


Did you add your user to authkeys.propeties ?

Cheers













On Fri, Aug 12, 2016 at 1:18 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
I’ve found I needed to install the module which I have done – my next question!

To do a basic test, I have set up a new user called ‘test’ with a new role 
called ‘TEST’ which my ‘test’ user is a part of; in my ‘Data Security’ I have 
set one layer to be accessed by the ‘TEST’ role.

What I want to do is create an authkey for the user ‘test’ but I cannot seem to 
find it in the User/Group Service drop down (I only have ‘default’) and do not 
understand what the options are under ‘Authentication key to user mapper’.

Is there documentation somewhere to explain this module, or would anyone know 
how I can create an authkey for my user ‘test’?

Thanks

From: Chris Buckmaster
Sent: 12 August 2016 11:51
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] authkey module in Geoserver 2.5?

Hi

I would like to explore the authkey module in Geoserver 2.5 to see if it is 
something that could be useful for my setup.

After looking at 

Re: [Geoserver-users] authkey module in Geoserver 2.5?

2016-08-16 Thread Chris Buckmaster
Hi Christian

I managed to get this working in the end – I think I wasn’t clicking the 
synchronise button at the correct time and got a bit confused with the 
procedure I needed to follow!

I know have keys available to use – thank you for replying.

Cheers


From: Christian Mueller [mailto:christian.muel...@os-solutions.at]
Sent: 16 August 2016 09:36
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] authkey module in Geoserver 2.5?

Hi Chris, some questions


Did you add your new user "default" user group service ?

Then the default user/group is correct.


Did you add your user to authkeys.propeties ?

Cheers













On Fri, Aug 12, 2016 at 1:18 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
I’ve found I needed to install the module which I have done – my next question!

To do a basic test, I have set up a new user called ‘test’ with a new role 
called ‘TEST’ which my ‘test’ user is a part of; in my ‘Data Security’ I have 
set one layer to be accessed by the ‘TEST’ role.

What I want to do is create an authkey for the user ‘test’ but I cannot seem to 
find it in the User/Group Service drop down (I only have ‘default’) and do not 
understand what the options are under ‘Authentication key to user mapper’.

Is there documentation somewhere to explain this module, or would anyone know 
how I can create an authkey for my user ‘test’?

Thanks

From: Chris Buckmaster
Sent: 12 August 2016 11:51
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] authkey module in Geoserver 2.5?

Hi

I would like to explore the authkey module in Geoserver 2.5 to see if it is 
something that could be useful for my setup.

After looking at the manual, I cannot seem to find the authkey authentication 
filter within my Authentication area, only; J2EE, Anonymouse, Remember Me, 
Form, X.509, HTTP Header, Basic and Digest.

Do I need to configure something for the authkey option to appear?

Thanks

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] authkey module in Geoserver 2.5?

2016-08-12 Thread Chris Buckmaster
I've found I needed to install the module which I have done - my next question!

To do a basic test, I have set up a new user called 'test' with a new role 
called 'TEST' which my 'test' user is a part of; in my 'Data Security' I have 
set one layer to be accessed by the 'TEST' role.

What I want to do is create an authkey for the user 'test' but I cannot seem to 
find it in the User/Group Service drop down (I only have 'default') and do not 
understand what the options are under 'Authentication key to user mapper'.

Is there documentation somewhere to explain this module, or would anyone know 
how I can create an authkey for my user 'test'?

Thanks

From: Chris Buckmaster
Sent: 12 August 2016 11:51
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] authkey module in Geoserver 2.5?

Hi

I would like to explore the authkey module in Geoserver 2.5 to see if it is 
something that could be useful for my setup.

After looking at the manual, I cannot seem to find the authkey authentication 
filter within my Authentication area, only; J2EE, Anonymouse, Remember Me, 
Form, X.509, HTTP Header, Basic and Digest.

Do I need to configure something for the authkey option to appear?

Thanks
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] authkey module in Geoserver 2.5?

2016-08-12 Thread Chris Buckmaster
Hi

I would like to explore the authkey module in Geoserver 2.5 to see if it is 
something that could be useful for my setup.

After looking at the manual, I cannot seem to find the authkey authentication 
filter within my Authentication area, only; J2EE, Anonymouse, Remember Me, 
Form, X.509, HTTP Header, Basic and Digest.

Do I need to configure something for the authkey option to appear?

Thanks
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geosever security - WFS / WMS services and Openlayers

2016-08-01 Thread Chris Buckmaster
Hi Paul

That sounds interesting, I will have a look at the module you mentioned.

Chris

-Original Message-
From: Paul Wittle [mailto:p.wit...@dorsetcc.gov.uk] 
Sent: 01 August 2016 09:39
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geosever security - WFS / WMS services and 
Openlayers

Hi Chris,

I work for Dorset county council and we are currently using the AUTHKEY plugin 
which is available under the community plugins. This is great from an 
OpenLayers point of view. With regard to the QGIS users, I setup a separate 
role specifically assigned to the username and password which we are using in 
QGIS.

Remember, as far as I'm aware, QGIS still stores the password in plain text in 
the project files so at present I felt it best to just have one account for all 
our QGIS users but I'm aware the role idea is perhaps not so great if you have 
hundreds of users.

Andrea, in terms of the monitoring plugin, can it log the user being used for 
each request?

I only wondered as the user session is maintained in the background and I'm not 
sure it is currently included in the outputs.

I still have not had time to fully review the monitoring plugin but I have been 
using the audit log functionality and I have decided that the files it creates 
are what I'm after. These can be customised using the FreeMarker templates and 
I can then write something my end to summarise the data.

This raises three questions:
1)  Can you add the logged in user to the audit role?
2)  Could you just have the audit role? (i.e. no other monitoring 
plugin options just audit role files)
3)  If you can do point 1, would this help Chris solve his issues 
if he was using a specific user account for QGIS?

Cheers,
Paul

--

Message: 2
Date: Mon, 1 Aug 2016 08:02:01 +
From: Chris Buckmaster <chris.buckmas...@runnymede.gov.uk>
Subject: Re: [Geoserver-users] Geosever security - WFS / WMS services
and Openlayers
To: Andrea Aime <andrea.a...@geo-solutions.it>
Cc: "geoserver-users@lists.sourceforge.net"
<geoserver-users@lists.sourceforge.net>
Message-ID:

<0ae8eab40c6d4d439cc65cf2257093a0805aa...@rbcex01.civicoffices.runnymede.gov.uk>

Content-Type: text/plain; charset="utf-8"

Thank you Andrea, I will investigate this.

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 29 July 2016 16:38
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geosever security - WFS / WMS services and 
Openlayers

Hi Chris,
openlayers and the desktop clients are making pretty much the same OGC 
requests, so I don't believe you can tell them apart using the built-in 
authorization mechanism.

But the mechanism is pluggable, so you could write your own that checks the 
incoming requests for hints... hard to find a solid solution, but some ideas 
off the top of my head (warning, only thought about it a split minute):
* Desktop clients _may_ setup the "user agent" HTTP header in a way that can be 
recognized, or you
  could just whitelist the user agents of most browsers (mind,   you might end 
up blocking uncommon browsers in the process, and possibly the ones in 
incognito mode too)
* If the openlayers based client is written by you, you could add an extra 
vendor parameter to the GetMap requests, it's normally
  hard/impossible to make common desktop clients to do the same.

Both approaches are weak against someone resourceful writing his own client and 
spoofing the right params/user agent values by examining your web client of 
course.

Cheers
Andrea


On Fri, Jul 29, 2016 at 5:06 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I am running Geoserver version 2.5 and have an Openlayers 3 web map application 
which accesses some WMS and WFS services from the Geoserver instance.

At the moment I haven?t configured any authentication so it is running the 
default settings.

What I would like is to allow this to continue so my Openlayers application has 
full access to all of the layers on Geoserver, but for anyone accessing my WMS 
/ WFS (i.e through QGIS), I would like to include a username / password or 
restrict the layers visible through these services.

I have had a quick look the manual trying to understand how this works but 
cannot seem to grasp it ? I know there are authentication settings within the 
web interface, but would these not be for the whole of Geoserver? How am I able 
to allow access to my Openlayers application, but also restrict access to the 
WFS / WMS services for desktop users wanting to view my services?

Thanks, Chris

--

___
Geoserver-users mailing list
Geoserver-users@lists.s

Re: [Geoserver-users] Geosever security - WFS / WMS services and Openlayers

2016-08-01 Thread Chris Buckmaster
Thank you Andrea, I will investigate this.

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 29 July 2016 16:38
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geosever security - WFS / WMS services and 
Openlayers

Hi Chris,
openlayers and the desktop clients are making pretty much the same OGC 
requests, so I don't believe
you can tell them apart using the built-in authorization mechanism.

But the mechanism is pluggable, so you could write your own that checks the 
incoming requests for
hints... hard to find a solid solution, but some ideas off the top of my head 
(warning, only thought about it a split minute):
* Desktop clients _may_ setup the "user agent" HTTP header in a way that can be 
recognized, or you
  could just whitelist the user agents of most browsers (mind,   you might end 
up blocking uncommon browsers in the process, and possibly the ones in 
incognito mode too)
* If the openlayers based client is written by you, you could add an extra 
vendor parameter to the GetMap requests, it's normally
  hard/impossible to make common desktop clients to do the same.

Both approaches are weak against someone resourceful writing his own client and 
spoofing the right
params/user agent values by examining your web client of course.

Cheers
Andrea


On Fri, Jul 29, 2016 at 5:06 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I am running Geoserver version 2.5 and have an Openlayers 3 web map application 
which accesses some WMS and WFS services from the Geoserver instance.

At the moment I haven’t configured any authentication so it is running the 
default settings.

What I would like is to allow this to continue so my Openlayers application has 
full access to all of the layers on Geoserver, but for anyone accessing my WMS 
/ WFS (i.e through QGIS), I would like to include a username / password or 
restrict the layers visible through these services.

I have had a quick look the manual trying to understand how this works but 
cannot seem to grasp it – I know there are authentication settings within the 
web interface, but would these not be for the whole of Geoserver? How am I able 
to allow access to my Openlayers application, but also restrict access to the 
WFS / WMS services for desktop users wanting to view my services?

Thanks, Chris

--

___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail

[Geoserver-users] Geosever security - WFS / WMS services and Openlayers

2016-07-29 Thread Chris Buckmaster
Hi

I am running Geoserver version 2.5 and have an Openlayers 3 web map application 
which accesses some WMS and WFS services from the Geoserver instance.

At the moment I haven't configured any authentication so it is running the 
default settings.

What I would like is to allow this to continue so my Openlayers application has 
full access to all of the layers on Geoserver, but for anyone accessing my WMS 
/ WFS (i.e through QGIS), I would like to include a username / password or 
restrict the layers visible through these services.

I have had a quick look the manual trying to understand how this works but 
cannot seem to grasp it - I know there are authentication settings within the 
web interface, but would these not be for the whole of Geoserver? How am I able 
to allow access to my Openlayers application, but also restrict access to the 
WFS / WMS services for desktop users wanting to view my services?

Thanks, Chris
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Disable / alter Geoserver web admin interface for    external users

2016-07-11 Thread Chris Buckmaster
Thanks for the advice Jonathan!


From: Jonathan Moules [mailto:jonathan-li...@lightpear.com]
Sent: 11 July 2016 14:52
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] Disable / alter Geoserver web admin interface 
forexternal users

Hi Chris,

In that scenario my first thought would be of having multiple instances of 
GeoServer - a development one (which has the web interface and you can 
administer), and then a production one which has the web-interface disabled. 
This removes the risk of mistakes in administering affecting production users.

Alternately, you could also indeed do IIS authentication - just be sure to only 
require authentication for requests to the /web/ path. This won't impact any 
access to your data as they come through other paths.
If you *do* want (some) other people to be able to administer the system, but 
only specific layers, then Jim's solution would be the best. If you want to 
have everything (for you and other admins) or nothing (for everyone else), then 
the IIS option will probably be simplest.

Cheers,
Jonathan


 On Mon, 11 Jul 2016 14:22:36 +0100 Chris 
Buckmaster<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>>
 wrote 
Hi Jonathan

Yes I did notice that but do need access to it within my internal network so I 
can carry out admin work, I also thought about adding authentication in Windows 
IIS but probably wouldn’t be a good approach as it might affect access to the 
data layers themselves.

Will have a look at the information provided by Jim in the previous post.

Chris


From: Jonathan Moules 
[mailto:jonathan-li...@lightpear.com<mailto:jonathan-li...@lightpear.com>]
Sent: 11 July 2016 14:20
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Disable / alter Geoserver web admin interface 
forexternal users

Hi Chris,
Have you tried the two options at the bottom of this page:
http://docs.geoserver.org/latest/en/user/production/config.html#disable-the-geoserver-web-administration-interface

They will allow you to disable the web admin interface entirely I believe.

Cheers,
Jonathan

 On Mon, 11 Jul 2016 14:00:29 +0100 Chris 
Buckmaster<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>>
 wrote 
Hi

I am wondering if there is a way to either disable or limit the amount of 
information displayed when external users are accessing my Geoserver web 
interface?

They currently are able to view my layers and other settings; I noticed that on 
some other public geoserver web areas the options on the left hand side have 
been removed, how am I able to do this?

Thanks
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users




--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Disable / alter Geoserver web admin interface for    external users

2016-07-11 Thread Chris Buckmaster
I'll take a look at that as well thanks Jim.


From: Jim Hughes [mailto:jn...@ccri.com]
Sent: 11 July 2016 14:29
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Disable / alter Geoserver web admin interface 
forexternal users

Hi Chris,

Ah!  If you need separate access for an ip block, you might want to explore 
GeoFence: https://github.com/geoserver/geofence/wiki/Main-concepts.

Not all the features are available in the module version, so you may need to 
install a stand-alone GeoFence.

Cheers,

Jim
On 07/11/2016 09:22 AM, Chris Buckmaster wrote:
Hi Jonathan

Yes I did notice that but do need access to it within my internal network so I 
can carry out admin work, I also thought about adding authentication in Windows 
IIS but probably wouldn't be a good approach as it might affect access to the 
data layers themselves.

Will have a look at the information provided by Jim in the previous post.

Chris


From: Jonathan Moules [mailto:jonathan-li...@lightpear.com]
Sent: 11 July 2016 14:20
To: Chris Buckmaster
Cc: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Disable / alter Geoserver web admin interface 
forexternal users

Hi Chris,
Have you tried the two options at the bottom of this page:
http://docs.geoserver.org/latest/en/user/production/config.html#disable-the-geoserver-web-administration-interface

They will allow you to disable the web admin interface entirely I believe.

Cheers,
Jonathan

 On Mon, 11 Jul 2016 14:00:29 +0100 Chris 
Buckmaster<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>>
 wrote 
Hi

I am wondering if there is a way to either disable or limit the amount of 
information displayed when external users are accessing my Geoserver web 
interface?

They currently are able to view my layers and other settings; I noticed that on 
some other public geoserver web areas the options on the left hand side have 
been removed, how am I able to do this?

Thanks
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users






--

Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San

Francisco, CA to explore cutting-edge tech and listen to tech luminaries

present their vision of the future. This family event has something for

everyone, including kids. Get more information and register today.

http://sdm.link/attshape




___

Geoserver-users mailing list

Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Disable / alter Geoserver web admin interface for    external users

2016-07-11 Thread Chris Buckmaster
Hi Jonathan

Yes I did notice that but do need access to it within my internal network so I 
can carry out admin work, I also thought about adding authentication in Windows 
IIS but probably wouldn’t be a good approach as it might affect access to the 
data layers themselves.

Will have a look at the information provided by Jim in the previous post.

Chris


From: Jonathan Moules [mailto:jonathan-li...@lightpear.com]
Sent: 11 July 2016 14:20
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Disable / alter Geoserver web admin interface 
forexternal users

Hi Chris,
Have you tried the two options at the bottom of this page:
http://docs.geoserver.org/latest/en/user/production/config.html#disable-the-geoserver-web-administration-interface

They will allow you to disable the web admin interface entirely I believe.

Cheers,
Jonathan

 On Mon, 11 Jul 2016 14:00:29 +0100 Chris 
Buckmaster<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>>
 wrote 
Hi

I am wondering if there is a way to either disable or limit the amount of 
information displayed when external users are accessing my Geoserver web 
interface?

They currently are able to view my layers and other settings; I noticed that on 
some other public geoserver web areas the options on the left hand side have 
been removed, how am I able to do this?

Thanks
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Disable / alter Geoserver web admin interface for external users

2016-07-11 Thread Chris Buckmaster
Hi

I am wondering if there is a way to either disable or limit the amount of 
information displayed when external users are accessing my Geoserver web 
interface?

They currently are able to view my layers and other settings; I noticed that on 
some other public geoserver web areas the options on the left hand side have 
been removed, how am I able to do this?

Thanks
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

2016-06-22 Thread Chris Buckmaster
That sounds like what I might need – is that altering the config file in the 
WEB-INF folder? Is there documentation online for carrying this out?


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 22 June 2016 09:54
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

On Wed, Jun 22, 2016 at 10:52 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Ah, bummer – any suggestions when using version 2.5, or would I need to 
upgrade? Or any ways I can serve my data in different ways so it will not 
modify my dates and introduce time zone details?

GeoServer reports dates and times in GMT, so you can set the entire system to 
be on GMT to avoid shifts.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

2016-06-22 Thread Chris Buckmaster
Ah, bummer – any suggestions when using version 2.5, or would I need to 
upgrade? Or any ways I can serve my data in different ways so it will not 
modify my dates and introduce time zone details?


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 22 June 2016 09:47
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

On Wed, Jun 22, 2016 at 10:45 AM, Andrea Aime 
<andrea.a...@geo-solutions.it<mailto:andrea.a...@geo-solutions.it>> wrote:

There was a discussion about this topic on geotools-devel some time ago, the 
outcome was that yes, also dates have timezone (not hard to grasp,
e.g., now it's Wednesday here in Europe, but in a few hours it will be Thursday 
in Australia). I believe that the outcome was also that it's useful to add a 
configuration flag
for those that do not work in an international settings, so that the dates do 
not get modified in those cases.
According to the docs there is a system variable you can set:
http://docs.geotools.org/latest/userguide/library/metadata/geotools.html

Oh, forgot to add, this settings is available, as far as I know, only starting 
with GeoServer 2.9.0

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

2016-06-22 Thread Chris Buckmaster
Thanks for your reply Andrea.

I have Geoserver installed as a Windows service and am not too knowledgeable on 
the Java environment – is this an application that can be installed to link 
into Geoserver to change the settings then? Am I able to change the Geoserver 
config settings to reflect the below through the config files if this isn’t 
possible using the UI?

Thanks, Chris

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 22 June 2016 09:46
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Time Zone issue with dates using GeoServer WFS

On Wed, Jun 22, 2016 at 9:50 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
The problem I am encountering is, for any dates that fall within British summer 
time (GMT Daylight Saving Time), it appears to be moving the actual date back 
by one day (i.e. for a date stored as 8th September 1993 in PostGIS, it is 
displaying as 07/09/1993 in my HTML / Javascript web application). The field is 
not a timestamp field, it is just a date field so from what I can gather it 
shouldn’t be storing any information on time zones?

There was a discussion about this topic on geotools-devel some time ago, the 
outcome was that yes, also dates have timezone (not hard to grasp,
e.g., now it's Wednesday here in Europe, but in a few hours it will be Thursday 
in Australia). I believe that the outcome was also that it's useful to add a 
configuration flag
for those that do not work in an international settings, so that the dates do 
not get modified in those cases.
According to the docs there is a system variable you can set:
http://docs.geotools.org/latest/userguide/library/metadata/geotools.html

So starting your JVM with -Dorg.geotools.localDateTimeHandling=true should 
change the behavior. It would be nice to have that as a global setting
in the GeoServer UI... anyone interested in coding it? :-)

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-21 Thread Chris Buckmaster
Ok thanks Andrea

Chris

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 21 April 2016 08:34
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How to delete tile layer cache if layer data is 
updated?

On Thu, Apr 21, 2016 at 9:29 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Thanks for the reply Andrea, someone also mentioned that because the cache is 
stored as flat files, I could just write a scheduled task to delete these files 
on the server? (this wouldn’t obviously work for the scenario I asked, but I 
think I would be fine with just deleting the cache each night).

I would only if you are not using a disk quota mechanism, if it is, you'd be 
deleting the files on the quota
mechanism's back, and there would be probably no recovery for its disk usage 
accounting at that point

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-21 Thread Chris Buckmaster
Thanks for the reply Andrea, someone also mentioned that because the cache is 
stored as flat files, I could just write a scheduled task to delete these files 
on the server? (this wouldn’t obviously work for the scenario I asked, but I 
think I would be fine with just deleting the cache each night).

Chris


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 20 April 2016 17:33
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How to delete tile layer cache if layer data is 
updated?

On Tue, Apr 19, 2016 at 10:02 AM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I am just wondering if there is a way to programmatically delete a tile layer’s 
cache if the data from the layer is updated?

GWC exposes a REST api with a truncate call that you can use to delete selected 
areas and zoom levels (or just everything if you want).
See the documentation: 
http://docs.geoserver.org/2.8.x/en/user/geowebcache/rest/index.html


Currently looking at trying to create a script that will just delete the cache 
from a scheduled task so I can make sure that the data is as current as 
possible (within the last day) when users are accessing the web application 
with the data on, but it would be even better if I can make it completely 
current.

Just call trucante when your data changes? The main issue is, how will 
GeoServer get to know your
data changed? No data source normally provides this information as an "event".
If you have a database, maybe you can setup triggers that can call the GWC rest 
api for you.

Or, if you modify the data via WFS-T though GeoServer, then it will be fully 
automatic (there is
an event that WFS sends to GWC to make it drop tiles)

Hope this helps

Cheers
Andrea


--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-19 Thread Chris Buckmaster
Hi

I am just wondering if there is a way to programmatically delete a tile layer's 
cache if the data from the layer is updated?

Currently looking at trying to create a script that will just delete the cache 
from a scheduled task so I can make sure that the data is as current as 
possible (within the last day) when users are accessing the web application 
with the data on, but it would be even better if I can make it completely 
current.

Thanks, Chris
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Clear tile cache overnight for specific WMTS layers?

2016-04-04 Thread Chris Buckmaster
Thanks Andrea

I also see there are options for each layer for ‘Expire server cache after n 
seconds’ and ‘Expire client cache after n seconds’ – presumably the default 
value of 0 does nothing, but if I set it to 1 then the cache would only be 
available for 1 second, so the user will always be redrawing with a new cache 
which might be an option for me?


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 04 April 2016 13:00
To: Chris Buckmaster
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Clear tile cache overnight for specific WMTS 
layers?

Hi Chris,
I don't think there is a built-in way to expire tiles at a particular time of 
day/night,
but once your scripts are done updating the data, you could make them
call truncate or reseed on the GWC REST API:

http://geowebcache.org/docs/1.8.1/rest/seed.html

Hope this helps

Cheers
Andrea


On Mon, Apr 4, 2016 at 1:31 PM, Chris Buckmaster 
<chris.buckmas...@runnymede.gov.uk<mailto:chris.buckmas...@runnymede.gov.uk>> 
wrote:
Hi

I have several layers on a web application where the raw data is updated 
overnight via scripts. I have noticed that when accessing the layers by WMTS, 
the cache still shows the data as it was the day before.

Is there an option in Geoserver where I can tell it to remove the client / 
server cache at a particular time, so that when my scripts run to update my 
data, I can show it is up to date?

Thanks, Chris

--

___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Clear tile cache overnight for specific WMTS layers?

2016-04-04 Thread Chris Buckmaster
Hi

I have several layers on a web application where the raw data is updated 
overnight via scripts. I have noticed that when accessing the layers by WMTS, 
the cache still shows the data as it was the day before.

Is there an option in Geoserver where I can tell it to remove the client / 
server cache at a particular time, so that when my scripts run to update my 
data, I can show it is up to date?

Thanks, Chris
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problems installing GDAL plugin to Geoserver 2.5

2016-03-03 Thread Chris Buckmaster

Hi

I am trying to enable access to the MrSID and ECW raster data stores and have 
been following the article here 
(http://docs.geoserver.org/2.5.x/en/user/data/raster/gdal.html) to try and add 
these additional raster data stores but they do not seem to be showing up.

I am on a 64 bit Windows Server 2008 R2 Standard operating system and have 
followed the instructions I think exactly. I did notice that the tutorial 
mentions ImageIO-Ext 1.1.10 but the GDAL plugin for version 2.5 seems to be 
using ImageIO-Ext 1.1.8 - I don't know if that makes any difference?

I am also running Geoserver as a windows service and have restarted the 
service, do I need to restart anything else to get this to work?

Regarding downloading Microsoft Visual C++ Redistributables, do I need Visual 
Studio installed on my system to allow these libraries to work; I have 
downloaded the MSVC2008 64 bit version as I am using Windows Server 2008, is 
this correct?

Sorry for the many questions, just want to get it working!

Thanks, Chris
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users