[Geoserver-users] GeoServer 2.24.4 released

2024-06-18 Thread Peter Smythe
*The GeoServer team is pleased to share the release of GeoServer 2.24.4
.Check
out the announcement for details: - Security Considerations (please note,
some are Critical)- Demo Requests page rewrittenThis is a maintenance
release recommended for production systems.Thanks to everyone who helped
produce and test the release.*
Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe
___
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] push data source

2024-05-14 Thread Peter Smythe
Hi Jeremy

While you *can* do this via GeoServer, it's probably far from optimal.
GeoServer is designed to publish data (via WMS, WFS standards).  You could
use a WFS-T (transaction) to update a device's location stored in a spatial
database, but it would be more efficient to have a simple CRUD API directly
to the database, not via GeoServer.  Take a look at https://postgrest.org/
perhaps?  You might  also want to look into websockets for real time
display updates.

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Mon, 13 May 2024 at 21:29, Jeremy Jackson  wrote:

> Is there a data source or API which would allow pushing a point feature
> and/or updating it in realtime?
>
> For example, a GPS tracking device which emits a location update once a
> minute, could this cause a map to be updated in real time?
>
>
>
> ___
> 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 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] forwarding GEBCO WMS fails - help needed

2024-04-24 Thread Peter Smythe
Hi Brent

Like the others say, this problem should not be happening, and it is the
first time that I am encountering it.  Perhaps it has something to do with
the way that you installed it.  Could you provide those details (OS, Java
version, application server, bin/war/docker, any extensions installed,
etc.) - best would be opening an issue on
https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/boards/8 so
that we can track this - and perhaps you would like to install GeoServer in
a different way (or maybe on a different server) to see if you can
reproduce the problem?  I can recommend https://github.com/geoserver/docker
as a proven working solution for you to continue with.

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Wed, 24 Apr 2024 at 14:33, Brent Wood  wrote:

> Is there a (simple) way to set Geoserver up to use the MultithreadedHttpClient
> as default instead of HTTPClient?
>
> That would seem to fix the issue for me, before any bug fixes are
> implemented.
>
> Thanks,
>
>   Brent
>
>
> It sounds like we (GeoTools) should accept `text/xml` especially when
> requesting getCapabilities documents. But I'm really not sure 403 is the
> correct response to not accepting the right content type.
>
> Ian
>
> On Mon, 22 Apr 2024 at 14:03, Peter Smythe  wrote:
>
> With access to Brent's GeoServer, I have managed to reproduce this
> problem, and it appears to be a combination of GeoTools HTTPClient (not
> MultithreadedHttpClient) and the GEBCO *MapServer* not allowing HTTP
> Header "accept": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
> for some reason.
>
> To reproduce:
> In Postman, GET
> https://wms.gebco.net/mapserv?REQUEST=GETCAPABILITIES=1.3.0=WMS
> works fine, until the Accept header is changed from the default */* to 
> text/html,
> image/gif, image/jpeg, *; q=.2, */*; q=.2
> Returns 403 Unauthorised
>
> This Accept header appears to only be sent by GeoTools HTTPClient and is
> not sent by the GeoTools MultithreadedHttpClient, which is what I had on by
> default, when the cascaded WMS worked for me on my GeoServer (previous
> email):
>
> [image: image.png]
>  (in GeoServer New WMS Connection)
>
> Is this a GeoTools bug?  Or GeoServer?
>
> And then under what circumstances would the WMS data store fall back to
> the Simple HTTPClient rather than using the MultithreadedHttpClient (HTTP
> connection pooling), even if the above is ticked?
>
> Peter
>
> GeoServer PSC
> AWS Solutions Architect
> https://github.com/petersmythe
>
>
> On Sun, 21 Apr 2024 at 15:19, Peter Smythe  wrote:
>
> Maybe try again, it works for me from GeoServer v2.25.0:
>
> [image: image.png]
>
> Peter
>
> GeoServer PSC
> AWS Solutions Architect
> https://github.com/petersmythe
>
>
> On Sun, 21 Apr 2024 at 00:50, Brent Wood via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi,
>
> I'm looking to install geoserver on a ship.
>
> I'd like to use the GEBCO WMS service to provide a background map layer,
> but cache it locally to avoid internet traffic.
>
> The capabilities doc is at:
>
> https://wms.gebco.net/mapserv?REQUEST=GETCAPABILITIES=1.3.0=WMS
>
> The layer I wish to provide is: GEBCO_LATEST_SUB_ICE_TOPO
>
> I can connect & get the capabilities doc in a browser. I can select & open
> the layer in QGIS.
>
> When I try to set up a WMS store in Geoserver I enter the required
> parameters, but get told the connection test to the URL failed with error
> 403.
>
> I understand this means the Gebco server is refusing to reply with the
> doc. I'm not sure why the URL works from a browser but fails when sent from
> Geoserver, any suggestions appreciated, as far  as I know it is an
> identical request, from the same host.
>
>
> Thanks,
>
>   Brent Wood.
>
> ___
> 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 mailing list
>
> Please make sure you read the following two resources befor

Re: [Geoserver-users] forwarding GEBCO WMS fails - help needed

2024-04-22 Thread Peter Smythe
With access to Brent's GeoServer, I have managed to reproduce this problem,
and it appears to be a combination of GeoTools HTTPClient (not
MultithreadedHttpClient) and the GEBCO *MapServer* not allowing HTTP Header
"accept": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" for some
reason.

To reproduce:
In Postman, GET
https://wms.gebco.net/mapserv?REQUEST=GETCAPABILITIES=1.3.0=WMS
works fine, until the Accept header is changed from the default */* to
text/html,
image/gif, image/jpeg, *; q=.2, */*; q=.2
Returns 403 Unauthorised

This Accept header appears to only be sent by GeoTools HTTPClient and is
not sent by the GeoTools MultithreadedHttpClient, which is what I had on by
default, when the cascaded WMS worked for me on my GeoServer (previous
email):

[image: image.png]
 (in GeoServer New WMS Connection)

Is this a GeoTools bug?  Or GeoServer?

And then under what circumstances would the WMS data store fall back to the
Simple HTTPClient rather than using the MultithreadedHttpClient (HTTP
connection pooling), even if the above is ticked?

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Sun, 21 Apr 2024 at 15:19, Peter Smythe  wrote:

> Maybe try again, it works for me from GeoServer v2.25.0:
>
> [image: image.png]
>
> Peter
>
> GeoServer PSC
> AWS Solutions Architect
> https://github.com/petersmythe
>
>
> On Sun, 21 Apr 2024 at 00:50, Brent Wood via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
>> Hi,
>>
>> I'm looking to install geoserver on a ship.
>>
>> I'd like to use the GEBCO WMS service to provide a background map layer,
>> but cache it locally to avoid internet traffic.
>>
>> The capabilities doc is at:
>>
>> https://wms.gebco.net/mapserv?REQUEST=GETCAPABILITIES=1.3.0=WMS
>>
>> The layer I wish to provide is: GEBCO_LATEST_SUB_ICE_TOPO
>>
>> I can connect & get the capabilities doc in a browser. I can select &
>> open the layer in QGIS.
>>
>> When I try to set up a WMS store in Geoserver I enter the required
>> parameters, but get told the connection test to the URL failed with error
>> 403.
>>
>> I understand this means the Gebco server is refusing to reply with the
>> doc. I'm not sure why the URL works from a browser but fails when sent from
>> Geoserver, any suggestions appreciated, as far  as I know it is an
>> identical request, from the same host.
>>
>>
>> Thanks,
>>
>>   Brent Wood.
>>
>> ___
>> 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 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] forwarding GEBCO WMS fails - help needed

2024-04-21 Thread Peter Smythe
Maybe try again, it works for me from GeoServer v2.25.0:

[image: image.png]

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Sun, 21 Apr 2024 at 00:50, Brent Wood via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi,
>
> I'm looking to install geoserver on a ship.
>
> I'd like to use the GEBCO WMS service to provide a background map layer,
> but cache it locally to avoid internet traffic.
>
> The capabilities doc is at:
>
> https://wms.gebco.net/mapserv?REQUEST=GETCAPABILITIES=1.3.0=WMS
>
> The layer I wish to provide is: GEBCO_LATEST_SUB_ICE_TOPO
>
> I can connect & get the capabilities doc in a browser. I can select & open
> the layer in QGIS.
>
> When I try to set up a WMS store in Geoserver I enter the required
> parameters, but get told the connection test to the URL failed with error
> 403.
>
> I understand this means the Gebco server is refusing to reply with the
> doc. I'm not sure why the URL works from a browser but fails when sent from
> Geoserver, any suggestions appreciated, as far  as I know it is an
> identical request, from the same host.
>
>
> Thanks,
>
>   Brent Wood.
>
> ___
> 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 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] GeoServer 2.25.0 released

2024-03-19 Thread Peter Smythe
*The GeoServer team is pleased to share the release of GeoServer 2.25.0
<https://geoserver.org/announcements/2024/03/19/geoserver-2-25-0-released.html>.Check
out the announcement for details: - Security Considerations- Upgrade Notes-
JTS fast polygon intersection enabled by default- MapML Extension updates
and improvements- Community Module Updates- Developer UpdatesThis is a
stable release recommended for production systems.Thanks to everyone who
helped produce and test the release: Levy Steve, Peter Smythe, Jody
Garnett, and Mark Prins. --GeoServer Project Steering Committee*

___
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] GeoServer 2.25-RC release candidate

2024-03-14 Thread Peter Smythe
Hi Jody

Thanks for the detailed release announcement
.
It's great to see all the new features and get advanced notice of the
security issues.

I have performed testing on the release candidate using the OSGeo docker
image, with JNDI, Env params, and the following plugins:
Authkey, CSS, GeoPkg Output, GWC S3, Monitor, MVT, Web resource, WPS and
can report no issues found.

Regards

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Tue, 5 Mar 2024 at 21:35, Jody Garnett  wrote:

> The GeoServer team is pleased to is share GeoServer 2.25-RC
> .
>
> Check out the release announcement
> 
>  for
> what is new:
>
>- A number of configuration changes when updating
>- Experimental Java 21 support
>- JTS fast polygon intersection enabled by default
>- A lot of MapML improvements
>
>
> There has been a lot of research and development with new community
> modules:
>
>- Raster attribute Table community module
>- Graticules for WMS maps
>- GeoServer monitor Kafka storage
>- JWT Headers security extension
>
>
> Please try out this release candidate and let us know how it works for you!
> --
> Jody Garnett
> ___
> 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 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] 2024 roadmap - wiki pages

2024-02-22 Thread Peter Smythe
Good day GeoServer users

Here's a quick update to the effort coordination for the 2024 roadmap.
Thank you to the few individuals who have responded with offers of
assistance.

The 9 tasks have been broken up into individual wiki pages, all linked from
https://github.com/geoserver/geoserver/wiki/Maintenance-%26-Roadmap#2024-roadmap.
Please take a look at them, see which ones interest you and your company
the most, and put your name down to assist**

One current task that I would like to highlight is the effort by Jody
(GeoCat) to migrate all the brilliant GeoServer documentation (that you
reference every week!) from sphinx to mkdocs:
https://github.com/geoserver/geoserver/wiki/Migrate-documentation-to-mkdocs

He has now asked for users to compare the old documentation to the new
documentation (preview found here: https://jodygarnett.github.io/geoserver/)
and to let us know if there are any glaring issues, like broken links or
elements that are not properly rendered.  He has done a fantastic job so
far of automating the migration, but *we need your eyes on the new
documentation*, please, for the final acceptance.

*This is something that you can all get involved in!*

** How to make a wiki edit
Hmm, we're working on that.  For now, please just reply by email with your
offer to help.

** How to report an issue with mkdocs
If you have a GitHub account, make a detailed comment in the pull request:
https://github.com/geoserver/geoserver/pull/7429
If you don't have a GitHub account, we would love you to make one, so that
you can contribute more easily: https://github.com/signup (3 minutes, plus
it is visually fun!)
If you really don't want to sign up, you can reply publically (preferably
not privately) and I will capture your feedback in the pull request for you.

Thanks for your time!

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Thu, 11 Jan 2024 at 09:37, Peter Smythe  wrote:

> Good day GeoServer users
>
> Happy new year and welcome to 2024 from the GeoServer team!
>
> I wonder how many of you keep an eye on the GeoServer blog
> <https://geoserver.org/blog/>?
>
> This year the Project Steering Committee has put a lot of effort into
> documenting the plans for 2024 as there are a lot of technology upgrades
> that must be made: spring-framework 6, spring-security 6, wicket 10,
> JakartaEE, Java 17, ImageN, the list is very long ...
>
> Please take  a few minutes to read Jody's detailed post, so that you know
> what help we need:
> https://geoserver.org/behind%20the%20scenes/2024/01/03/roadmap.html
>
> If you're not a developer, don't worry! We need testers - users like you
> who are familiar with GeoServer's GUI and functionality. We would love you
> to reply to this email with an offer to help.
>
> Oh, and we're fund raising too - please read that section too, and make a
> request to your company's finance department.
>
> Here's to an extra successful GeoServer community in 2024!
>
> Peter
>

___
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] How to parameterize password of a datastore ?

2024-02-20 Thread Peter Smythe
Hi Christophe

Here's a quick hack to convert from PostGIS to PostGIS (JNDI), if you want
to try it.  It works for me.

Assumption: you have read/write server access to the configuration
directory GEOSERVER_DATA_DIR

cd GEOSERVER_DATA_DIR/workspaces//
edit the file datastore.xml
change line 5 from
PostGIS
->
PostGIS (JNDI)
add a new line within :
java:comp/env/jdbc/*jndi*
(replacing jndi with the correct string)
restart GeoServer and verify the new datastore in the GUI

hth

Peter

GeoServer PSC
AWS Solutions Architect
https://github.com/petersmythe


On Tue, 20 Feb 2024 at 16:16,  wrote:

> Thanks Jody and Graham, it works fine and it’s well documented. That is
> exactly what I was looking for.
>
>
>
> Now I need to figure out how to move all the already published layers from
> the old postgis datastore to the new JNDI one since it’s the same database.
> I guess moving the content of the directory will not be sufficient. Maybe
> changing the datastore Id in each layer would do the job ?
>
>
>
>
>
> Regards,
>
> —
> *Christophe GARAULT *
>
>
>
> *De :* Jody Garnett 
> *Envoyé :* mardi 20 février 2024 03:53
> *À :* GARAULT Christophe Ext DTSI/DTR 
> *Cc :* geoserver-users@lists.sourceforge.net
> *Objet :* Re: [Geoserver-users] How to parameterize password of a
> datastore ?
>
>
>
> I would recommend JNDI, define the database in tomcat by name and
> reference it in geoserver config.
>
> --
>
> Jody Garnett
>
>
>
>
>
> On Mon, Feb 19, 2024 at 7:46 AM  wrote:
>
> Hi all,
>
>
>
> Is there a way to parameterize the password field of a datastore as with
> others fields as shown in the doc (
> https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html
> 
> )
>
> We have several environments which doesn’t necessarily have the same
> password.
>
>
>
> I tried to set something like this without any success in the properties
> file:
>
> database.passwd=crypt1:xxx
>
>
>
>
>
>
>
> Thanks in advance
>
>
>
> Regards,
>
> —
> *Christophe GARAULT*
>
> 
>
> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
> ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
> electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou 
> falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged 
> information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete 
> this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been 
> modified, changed or falsified.
>
> Thank you.
>
> ___
> 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
> 

Re: [Geoserver-users] trouble with cql_filter

2024-02-10 Thread Peter Smythe
Hi Wambacher

You might be running into this issue:
https://gis.stackexchange.com/questions/373005/geoserver-wms-cql-filter-id-xxx-works-but-id-in-xxx-does-not,
in which case, change your CQL

from: id in ('R403139')
to: "id" in ('R403139')

Peter


On Sat, 10 Feb 2024 at 16:19,  wrote:

> Hi,
>
> i'm trying to use a cql_filter on a feature but something is strange.
>
> cql_filter:  "id = 'R403139'" is working fine. i'll get only this feature.
>
> but   "id in('R403139')" does not give any result (without error
> messages).
>
> i need a list, because later on there more features will be dynanical
> selected. e.g. "id in('R403139', 'R1719140')"
>
> What am i doing wrong?
>
> btw: i may add geoserver log file if needed.
> --
> My projects:
>
> OSM Boundaries Map (*) - not completed
> OSM Software Watchlist
> 
> OSM Emergency Map  (*)
> OSM Healthcare Map  (*)
> OSM Postcode Map  (Germany)
>
>
> *) Europe
> ___
> 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 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] https://osgeo-org.atlassian.net/ Jira cleanup

2024-01-21 Thread Peter Smythe
Dear list users

We have just been through an exercise to disable almost 1000 inactive
accounts on Jira , where
GeoServer and GeoTools issues are logged.  An inactive account is defined
as anyone who signed up more than 6 months ago and has never logged an
issue.  If a mistake was made, and you actually need an active login, you
will get an error message similar to:
[image: image.png]

You don't have access to osgeo-org.atlassian.net
Looks like your administrator has marked your account  as inactive.
Contact your administrator to solve this issue.

Please accept our humble apologies and kindly contact us to activate your
Jira account again.

Thank you

Peter

___
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] 2024 roadmap blog post

2024-01-10 Thread Peter Smythe
Good day GeoServer users

Happy new year and welcome to 2024 from the GeoServer team!

I wonder how many of you keep an eye on the GeoServer blog
?

This year the Project Steering Committee has put a lot of effort into
documenting the plans for 2024 as there are a lot of technology upgrades
that must be made: spring-framework 6, spring-security 6, wicket 10,
JakartaEE, Java 17, ImageN, the list is very long ...

Please take  a few minutes to read Jody's detailed post, so that you know
what help we need:
https://geoserver.org/behind%20the%20scenes/2024/01/03/roadmap.html

If you're not a developer, don't worry! We need testers - users like you
who are familiar with GeoServer's GUI and functionality. We would love you
to reply to this email with an offer to help.

Oh, and we're fund raising too - please read that section too, and make a
request to your company's finance department.

Here's to an extra successful GeoServer community in 2024!

Peter

___
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] Latest maintenance release GeoServer 2.23.4

2023-12-21 Thread Peter Smythe
Dear GeoServer users

We are pleased to announce the release of the latest maintenance version of
GeoServer (2.23.4).  More details are available in the related blog post:

https://geoserver.org/announcements/2023/12/18/geoserver-2-23-4-released.html

Peter

___
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] Unable to render ExternalGraphics in Geoserver 2.24.0?

2023-11-21 Thread Peter Smythe
Hi Emma

While GeoServer upgrades strive to be backwards compatible, there was a
recent breaking change that appears to have affected you. Please read the
blog post for more details and let us know if it solves your problem.

Peter

GeoServer (https://geoserver.org/announcements/2023/10/15/geoserver-2-24-0
-released.html)


Your attention is specifically drawn to the *Upgrade Notes*:

GeoServer strives to maintain backwards compatibility allowing for a smooth
upgrade experience.

We have one minor change to share in this release:

   -

   URL Checks: The url check security setting
    is
   now enabled by default.

   In GeoServer 2.22.5 and 2.23.2 this setting was available for use, but
   was turned off by default. If you are not yet in a position to upgrade to
   2.24.0 you may wish to enable the recommended setting.



On Wed, 22 Nov 2023, 01:35 Emma Flukes,  wrote:

> We've recently upgraded from Geoserver 2.21.0 and our previous styles that
> used ExternalGraphics with absolute (not relative) URLs are now failing and
> rendering grey boxes.
>
> Here is a simple sld that drew the legend and rendered in wms fine, but no
> longer works in 2.24.0. Is this a known issue with this Geoserver version,
> or has something changed in the sld requirements between versions 2.21.0
> and 2.24.0?
>
>
> 
>  xsi:schemaLocation="http://www.opengis.net/sld
> StyledLayerDescriptor.xsd"
> xmlns="http://www.opengis.net/sld;
> xmlns:ogc="http://www.opengis.net/ogc;
> xmlns:xlink="http://www.w3.org/1999/xlink;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
>
>   
> BRUV highlight images
> 
>   
> 
>   Media observation
>   
>   
> 
>   https://geoserver.imas.utas.edu.au/geoserver/styles/camera_video_play_red.svg;
> />
> image/svg+xml
> 
> 10
>   
>   
> 
> 
> 
>   
> 
>
>
>
> This email is confidential, and is for the intended recipient only.
> Access, disclosure, copying, distribution, or reliance on any of it by
> anyone outside the intended recipient organisation is prohibited and may be
> a criminal offence. Please delete if obtained in error and email
> confirmation to the sender. The views expressed in this email are not
> necessarily the views of the University of Tasmania, unless clearly
> intended otherwise.
> ___
> 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 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] Latest maintenance release GeoServer 2.23.3

2023-10-31 Thread Peter Smythe
 We are pleased to announce the release of the latest maintenance version
of GeoServer (2.23.3).  More details are available in the related blog
post:

https://geoserver.org/announcements/2023/10/30/geoserver-2-23-3-released.html

Your attention is specifically drawn to the *Security Patches* section.

Peter

___
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] CSS (or SLD) styling: create label-geometry from 2 layer attributes

2023-10-27 Thread Peter Smythe
Thanks Ian, you're 100% right.  I was able to manually edit the SLD
produced by the CSS translator to:



and then my label-geometry worked as expected.

I believe this might be a bug in the CSS extension, which I have logged in
Jira: https://osgeo-org.atlassian.net/browse/GEOT-7486

Thank you Andrea, Jody and Ian for your help.

Peter

On Thu, 26 Oct 2023 at 22:02, Ian Turton  wrote:

> White space gets reduced in the XML, so you might need a cdata block
> around it. Not sure how CSS handles it.
>
> Ian
>
> On Thu, 26 Oct 2023, 20:44 Peter Smythe,  wrote:
>
>> Thank you very much for your answers.  All 3 of them are super useful.
>>
>> Ian, I do not have the luxury of building up the string in a single
>> attribute, so I need to use the Concatenate or strConcat functions from
>> Jody's reference.  Andrea, the WKT X and Y coordinates are not separated by
>> a comma but rather by a space.
>>
>> The strConcat function only joins 2 strings, the Concatenate function is
>> able to join many strings.
>>
>> So something like this should work:
>>
>> label-geometry: [geomFromWKT(Concatenate('POINT(', label_lng, ' ',
>> label_lat, ')'))];
>> or
>> label-geometry:
>> [geomFromWKT(strConcat(strConcat(strConcat(strConcat('POINT(', label_lng),
>> ' '), label_lat), ')'))];
>>
>> However, the SLD created contains (for the space separator between X and
>> Y):
>>  
>>
>> and it appears from my testing and debugging that this is evaluated as ""
>> i.e. an empty string.
>>
>> (I get the exception: `bad wkt` when evaluating it, and I have confirmed
>> the above in Eclipse)
>>
>> Trying to force a `` into the Literal does not work.
>>
>> Is there a bug with parsing a literal space?
>>
>> So, I am very close to my solution, I just need a way to represent a
>> literal space, if anyone can assist, please?
>>
>> Thanks
>>
>> Peter
>>
>> On Thu, 26 Oct 2023 at 17:29, Ian Turton  wrote:
>>
>>> I usually use `geomFromWKT(geometry)` with a string like 'POINT('+x+'
>>> '+y+')' as the parameter. But a nicer function would be useful.
>>>
>>> There is also a pole of accessibility function that is better than
>>> centroid if you have oddly shaped polygons.
>>>
>>> Ian
>>>
>>> On Thu, 26 Oct 2023 at 16:22, Jody Garnett 
>>> wrote:
>>>
>>>> There should be a function to create a point from lat, Lon but I do not
>>>> see it in the function list. It is a little to do anything other than
>>>> transform the main geometry - since often the data is queried using a BBOX
>>>> against the main geometry.
>>>>
>>>> For greater control I would recommend use the centroid as a staring
>>>> location, and provide an offset to determine the label position. The offset
>>>> can be expressed as an expression which you can adjust for scale.
>>>>
>>>> Reference:
>>>>
>>>>-
>>>>    
>>>> https://docs.geotools.org/stable/userguide/library/main/function_list.html
>>>>
>>>> <https://fdfdfha.r.af.d.sendibt2.com/tr/cl/euXGZ9x4RgzAEJHnr8_XYW4sQUdxTgvINg9XAoGEGHVs4s3MJt7JlfQ9z8kojpBeDjalS074Ct4w_FzOXQzeQteVkC4CgL0XOCtphD3yiku5rwacybz61OAVS2V-YWjm2b3v2cdktX7Q0k9fThJprUFLuoUA12thVN0k2OO-92IUNMICq5zmth3RJAvCrB_ZXg6z7XaCD4Rvc4c6mlb5gvuiKijQ1AAB_bk56P9LelJoMTozAmQY-ROjXY6Z4Z9CH5sZnI6uszqaB3S4O1sxEkBS_-xeHrTajy0kybvtXav-0qWzPg>
>>>>
>>>> --
>>>> Jody Garnett
>>>>
>>>>
>>>> On Oct 26, 2023 at 5:32:55 AM, Peter Smythe  wrote:
>>>>
>>>>> Hi all
>>>>>
>>>>> I am trying to use 2 numeric attributes called label_lat and label_lng
>>>>> to create a point geometry for the labeling of a polygon.
>>>>>
>>>>> Can anyone point me to the correct format, if this is indeed possible?
>>>>>
>>>>> I cannot find the information on
>>>>> https://docs.geoserver.org/latest/en/user/styling/css/index.html
>>>>> <https://fdfdfha.r.af.d.sendibt2.com/tr/cl/xyoUP5eN464DydrOGqm8BDm7444mIJZfoKj7NPfOgCaOWczz2TBs_wlTzeAWk-wH7YI8cPsDW5UXJQ7xrUegk_MeefrvVxLjepbnzSSla_tRhI5B2JuKxN3QhnO3Cl32jH8y4FglrQP3-2eECQLO10LEafasD05kJX5EskHxKcfNNV8lJ-pknCUbsxUVR6QrSYLIdlY4KUwdeX8x1MKCdK5tPk-hXMkazYYWnOp5nCN0VV2kFx1PqYodo8t1EPzmgxXfk6qf1ufXJ_mbr3CdQpeVz1Mj47CsH7qGdzA>
>>>>>
>>>>> I have tried:
>>>>>
>>>>> label-geometry: [label_lng], [label_lat]

Re: [Geoserver-users] CSS (or SLD) styling: create label-geometry from 2 layer attributes

2023-10-26 Thread Peter Smythe
Thank you very much for your answers.  All 3 of them are super useful.

Ian, I do not have the luxury of building up the string in a single
attribute, so I need to use the Concatenate or strConcat functions from
Jody's reference.  Andrea, the WKT X and Y coordinates are not separated by
a comma but rather by a space.

The strConcat function only joins 2 strings, the Concatenate function is
able to join many strings.

So something like this should work:

label-geometry: [geomFromWKT(Concatenate('POINT(', label_lng, ' ',
label_lat, ')'))];
or
label-geometry:
[geomFromWKT(strConcat(strConcat(strConcat(strConcat('POINT(', label_lng),
' '), label_lat), ')'))];

However, the SLD created contains (for the space separator between X and
Y):
 

and it appears from my testing and debugging that this is evaluated as ""
i.e. an empty string.

(I get the exception: `bad wkt` when evaluating it, and I have confirmed
the above in Eclipse)

Trying to force a `` into the Literal does not work.

Is there a bug with parsing a literal space?

So, I am very close to my solution, I just need a way to represent a
literal space, if anyone can assist, please?

Thanks

Peter

On Thu, 26 Oct 2023 at 17:29, Ian Turton  wrote:

> I usually use `geomFromWKT(geometry)` with a string like 'POINT('+x+'
> '+y+')' as the parameter. But a nicer function would be useful.
>
> There is also a pole of accessibility function that is better than
> centroid if you have oddly shaped polygons.
>
> Ian
>
> On Thu, 26 Oct 2023 at 16:22, Jody Garnett  wrote:
>
>> There should be a function to create a point from lat, Lon but I do not
>> see it in the function list. It is a little to do anything other than
>> transform the main geometry - since often the data is queried using a BBOX
>> against the main geometry.
>>
>> For greater control I would recommend use the centroid as a staring
>> location, and provide an offset to determine the label position. The offset
>> can be expressed as an expression which you can adjust for scale.
>>
>> Reference:
>>
>>-
>>https://docs.geotools.org/stable/userguide/library/main/function_list.html
>>
>> --
>> Jody Garnett
>>
>>
>> On Oct 26, 2023 at 5:32:55 AM, Peter Smythe  wrote:
>>
>>> Hi all
>>>
>>> I am trying to use 2 numeric attributes called label_lat and label_lng
>>> to create a point geometry for the labeling of a polygon.
>>>
>>> Can anyone point me to the correct format, if this is indeed possible?
>>>
>>> I cannot find the information on
>>> https://docs.geoserver.org/latest/en/user/styling/css/index.html
>>> <https://fdfdfha.r.af.d.sendibt2.com/tr/cl/xyoUP5eN464DydrOGqm8BDm7444mIJZfoKj7NPfOgCaOWczz2TBs_wlTzeAWk-wH7YI8cPsDW5UXJQ7xrUegk_MeefrvVxLjepbnzSSla_tRhI5B2JuKxN3QhnO3Cl32jH8y4FglrQP3-2eECQLO10LEafasD05kJX5EskHxKcfNNV8lJ-pknCUbsxUVR6QrSYLIdlY4KUwdeX8x1MKCdK5tPk-hXMkazYYWnOp5nCN0VV2kFx1PqYodo8t1EPzmgxXfk6qf1ufXJ_mbr3CdQpeVz1Mj47CsH7qGdzA>
>>>
>>> I have tried:
>>>
>>> label-geometry: [label_lng], [label_lat];
>>> label-geometry: [(label_lng, label_lat)];
>>> etc
>>>
>>> and the reverse coordinate orders
>>>
>>> label-geometry: [centroid(geom)];   does work as expected, but I
>>> need more control.
>>>
>>>
>>> *I also cannot create a new column in the GeoServer SQL view that is
>>> visible in the output e.g. ST_Point (label_lng, label_lat, 4326) as
>>> label-geom *
>>> *i.e. if I create the new column, it must not be visible in the output.*
>>>
>>> Thanks
>>>
>>> Peter
>>>
>>> ___
>>> 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 mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>

[Geoserver-users] CSS (or SLD) styling: create label-geometry from 2 layer attributes

2023-10-26 Thread Peter Smythe
Hi all

I am trying to use 2 numeric attributes called label_lat and label_lng to
create a point geometry for the labeling of a polygon.

Can anyone point me to the correct format, if this is indeed possible?

I cannot find the information on
https://docs.geoserver.org/latest/en/user/styling/css/index.html

I have tried:

label-geometry: [label_lng], [label_lat];
label-geometry: [(label_lng, label_lat)];
etc

and the reverse coordinate orders

label-geometry: [centroid(geom)];   does work as expected, but I need
more control.


*I also cannot create a new column in the GeoServer SQL view that is
visible in the output e.g. ST_Point (label_lng, label_lat, 4326) as
label-geom *
*i.e. if I create the new column, it must not be visible in the output.*

Thanks

Peter

___
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] Latest stable release GeoServer 2.24.0

2023-10-16 Thread Peter Smythe
 We are very pleased to eventually announce the release of the latest
stable version of GeoServer 2.24.0 (in conjunction with GeoTools 30.0).
The release contains a number of new features, bug fixes and enhancements
so you are encouraged to upgrade to it. Many more details are available in
the related blog posts, please take the time to read them:

GeoServer (
https://geoserver.org/announcements/2023/10/15/geoserver-2-24-0-released.html
)

GeoTools (
https://geotoolsnews.blogspot.com/2023/10/geotools-300-released.html)

Your attention is specifically drawn to the *Upgrade Notes*:

GeoServer strives to maintain backwards compatibility allowing for a smooth
> upgrade experience.
>
> We have one minor change to share in this release:
>
>-
>
>URL Checks: The url check security setting
> is
>now enabled by default.
>
>In GeoServer 2.22.5 and 2.23.2 this setting was available for use, but
>was turned off by default. If you are not yet in a position to upgrade to
>2.24.0 you may wish to enable the recommended setting.
>
>

Peter and Jody

___
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] GeoServer 2.24-RC released. Please help us test it

2023-09-29 Thread Peter Smythe
Is there perhaps a docker image of 2.24-RC available as a standard
offering, or must that be set up manually?

I see that a year ago, Jody followed up the announcement with:

If you like docker please try:
>
> docker pull docker.osgeo.org/geoserver:2.22-RC
> docker run -it -p 80:8080 docker.osgeo.org/geoserver:2.22-RC
>
>
And
https://docker.osgeo.org/#browse/search/docker=format%3Ddocker%20AND%20attributes.docker.imageName%3Dgeoserver%20AND%20version%3D*RC*
shows both 2.22 and 2.23 release candidates, but not 2.24-RC

We would like to assist with the RC testing, if it is available.

Peter

On Tue, 26 Sept 2023 at 16:43, Andrea Aime <
andrea.a...@geosolutionsgroup.com> wrote:

> Hi all,
> the GeoServer 2.24 Release Candidate is out, you can read about the news
> here:
>
> https://geoserver.org/announcements/2023/09/25/geoserver-2-24-RC-released.html
>
> Please help up test it so that we have a solid 2.24.0 release
>
> Best Regards
> Andrea
>
>
> ==
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
> mob:   +39  339 8844549
>
> https://www.geosolutionsgroup.com/
>
> http://twitter.com/geosolutions_it
>
> ---
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail
> ___
> 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 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] Monitor extension throws AccessDeniedException

2023-09-20 Thread Peter Smythe
Thanks for your input, Andrea

I wonder whether it could have anything to do with a large number of roles
(1000+) that have recently been added - see my other email: Large number of
roles causes OutOfMemoryError and the Jira issue:
https://osgeo-org.atlassian.net/browse/GEOS-11129

While I understand your explanation, I don't think I am confident/competent
enough to attempt your possible solution, but I will look into it.

Peter

On Wed, 20 Sept 2023 at 14:48, Andrea Aime <
andrea.a...@geosolutionsgroup.com> wrote:

> I haven't witness it happen, but as far as I can see, the security system
> is refusing access to the
> layer because the current request does not contain any more the context of
> the original WMS request:
> it's not seen as a WMS request anymore, because it's happening after the
> request is done, in a
> post processing task (a different thread).
>
> I guess one could use ThreadLocalTransfer to transfer over the context of
> the original request into the
> background thread, there are examples of that in the codebase (e..g, in
> the WPS module, which uses
> background threads for everything).
>
> Cheers
> Andrea
>
>
> On Wed, Sep 20, 2023 at 12:50 PM Peter Smythe  wrote:
>
>> Hi all
>>
>> The Monitor extension
>> <https://fdfdfha.r.af.d.sendibt2.com/tr/cl/tX6qrfylNQ_VzgtK-9vu7h9msUEDhclz9VN8YgKVbEFrjHQXPsi1c4rM7Me-kxR_QAZsaw6zOI5sylbPqKpmLsQH2GzePSpXpwcKyaSGusoecmAvS8QpcxsfMjHLtXLIihB3HKdw9tq1ooPRhVz7wK8uJOSEEPXih2osZJW58xgbrJ9F-CMvcZVonp47EaKfWQ4KSQ0x2isIwoPsSuQCCaPnwyeajLNRhfUgH4wyBzTPo6aoG-gGaVx3x_lFmiOZjxsmdYM0CsFMW-aPzELyncKpI-kjB6KkIO0Odp1RpUD72DSn1g>
>> is populating the GeoServer logs (PRODUCTION_LOGGING) with these error
>> messages, yet the (very standard) GetMap requests are being executed
>> correctly, without any errors, returning images with status code 200.  The 
>> AuthKey
>> module
>> <https://fdfdfha.r.af.d.sendibt2.com/tr/cl/wKvNyqyiFKGYuYfijXahQ6pd9HIk4nNylrV4ISVzMxnAMFW3l3Z0eZzeO9JKVUvplx8RFyqmwnKO_khgGt40Udn29ChIccOO6QpMh61OeFQo7Q4Qm5MWeswi6mOGDAY92LKZkFRwYlFZvKE0rN1u_XgDcBt3XrkrqLKBQKxEW0J_FtWgQRrEwyULDTXj9c9D4fukPwztRTaNsbGKzbslys1CdYBgy-oIqk_OrFYn1SNHNUNNd20t4ZKl3tFnOUzpr_QIWM6u0b90YgsWydZyrl2OdEbOjPKGeNqSmom3otJPnA>
>> is used, same as any other layer/workspace.  Is this possibly a bug in the
>> monitor extension, or a misconfiguration on our side?  I believe the
>> configuration is standard:
>>
>> $ cat monitor.properties
>> storage=memory
>> mode=history
>> sync=async
>> maxBodySize=1024
>> bboxLogCrs=EPSG:4326
>> bboxLogLevel=no_wfs
>>
>> Is there any way to fix the problem or to configure it not to throw these
>> exceptions?
>>
>> Thanks
>>
>> Peter
>>
>> 20 Sep 09:46:45 WARN   [geoserver.monitor] - Post process task failed
>> org.springframework.security.access.AccessDeniedException: Cannot access
>> __ with the current privileges
>> at
>> org.geoserver.security.SecureCatalogImpl.unauthorizedAccess(SecureCatalogImpl.java:1072)
>> at
>> org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:1046)
>> at
>> org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:925)
>> at
>> org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:715)
>> at
>> org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:603)
>> at
>> org.geoserver.security.SecureCatalogImpl.getLayerByName(SecureCatalogImpl.java:361)
>> at
>> org.geoserver.catalog.impl.AbstractFilteredCatalog.getLayerByName(AbstractFilteredCatalog.java:265)
>> at
>> org.geoserver.catalog.impl.AbstractCatalogDecorator.getLayerByName(AbstractCatalogDecorator.java:466)
>> at
>> org.geoserver.catalog.impl.LocalWorkspaceCatalog.getLayerByName(LocalWorkspaceCatalog.java:257)
>> at
>> org.geoserver.monitor.LayerNameNormalizer.run(LayerNameNormalizer.java:44)
>> at
>> org.geoserver.monitor.MonitorFilter$PostProcessTask.run(MonitorFilter.java:302)
>> at
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>> at
>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>> at java.base/java.lang.Thread.run(Thread.java:829)
>> ___
>> 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.

[Geoserver-users] Large number of roles causes OutOfMemoryError

2023-09-20 Thread Peter Smythe
Firstly, what is a large number of roles?   I believe GeoServer works fine
with tens of thousands of layers, and if you have rather fine granular
ACLs, that is a similar number of roles.

However, we currently have around 1000 roles, and while most of the
GeoServer GUI is paged and can handle that many entries, one in particular
is not:

The (relatively new) Security tab, when editing a layer:

[image: image.png]
I believe this tab really struggles when accessing around 500 roles.  Is
that a reasonable number?

I would appreciate users replying to this email to see the upper limit of
what still works for them.  Perhaps let's start with anything above 100
roles - that is perfectly manageable, I think.

I have captured the issue (and how to reproduce it with the default data
config) in Jira: https://osgeo-org.atlassian.net/browse/GEOS-11129

Thanks

Peter

___
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] HTTPS to GeoServer Docker

2023-09-20 Thread Peter Smythe
Hi Brian

You should be looking for Traefik proxy:
https://github.com/traefik/traefik/releases

Peter

On Wed, 20 Sept 2023 at 17:48, brian--- via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> I used nginx for several years as my reverse proxy, it was fine but the
> setup required making changes to the compose files for the services.
> Same with a caddy based solution. My varnish setup requires varnish
> to know about the services, but the services don't require any changes.
>
> Whatever you do, don't make the mistake I made, I tried to use the nginx
> reverse-proxy to do static content delivery too. It's better to run two
> completely separate containers, one for the proxy and one for content.
> It's more manageable.
>
> This nginx setup works great, I like how it automatically interfaces to
> Let's Encrypt:
> http://jasonwilder.com/blog/2014/03/25/automated-nginx-reverse-proxy-for-docker/
>
> I have not tried Traefik, but there appears to be a paywall ("get
> pricing") in front of it, is there a free version?
>
>
> Brian
>
>
>
> ___
> 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 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] Monitor extension throws AccessDeniedException

2023-09-20 Thread Peter Smythe
Hi all

The Monitor extension

is populating the GeoServer logs (PRODUCTION_LOGGING) with these error
messages, yet the (very standard) GetMap requests are being executed
correctly, without any errors, returning images with status code 200.
The AuthKey
module
 is
used, same as any other layer/workspace.  Is this possibly a bug in the
monitor extension, or a misconfiguration on our side?  I believe the
configuration is standard:

$ cat monitor.properties
storage=memory
mode=history
sync=async
maxBodySize=1024
bboxLogCrs=EPSG:4326
bboxLogLevel=no_wfs

Is there any way to fix the problem or to configure it not to throw these
exceptions?

Thanks

Peter

20 Sep 09:46:45 WARN   [geoserver.monitor] - Post process task failed
org.springframework.security.access.AccessDeniedException: Cannot access
__ with the current privileges
at
org.geoserver.security.SecureCatalogImpl.unauthorizedAccess(SecureCatalogImpl.java:1072)
at
org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:1046)
at
org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:925)
at
org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:715)
at
org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:603)
at
org.geoserver.security.SecureCatalogImpl.getLayerByName(SecureCatalogImpl.java:361)
at
org.geoserver.catalog.impl.AbstractFilteredCatalog.getLayerByName(AbstractFilteredCatalog.java:265)
at
org.geoserver.catalog.impl.AbstractCatalogDecorator.getLayerByName(AbstractCatalogDecorator.java:466)
at
org.geoserver.catalog.impl.LocalWorkspaceCatalog.getLayerByName(LocalWorkspaceCatalog.java:257)
at
org.geoserver.monitor.LayerNameNormalizer.run(LayerNameNormalizer.java:44)
at
org.geoserver.monitor.MonitorFilter$PostProcessTask.run(MonitorFilter.java:302)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

___
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] Latest maintenance releases GeoTools 28.5 and GeoServer 2.22.5

2023-09-06 Thread Peter Smythe
Thank you very much Steve for reporting the problem.

And thank you also to Jody for fixing the build server and re-releasing it.

Please take note of the update:
https://geoserver.org/announcements/2023/08/30/geoserver-2-22-5-released.html

Peter

On Wed, 6 Sept 2023 at 05:51, Jody Garnett  wrote:

> Steve:
>
> I can confirm the errors:
>
> 05 Sep 20:34:18 ERROR  [org.geoserver] - Failed to run initializer
> org.geoserver.gwc.config.GWCInitializer@121dce2
>
> java.lang.NoSuchMethodError:
> java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
>
> at
> org.geotools.data.shapefile.dbf.DbaseFileHeader.readHeader(DbaseFileHeader.java:577)
>
> I have restored the build process using java 8 jobs on the build server
> and the resulting artifacts are working in Java 8 environment.
>
>
> Build Information
>
> GeoServer Version
> 2.22.5
> Git Revision
> 487dc9c843d566db9435458ebb06c9a08ca70283
> Build Date
> 06-Sep-2023 03:15
> GeoTools Version
> 28.5 (rev 14d52ac359991917312803c20ae65df981e903fd)
> GeoWebCache Version
> 1.22.2 (rev 1.22.x/7f2cc58279e2f8ee73f5e5ca04897850e8e004f6)
>
> I have re-deployed to source forge, please download and and confirm
> everything is working for you.
>
> Thanks for reporting the problem, often problems like this are "so
> obvious" everyone thinks it has been noticed already. I made sure to thank
> you in the updated re-release announcement.
>
> --
> Jody Garnett
>
>
> On Sep 5, 2023 at 10:45:20 AM, Jody Garnett 
> wrote:
>
>> Steve,
>>
>> Oh no! Peter (CCed) did ask that the release artifacts be tested before
>> being made available. We may have to regenerate the release :(
>>
>> It is worth doing another release, as this is a problem with the build
>> environment rather than with the software tag.
>> --
>> Jody Garnett
>>
>>
>> On Sep 5, 2023 at 10:35:50 AM, "Ikeoka, Steve via Geoserver-users" <
>> geoserver-users@lists.sourceforge.net> wrote:
>>
>>> I was upgrading from GeoServer 2.22.4 to 2.22.5 using the Web Archive
>>> (WAR) package and deploying in JDK8 and encountered a NoSuchMethodError
>>> related to compiling the GeoTools JARs with JDK11.  I was able to reproduce
>>> the error using the unmodified WAR directly from the download site and the
>>> default data directory (stack trace is at the end).
>>>
>>> I looked at the MANIFEST.MF files in the GeoTools 28.5 JARs in the WAR
>>> and they say "Build-Jdk-Spec: 11" but the GeoTools 28.5 JARs in the OSGeo
>>> Nexus repo say "Build-Jdk-Spec: 1.8" and I was able to confirm that
>>> replacing the affected GeoTools JARs with the Nexus version ran fine with
>>> JDK8.
>>>
>>> MANIFEST.MF from the gt-shapefile-28.5.jar in
>>> https://sourceforge.net/projects/geoserver/files/GeoServer/2.22.5/geoserver-2.22.5-war.zip
>>> Build-Jdk-Spec: 11
>>> Build-Timestamp: 30-Aug-2023 08:29
>>> Git-Revision: e932a443b6e51756ebf1261baab4c0c390706ece
>>>
>>> MANIFEST.MF from
>>> https://repo.osgeo.org/repository/release/org/geotools/gt-shapefile/28.5/gt-shapefile-28.5.jar
>>> Build-Jdk-Spec: 1.8
>>> Build-Timestamp: 31-Aug-2023 12:31
>>> Git-Revision: 53833690070eb6af1b283ab278e6da4267be3cac
>>>
>>> These are the GeoTools modules that directly use java.nio.ByteBuffer
>>> with main, metadata, referencing and shapefile being included in the core
>>> package:
>>> library/main
>>> library/metadata
>>> library/referencing
>>> plugin/grassraster
>>> plugin/jdbc/jdbc-hana
>>> plugin/shapefile
>>> unsupported/flatgeobuff
>>> unsupported/geobuff
>>> unsupported/s3-geotiff
>>>
>>> I don't know if this is serious enough to consider doing another "final"
>>> 2.22.x release when a developer becomes available.  If not, a note should
>>> be added somewhere that JDK8 users will need to either stay on GeoServer
>>> 2.22.4 or use the workaround of manually replace certain GeoTools JARs if
>>> they are using GeoServer in a way that triggers these errors.
>>>
>>> Stack Trace:
>>> 2023-09-05 15:38:39,662 ERROR [org.geoserver] Failed to run initializer
>>> org.geoserver.gwc.config.GWCInitializer@609e3e1:
>>> java.lang.NoSuchMethodError:
>>> java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
>>> at
>>> org.geotools.data.shapefile.dbf.DbaseFileHeader.readHeader(DbaseFileHeader.java:577)
>>> at
>>> org.geotools.data.shapefile.dbf.DbaseFileReader.doInit(DbaseFileReader.java:226)
>>> at
>>> org.geotools.data.shapefile.dbf.DbaseFileReader.init(DbaseFileReader.java:186)
>>> at
>>> org.geotools.data.shapefile.dbf.DbaseFileReader.(DbaseFileReader.java:148)
>>> at
>>> org.geotools.data.shapefile.ShapefileSetManager.openDbfReader(ShapefileSetManager.java:132)
>>> at
>>> org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:497)
>>> at
>>> org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:454)
>>> at
>>> 

[Geoserver-users] Latest maintenance releases GeoTools 28.5 and GeoServer 2.22.5

2023-08-31 Thread Peter Smythe
 We're pleased to finally announce the release of the latest and final
maintenance versions of GeoTools (28.5) and GeoServer (2.22.5).

Both releases contain a number of bug fixes and enhancements so you are
encouraged to upgrade to them. More details are available in the related
blog posts - GeoTools (
https://geotoolsnews.blogspot.com/2023/08/geotools-285-released.html) and
GeoServer (
https://geoserver.org/announcements/2023/08/30/geoserver-2-22-5-released.html
)

Please note that these versions are the last scheduled releases using Java
8 and all future releases will require a minimum of Java 11.

Peter
AfriGIS

___
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] Latest maintenance releases GeoTools 28.4 and GeoServer 2.22.4

2023-06-19 Thread Peter Smythe
 We're pleased to announce the release of the latest maintenance versions
of GeoTools (28.4) and GeoServer (2.22.4).  Both releases contain a number
of bug fixes and enhancements so you are encouraged to upgrade to them.
More details are available in the related blog posts - GeoTools (
http://geotoolsnews.blogspot.com/2023/06/geotools-284-released.html) and
GeoServer (
https://geoserver.org/announcements/2023/06/19/geoserver-2-22-4-released.html
)

Peter and Jody

___
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] Setting up authKey module with external key provider

2023-04-07 Thread Peter Smythe
Hi Alin

I have 4 suggestions to assist you:

Does it work using a properties file instead of the web service? See
https://docs.geoserver.org/latest/en/user/extensions/authkey/index.html#key-provider-using-a-property-file

Try setting GeoServer logging level to verbose to see the AuthKey log
output.

Your regex is looking for a response like {"user": "admin"} (not "name") -
but you're not hitting this problem yet

In the (default) Filter Chain, under Selected, try reordering the list so
that AuthKey is above Basic and Anonymous

hth

Peter

On Wed, 05 Apr 2023, 17:18 Alin State,  wrote:

> Hello all,
>
> I am trying to get the this working, but I believe I am missing something.
> GEOSERVER_VERSION=2.21.1
>
> What I did:
> 1. I installed the authkey extension (I can see it under server status
> then modules)
> 2. I have setup the auth filter. (didn't click synchronize)
> [image: image.png]
> 3. Added that to the default key chain.
> 4. I have a server returning just a default json {"name": "admin"}
> 5. I have set up a wms layer which I can get from a website using
> openlayer.
>
>
> I am not sure what else to do to make this work. I don't see geoserver
> doing that authkey filter and not communicating with the key provider
> server.
>
> Thanks in advance,
> Alin
> --
>
> *Alin State*  |  Software Engineer
>  +44 (0)7718 612525
>  alin.st...@udlive.io
> [image: Learn more at https://www.udlive.io]    
> [image:
> Check us out on LinkedIn] 
>
> Disclaimer:
>
> The content of this email is confidential and intended for the recipient
> specified in message only. It is strictly forbidden to share any part of
> this message with any third party, without a written consent of the sender.
> If you received this message by mistake, please reply to this message and
> follow with its deletion, so that we can ensure such a mistake does not
> occur in the future.
> The security of customers and suppliers as a priority. Therefore, we have
> put efforts into ensuring that the message is error and virus-free.
> Unfortunately, full security of the email cannot be ensured as, despite our
> efforts, the data included in emails could be infected, intercepted, or
> corrupted. Therefore, the recipient should check the email for threats with
> proper software, as the sender does not accept liability for any damage
> inflicted by viewing the content of this email.
> No employee has the authority to conclude any binding contract without an
> explicit written consent of their supervisor. Therefore, any will to
> enter into an agreement must be confirmed by a second manager or director.
> Any quotation contained is sent to compare available offers and does not
> imply entering into a legally binding contract.
> Please do not print this email unless it is necessary. Every unprinted
> email helps the environment.
> The views and opinions included in this email belong to their author and
> do not necessarily mirror the views and opinions of the company. Our
> employees are obliged not to make any defamatory clauses, infringe, or
> authorise infringement of any legal right. Therefore, the company will not
> take any liability for such statements included in emails. In case of any
> damages or other liabilities arising, employees are fully responsible for
> the content of their emails.
> ___
> 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 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] [Geoserver-devel] GeoServer 2.23-RC1 released

2023-03-24 Thread Peter Smythe
Hi Gabriel

Further testing with our data revealed no other problems.  This was on the
osgeo docker image in an AWS ECS container.  Amongst others, items checked
include:

ENV params
JNDI params
GeoPackages, PostGIS & SQL Server DBs
Vector and raster layers
Cascaded WFS

Regards

Peter
AfriGIS

On Wed, 15 Mar 2023 at 19:35, Peter Smythe  wrote:

> Hi Gabriel
>
> Thanks for leading this release, thanks to the GeoServer developers for
> their continued work.
>
> We usually run GeoServer on Linux via Docker, but I decided to test the
> Windows installation on my laptop (Windows 11).  It was mostly successful.
>
> The installer detected that I had Java 8 installed and prompted me to
> select a Java version > 8, which I was easily able to do via the browse
> dialog box.
> AdoptOpenJDK: 11.0.10 (OpenJDK 64-Bit Server VM)
>
> While the installer allowed me to select a different installation
> directory, there wasn't the option to set the Data directory, it is fixed
> as C:\ProgramData\GeoServer, as revealed in the summary page.  FYI, I set
> my installation directory to: D:\P-PROGRAMS\GeoServer
>
> There is no option to review the installation logs after completion, the
> installer just moves on quickly.
>
> During installation, I set the username/password to admin/geoserver2.
> However, when logging in to GeoServer, I saw that this *new password was
> not set*, the default password geoserver was correct.
>
> The GeoServer menu was created, as expected, I guess.  There was no hint
> that it had been done, or how to start up GeoServer.
>
> When running the Start GeoServer shortcut, the command prompt very briefly
> popped up, no indication of success or failure.
>
> 
>
> The following plugins were installed and briefly tested:
> Authkey, Charts, CSS, GeoPkg Output, GWC S3, Monitor, MVT, Web resource,
> WPS
> Also GeoStyler, from it's own GitHub repo
>
> Community plugins such as Elasticsearch are not available in this RC build
> - or are they?
>
> 
>
> Most of our datastores use JNDI, so I did not go further to test our
> layers.  I might follow the Jetty JNDI instructions I found at
> https://docs.huihoo.com/jetty/the-definitive-reference/using-jetty-jndi.html
> at a later stage.
>
> I intend to test our layers thoroughly on Docker, I will report back again.
>
> Regards
>
> Peter Smythe
> AfriGIS
>
>
> On Tue, 14 Mar 2023 at 22:01, Gabriel Roldan 
> wrote:
>
>> The GeoServer team is pleased to share the release of GeoServer 2.23-RC1
>> <https://geoserver.org/release/2.23-RC1/>.
>>
>> Check out the announcement
>> <https://geoserver.org/announcements/2023/03/14/geoserver-2-23-RC1-released.html>
>>  for
>> a summary and pictures of the hard work that leads to this:
>>
>>- Java 11 Minimum
>>- CSS Cleanup
>>- Spring Upgrade
>>- Windows installer Java 11 Update
>>- Feature Type Description
>>- OGC CITE Fixes
>>- And a whole host of fixes and improvements
>><https://github.com/geoserver/geoserver/releases/tag/2.23-RC1>
>>
>> Thanks to everyone who helped make this release and tested all the
>> upgrades and fixes as they developed - due to your effort this release 
>> candidate
>> is *much* better.
>>
>> Please *reply to this email with the results of your testing *- we are
>> especially interested in the following:
>>
>>- The *new functionality and documentation*? Does it work
>>with your data? Do the docs make sense? Ask questions...
>>- This is the first release that requires Java 11 as a minimum, but
>>let us know *what JDK you are using* and how the upgrade to Java 11
>>goes
>>- We really want to know about *any regressions* - do not think for a
>>moment that any issue is evident and we will notice (we won't it is up to
>>you to speak up)
>>- A small thing: the downloads and extensions now include *HTML pages* 
>> (rather
>>than text files) for readme, running instructions, and licenses. If you
>>spot anything missing or incorrect please let us know.
>>
>> We do our best to acknowledge everyone who responds during this testing
>> window as part of the final release announcement. This is your chance to
>> take part; give the release candidate a download, let us know how it
>> works, and we can get GeoServer 2.23.0 out next.
>> --
>> Gabriel Roldan
>>
>> ___
>> Geoserver-devel mailing list
>> geoserver-de...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
&g

Re: [Geoserver-users] [Geoserver-devel] GeoServer 2.23-RC1 released

2023-03-15 Thread Peter Smythe
Hi Gabriel

Thanks for leading this release, thanks to the GeoServer developers for
their continued work.

We usually run GeoServer on Linux via Docker, but I decided to test the
Windows installation on my laptop (Windows 11).  It was mostly successful.

The installer detected that I had Java 8 installed and prompted me to
select a Java version > 8, which I was easily able to do via the browse
dialog box.
AdoptOpenJDK: 11.0.10 (OpenJDK 64-Bit Server VM)

While the installer allowed me to select a different installation
directory, there wasn't the option to set the Data directory, it is fixed
as C:\ProgramData\GeoServer, as revealed in the summary page.  FYI, I set
my installation directory to: D:\P-PROGRAMS\GeoServer

There is no option to review the installation logs after completion, the
installer just moves on quickly.

During installation, I set the username/password to admin/geoserver2.
However, when logging in to GeoServer, I saw that this *new password was
not set*, the default password geoserver was correct.

The GeoServer menu was created, as expected, I guess.  There was no hint
that it had been done, or how to start up GeoServer.

When running the Start GeoServer shortcut, the command prompt very briefly
popped up, no indication of success or failure.



The following plugins were installed and briefly tested:
Authkey, Charts, CSS, GeoPkg Output, GWC S3, Monitor, MVT, Web resource, WPS
Also GeoStyler, from it's own GitHub repo

Community plugins such as Elasticsearch are not available in this RC build
- or are they?



Most of our datastores use JNDI, so I did not go further to test our
layers.  I might follow the Jetty JNDI instructions I found at
https://docs.huihoo.com/jetty/the-definitive-reference/using-jetty-jndi.html
at a later stage.

I intend to test our layers thoroughly on Docker, I will report back again.

Regards

Peter Smythe
AfriGIS


On Tue, 14 Mar 2023 at 22:01, Gabriel Roldan 
wrote:

> The GeoServer team is pleased to share the release of GeoServer 2.23-RC1
> <https://geoserver.org/release/2.23-RC1/>.
>
> Check out the announcement
> <https://geoserver.org/announcements/2023/03/14/geoserver-2-23-RC1-released.html>
>  for
> a summary and pictures of the hard work that leads to this:
>
>- Java 11 Minimum
>- CSS Cleanup
>- Spring Upgrade
>- Windows installer Java 11 Update
>- Feature Type Description
>- OGC CITE Fixes
>- And a whole host of fixes and improvements
><https://github.com/geoserver/geoserver/releases/tag/2.23-RC1>
>
> Thanks to everyone who helped make this release and tested all the
> upgrades and fixes as they developed - due to your effort this release 
> candidate
> is *much* better.
>
> Please *reply to this email with the results of your testing *- we are
> especially interested in the following:
>
>- The *new functionality and documentation*? Does it work
>with your data? Do the docs make sense? Ask questions...
>- This is the first release that requires Java 11 as a minimum, but
>let us know *what JDK you are using* and how the upgrade to Java 11
>goes
>- We really want to know about *any regressions* - do not think for a
>moment that any issue is evident and we will notice (we won't it is up to
>you to speak up)
>- A small thing: the downloads and extensions now include *HTML pages* 
> (rather
>than text files) for readme, running instructions, and licenses. If you
>spot anything missing or incorrect please let us know.
>
> We do our best to acknowledge everyone who responds during this testing
> window as part of the final release announcement. This is your chance to
> take part; give the release candidate a download, let us know how it
> works, and we can get GeoServer 2.23.0 out next.
> --
> Gabriel Roldan
>
> ___
> Geoserver-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>

___
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] GeoWebCache compatibility with env parametrization

2023-03-15 Thread Peter Smythe
Hi Alexandre

Yes, it has been fixed in a recent version: v2.21.3 and v2.22.0 and it now
works.

See https://osgeo-org.atlassian.net/browse/GEOS-10731

Regards

Peter

On Fri, 10 Mar 2023 at 14:20, Alexandre Gacon 
wrote:

> Hello,
>
> Do you know if it is possible to use environment parametrization with
> GeoWebCache, especially with the S3 blobstore plugin?
>
> --
> Alexandre Gacon
> ___
> 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 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] Multiple viewparams not working: =p1:5; p2:6; p3:7

2022-11-16 Thread Peter Smythe
Apologies, this is not a GeoServer issue, but rather an AWS (WAF?) problem
which replaces the semicolon with an ampersand before the request even
reaches GeoServer. The workaround, before we delve further in the AWS WAF,
is to URL-encode the semicolon with %3B. GeoServer then sees all 3
viewparams correctly.
Peter

On Sun, 13 Nov 2022 at 17:45, Peter Smythe  wrote:

> Hi all
>
> I am following the documentation at
> https://docs.geoserver.org/latest/en/user/data/database/sqlview.html#using-a-parametric-sql-view
> which is essentially:
>
> Using a parametric SQL View¶
>> <https://docs.geoserver.org/latest/en/user/data/database/sqlview.html#using-a-parametric-sql-view>
>>
>> The SQL view parameters are specified by adding the viewparams parameter
>> to the WMS GetMap or the WFS GetFeature request. The viewparams argument
>> is a list of key:value pairs, separated by semicolons:
>>
>> viewparams=p1:v1;p2:v2;...
>>
>> If the values contain semicolons or commas these must be escaped with a
>> backslash (e.g. \, and \;).
>>
> I have discovered that the second and third viewparams (p2, p3 above) do
> not get set to the values provided in the WFS request and default to their
> default values.
>
> How to reproduce:
>
> Add store > Geopackage (*which allows a SQL view*) > test-viewparams as
> the store name and geopackage name
> You will be taken to Add new layer > Configure new SQL view > add a view
> name and this SQL:
>
> SELECT %p1% as a,
>%p2% as b,
>%p3% as c
>
> Click Guess parameters from SQL > enter default values 1, 2, 3
> respectively.  Save, Save.
>
> [image: image.png]
>
> Now hit
>
> http://localhost:8080/geoserver/wfs?version=1.0.0=GetFeature=cite:test-viewparams=application/json;
> viewparams=p1:5;p2:6;p3:7
>
> This should set:
>
>- p1 to 5 (not the default 1)
>- p2 to 6 (not the default 2)
>- p3 to 7 (not the default 3)
>
> However, only p1 is set and p2 and p3 are set to their default values:
>
> {
>> "type": "FeatureCollection",
>> "features": [{
>> "type": "Feature",
>> "id": "test-viewparams.fid-42816c8f_1842d011d2b_-7ff3",
>> "geometry": null,
>> "properties": {
>> "a": 5,
>> "b": 2,
>> "c": 3
>> }
>> }
>> ],
>> "totalFeatures": 1,
>> "numberMatched": 1,
>> "numberReturned": 1,
>> "timeStamp": "2022-11-10T09:29:59.900Z",
>> "crs": null
>> }
>>
>
> Can anyone explain why this is not working, please?
>
> Thank you
>
> Peter
>

___
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] Fwd: Multiple viewparams not working: =p1:5; p2:6; p3:7

2022-11-13 Thread Peter Smythe
Hi all

I am following the documentation at
https://docs.geoserver.org/latest/en/user/data/database/sqlview.html#using-a-parametric-sql-view
which is essentially:

Using a parametric SQL View¶
> 
>
> The SQL view parameters are specified by adding the viewparams parameter
> to the WMS GetMap or the WFS GetFeature request. The viewparams argument
> is a list of key:value pairs, separated by semicolons:
>
> viewparams=p1:v1;p2:v2;...
>
> If the values contain semicolons or commas these must be escaped with a
> backslash (e.g. \, and \;).
>
I have discovered that the second and third viewparams (p2, p3 above) do
not get set to the values provided in the WFS request and default to their
default values.

How to reproduce:

Add store > Geopackage (*which allows a SQL view*) > test-viewparams as the
store name and geopackage name
You will be taken to Add new layer > Configure new SQL view > add a view
name and this SQL:

SELECT %p1% as a,
   %p2% as b,
   %p3% as c

Click Guess parameters from SQL > enter default values 1, 2, 3
respectively.  Save, Save.

[image: image.png]

Now hit
http://localhost:8080/geoserver/wfs?version=1.0.0=GetFeature=cite:test-viewparams=application/json;
viewparams=p1:5;p2:6;p3:7

This should set:

   - p1 to 5 (not the default 1)
   - p2 to 6 (not the default 2)
   - p3 to 7 (not the default 3)

However, only p1 is set and p2 and p3 are set to their default values:

{
> "type": "FeatureCollection",
> "features": [{
> "type": "Feature",
> "id": "test-viewparams.fid-42816c8f_1842d011d2b_-7ff3",
> "geometry": null,
> "properties": {
> "a": 5,
> "b": 2,
> "c": 3
> }
> }
> ],
> "totalFeatures": 1,
> "numberMatched": 1,
> "numberReturned": 1,
> "timeStamp": "2022-11-10T09:29:59.900Z",
> "crs": null
> }
>

Can anyone explain why this is not working, please?

Thank you

Peter

___
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] Copying GeoServer configurations between various environments (dev -> staging -> prod)

2022-08-12 Thread Peter Smythe
Hi all GeoServer admin users

I wonder if I can poll you to find out how you manage or copy your
GeoServer configurations between various environments like dev -> staging
-> production?

We make use of JNDI to extract the database credentials out of the
GeoServer data directory and into the Tomcat container.
https://docs.geoserver.org/latest/en/user/data/database/jndi.html

We can make use of setting certain parameters like the data directory and
proxy URL in the WEB-INF/web.xml file:
https://docs.geoserver.org/master/en/user/datadirectory/setting.html#context-parameter

Similarly, we use ENV_PROPERTIES to parameterise various
${authkey_provider_url}, etc
https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html

This way, the configuration files for various environments can be identical.

(We also previously made use of the jdbcstore/jdbcconfig extensions which
store the above XML file contents in database tables, but we found that it
was less accessible and didn't really work for us.)

However, perhaps you want to take a new configuration live but you have a
new workspace/layer/style in dev that mustn't go live yet.  How do you
exclude it?  Because the configuration is all just XML files, they can be
treated and manipulated as source code, perhaps using Git branches and
Merge Requests.  Does anyone do this?  If not, why not?

What other ways have you found to manage your various GeoServer
configurations?

Thank you

Peter
___
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] What is UUID version for "AuthKEY" module and how I can generate that?

2022-03-31 Thread Peter Smythe
Hi Navid

I think I am correct in saying that you can generate any string to use as
the authkey, the authkey module just maps that string to the GeoServer
username, which GeoServer then uses further for checking role based access,
etc.

The authkey module generates UUID v4.  It will do this for any missing
authkeys if you click Security > Authentication > [authkey filter] >
Synchronize user/group service and it will write these to
$GEOSERVER_DATA_DIR/security/user group/default/authkeys.properties

You also have the option to change the mapper from this Property file to a
User property or a Web Service, the latter is what we personally use.

Regards

Peter


On Tue, 29 Mar 2022 at 22:29, Navid taheri  wrote:

> Hi,
>
> I installed AuthKEY module,Although I read authkey documents couple of
> time, I've doubt about some subjects.
>
> I though authkey it will generate automatically appropriate UUID as key,
> But it can not and admin user must generate UUID outside of GeoServer and
> then use that as a value for UUID property in Users/Group (default) or add
> to property of file or save that authkeys.properties in
>
> $GEOSERVER_DATA_DIR/security/user group/default/authkeys.properties
>
> UUID has different version 1 to 5 I'm going to know If I should generate
> that by GeoServer
>
> How I can do that in GeoServer or if I should generate by other software
> which version I should use?
>
> I'm using GeoServer 2.20.2 - Tomcat 9.0.53 - Debian 11 x64 - GeoFence
> module
>
> Sincerely Yours
>
> ___
> 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 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] OGR datastore / GDAL installation problems.

2022-03-25 Thread Peter Smythe
Dear list

Does anyone make use of the OGR datastore extension:
https://docs.geoserver.org/latest/en/user/community/ogr-store/index.html
(or GDAL Image Formats:
https://docs.geoserver.org/stable/en/user/data/raster/gdal.html)?

I am getting the errors:

Native library load failed.
> java.lang.UnsatisfiedLinkError: no ogrjni in java.library.path
> Native library load failed.
> java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
>

when GeoServer starts up. And obviously OGR is not listed as a datastore.

I am running on Tomcat on Ubuntu.  I have installed gdal-bin, libgdal-dev
and libgdal-java. I have set GDAL_DATA and LD_LIBRARY_PATH in Tomcat's
setenv.sh and restarted Tomcat:

export GDAL_DATA="/usr/share/gdal"
>>
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/:/usr/lib/jni/
>>
> export PATH=$PATH:/usr/lib/:/usr/lib/jni/   # does not help.
>>
>
I have noticed that there are no files called ogrjni nor gdaljni on the
file system, and definitely not in /usr/lib/jni (only these 2 files):

root@devtomcat0:/usr/lib/jni# ll
> total 1088
> drwxr-xr-x  2 root root   4096 Feb 15 17:44 ./
> drwxr-xr-x 89 root root   4096 Mar 24 19:08 ../
> -rw-r--r--  1 root root 551000 Mar 29  2020 libgdalalljni.so
> -rw-r--r--  1 root root 551000 Mar 29  2020 libgdalalljni.so.26
>

In /usr/lib/ I find:

> root@devtomcat0:/usr/lib# ll libgdal*
> -rw-r--r-- 1 root root 50018498 Mar 29  2020 libgdal.a
> lrwxrwxrwx 1 root root   17 Mar 29  2020 libgdal.so ->
> libgdal.so.26.0.4
> lrwxrwxrwx 1 root root   17 Mar 29  2020 libgdal.so.26 ->
> libgdal.so.26.0.4
> -rw-r--r-- 1 root root 20197488 Mar 29  2020 libgdal.so.26.0.4
>
so I am fairly sure that LD_LIBRARY_PATH should be /usr/lib/ - is that
correct?

In the GeoServer lib directory, I have:

> root@devtomcat0:/opt/tomcat/webapps/mapservice/WEB-INF/lib# ll *ogr-*
> -rw-r--r-- 1 root root 11584 Feb 15 17:05 gs-web-ogr-2.20-SNAPSHOT.jar
> -rw-r--r-- 1 root root 55134 Feb 15 17:05 gt-ogr-core-26-SNAPSHOT.jar
> -rw-r--r-- 1 root root 11858 Feb 15 17:05 gt-ogr-jni-26-SNAPSHOT.jar
>

In the GDAL Image Formats documentation, it states:

> If new formats do not appear in the GUI and you see the following message
> in the log file:
>
> *it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL WARNING:
> Native library load failed.java.lang.UnsatisfiedLinkError: no gdaljni in
> java.library.path* WARNING: Native library load
> failed.java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path*
>
> that means that the installations failed for some reason.
>
Any thoughts on how the installation failed, or what is not set up
correctly, or what else I can try to get this working?

Thank you

Peter
___
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] Geoserver behind Nginx server (HTTP/HTTPS)

2022-03-03 Thread Peter Smythe
Hi Jibran

Please take a look at the GeoServer documentation
https://docs.geoserver.org/stable/en/user/configuration/globalsettings.html#proxy-base-url

This will be the HTTPS Nginx URL that you will configure in here and then
the GetCapabilities call will embed it correctly in its response.

Regards

Peter


On Wed, 2 Mar 2022 at 15:31, Jibran Khan  wrote:

> Hi there,
>
> I am here to seek advice.
>
> I have a Ubuntu 20.04 virtual host running Geoserver 20.0.0. Some
> static/HTML files, behind the Nginx server, connect to geoserver
> (http://localhost:my_port) to serve WMS data. All this works fine.
>
> Using Let'sEncrypt, I aim to add SSL encryption to my virtual server's
> Nginx (default) block, enabling redirecting to HTTP. Once this is done
> (server: https://my_domain:my_port), do I need to modify underlying
> geoserver services/configuration? or Nginx redirecting to HTTP will be
> sufficient?
>
> Looking forward to hearing from you.
>
> Best regards,
> Jibran
> ___
> 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 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] https://docs.geoserver.org/ not working

2022-02-09 Thread Peter Smythe
Hi devs,

In case you are not aware of it, docs.geoserver.org does not resolve to an
IP address, and is thus currently not working.

https://mxtoolbox.com/SuperTool.aspx?action=https%3a%2f%2fdocs.geoserver.org%2f=toolpage

Regards

Peter
___
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] Authkey user not affected by Enabled/Disabled checkbox

2022-02-01 Thread Peter Smythe
Hi all

We make use of the Authkey

module and I have recently observed that OGC services will still work, even
when the Enabled checkbox is unchecked, see below:

[image: image.png]

Is this the expected behaviour?

If yes, I am assuming that it is because the Enabled checkbox belongs to
the default/basic authentication provider, which is then replaced by the
authkey provider (which should have its own Enabled option.)

In this case, I propose to update the above documentation page to make it
clear that the Enabled checkbox does not affect the authkey provider.  May
I proceed?

Regards

Peter
___
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] Feedback required on UX improvement - menu open on Users/Groups rather than Services

2021-03-12 Thread Peter Smythe
Hi all

When clicking on Security > Users, Groups, Roles:

[image: image.png]

I don't think I am the only GeoServer administrator who opens the
Users/Groups tab much more frequently than the alternatives to the left or
right: Services or Roles.

[image: image.png]

Would it be a welcome UX improvement to open on this second tab by default,
rather than the first one?

Is it acceptable to not open on the first tab?

Would it be better to change the tab order to: Users/Groups, Roles,
Services?

Thanks

Peter
___
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] What's the purpose of ROLE_GROUP_ADMIN?

2021-03-09 Thread Peter Smythe
Hi all

According to
https://docs.geoserver.org/stable/en/user/security/usergrouprole/roles.html,
there are 4 reserved role names:


   -

   ROLE_ADMINISTRATOR—Provides access to all operations and resources
   -

   ROLE_GROUP_ADMIN—Special role for administrating user groups
   -

   ROLE_AUTHENTICATED—Assigned to every user authenticating successfully
   -

   ROLE_ANONYMOUS—Assigned if anonymous authentication is enabled and user
   does not log on

I understand and have used these, except for ROLE_GROUP_ADMIN.

*(I have also configured the workspace/layer level admin mode in Layer
Security (ref:
https://docs.geoserver.org/latest/en/user/security/layer.html#access-modes
)
which gives a user access to the configuration of the specified workspace,
and I believe this has nothing to do with ROLE_GROUP_ADMIN )*

When I configure a test user with ROLE_GROUP_ADMIN:

[image: image.png]

I see that the *Administrator for groups* combo box is greyed out - is that
correct?  Should I be able to select which of multiple groups this user can
administer?

And when this user logs into the web admin interface, they get no
additional functionality:

[image: image.png]

Can someone please explain to me how this "Special role for administrating
user groups" works?  Is it only applicable to the REST interface?

Thank you

Peter
___
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] Any XSD for GeoServer's REST APIs?

2020-10-13 Thread Peter Smythe
Hi all

I wonder if anyone has any XML schema definitions for the REST APIs?  Our
developers want to create a library for programatically accessing the API
so XSD files would help.

I see that the code does not make use of any (ref:
src\restconfig\src\main\java\org\geoserver\rest\catalog\WorkspaceController.java)
and the API documentation at

https://docs.geoserver.org/latest/en/api/#1.0.0/workspaces.yaml

only has example responses, e.g.

Example Value

*application/xml*


>   topp
>   
> http://www.w3.org/2005/Atom; rel="alternate"
> href="http://localhost:8080/geoserver/rest/workspaces/topp/datastores.xml;
> type="application/xml"/>
>   
>   
> http://www.w3.org/2005/Atom; rel="alternate"
> href="
> http://localhost:8080/geoserver/rest/workspaces/topp/coveragestores.xml;
> type="application/xml"/>
>   
>   
> http://www.w3.org/2005/Atom; rel="alternate"
> href="http://localhost:8080/geoserver/rest/workspaces/topp/wmsstores.xml;
> type="application/xml"/>
>   
> 


Thanks

Peter
___
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] [Geoserver-devel] [JIRA] (GEOS-9756) Layer configured with missing style throws NPE

2020-10-01 Thread Peter Smythe
>
> Q: Why would you rename pophatch.xml to pophatch.xml.break ?
>

This was the simplest step that I could take to reproduce the problem on a
known default configuration.

How it happened in practice is that an entire workspace directory was
copied from one GeoServer to another, but one of the style files that was
referenced by a tiled layer (so the equivalent of pophatch.xml) was not
copied across (possibly it was a global style).

The new instance started up without any warnings in the log file that
[pophatch.xml] was missing.

When I browsed to Tile Caching > Tile Layers, the NPE was thrown, again
without any indication of what the problem was or which layer was affected.

org.apache.wicket.WicketRuntimeException: Error attaching this container
> for rendering: [OddEvenItem [Component id = 8]]
> at
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1848)
> ...
> Caused by: java.lang.NullPointerException
> at
> org.geoserver.gwc.layer.StyleParameterFilter.setLayer(StyleParameterFilter.java:197)


At the very least, I would like to add a log message when the catalog is
loaded to warn of a missing style for a particular layer, which is why I
wrote to the developer's list, asking for guidance on how to fix it.

I agree with Jody that:

The correct place to catch this is when the problem is introduced (reading
> an invalid configuration), rather than in all the many places that
> reference this data structure.
>

so I propose to do this in
gs-main/src/main/java/org/geoserver/config/GeoServerLoader.java around line
207.

Further, can I automatically remove a null/missing style, or is that
dangerous/unacceptable?

Regards

Peter


On Thu, 1 Oct 2020 at 09:24, Andrea Aime 
wrote:

> On Thu, Oct 1, 2020 at 9:01 AM Jody Garnett 
> wrote:
>
>> Q: Why would you rename pophatch.xml to pophatch.xml.break ?
>>
>
> Agreed, if someone breaks by hand the configuration it's their problem to
> fix it, not something to be handled in the code.
> If the link between layers and style has been broken without any manual
> intervention on the data directory, and without
> any mis-update via the REST API, then we would very much like to know, and
> see if there is any way to reproduce,
> so that the actual cause is isolated and fixed
>
> 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
> --- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
___
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] (no subject)

2020-09-29 Thread Peter Smythe
Hi guys

In https://docs.geoserver.org/latest/en/user/data/webadmin/workspaces.html,
the documentation says:

> The workspace name is limited to ten characters and may not contain space.

I have never come across this 10 character limitation and wonder whether it
is correct or whether the documentation needs to be updated.  I have
successfully created two workspaces that only differ past the 10 character
position, so it's not checking only the first 10 characters.

Is there a known limitation on workspace name length?

Thanks

Peter
___
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] Chart extension

2020-04-02 Thread Peter Smythe
Thanks Alexandre.  I have considered OpenLayers, or preferably Leaflet, but
the intension is to render it in GeoServer (to protect the raw data) unless
there are very definite reasons not to use the Chart extension.

Regards

Peter

On Thu, 2 Apr 2020 at 16:47, Alexandre Gacon 
wrote:

> Hello Peter,
>
> How do you plan to deliver the map ? If you use OpenLayers, you can
> perhaps try to use the chart style provided by ol-ext (
> https://viglino.github.io/ol-ext/).
>
> Regards
> Alexandre
>
> Le jeu. 2 avr. 2020 à 16:41, Peter Smythe  a écrit :
>
>> Hi all
>>
>> I am looking for a GeoServer symbolizer to produce scaled pie charts.
>>
>> When I search for Geoserver chart, the first result I get is
>> https://geoserver.geo-solutions.it/edu/en/pretty_maps/charting.html  It
>> refers to Eastwood Charts, which appears to be a project last touched 12
>> years ago.  Is this the code used by the official extension: Chart
>> Symbolizer
>> <http://sourceforge.net/projects/geoserver/files/GeoServer/2.16.2/extensions/geoserver-2.16.2-charts-plugin.zip>
>> or is it now included inside GeoServer? Is this extension actively
>> maintained?
>>
>> Is this the preferred charting solution?  I see it referenced in a number
>> of SO answers.
>>
>> The other thing that confuses me is that while this extension appears in
>> http://geoserver.org/release/stable/ , it is not listed at
>> https://docs.geoserver.org/stable/en/user/extensions/index.html but that
>> list says that it is not exhaustive.
>>
>> Andrea/GeoSolutions, would it be acceptable to add a link to the
>> extensions page above linking to your website, or would it be better to
>> copy that charting.html page into the GeoServer documentation? If so, I
>> could do it with your permission.
>>
>> Thank you
>>
>> Peter
>> ___
>> 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
>>
>
>
> --
> Alexandre Gacon
>
___
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] Chart extension

2020-04-02 Thread Peter Smythe
Hi all

I am looking for a GeoServer symbolizer to produce scaled pie charts.

When I search for Geoserver chart, the first result I get is
https://geoserver.geo-solutions.it/edu/en/pretty_maps/charting.html  It
refers to Eastwood Charts, which appears to be a project last touched 12
years ago.  Is this the code used by the official extension: Chart
Symbolizer

or is it now included inside GeoServer? Is this extension actively
maintained?

Is this the preferred charting solution?  I see it referenced in a number
of SO answers.

The other thing that confuses me is that while this extension appears in
http://geoserver.org/release/stable/ , it is not listed at
https://docs.geoserver.org/stable/en/user/extensions/index.html but that
list says that it is not exhaustive.

Andrea/GeoSolutions, would it be acceptable to add a link to the extensions
page above linking to your website, or would it be better to copy that
charting.html page into the GeoServer documentation? If so, I could do it
with your permission.

Thank you

Peter
___
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] [Geotools-devel] Does CQL/ECQL support comments?

2020-03-03 Thread Peter Smythe
Hi Jody

Seeing as a CQL filter can be provided on a single line/URL, I think that
an 'open and close comment' syntax would be important i.e. `/* ... */`
would be a good start.

Thanks for confirming that it currently does not exist.

Regards

Peter

On Sun, 1 Mar 2020 at 02:48, Jody Garnett  wrote:

> So what would comment look like for CQL / ECQL ? Similar to SQL with a
> `--` ? Looking around at other implementations `--`, `/* ... */` and `//`
> are all supported.
>
> As for ECQL.md here is a PR https://github.com/geotools/geotools/pull/2823
> --
> Jody Garnett
>
>
> On Fri, 28 Feb 2020 at 02:29, Peter Smythe  wrote:
>
>> Hi all
>>
>> We occasionally make use of CQL in our GeoServer layer definition (in Add
>> a new layer, the very last option before Save is `Restrict the features on
>> layer by CQL filter`.
>>
>> My first question to the GeoServer team is: is this restricted to CQL, or
>> does it allow ECQL too?  I am assuming that ECQL is supported due to this
>> statement:
>>
>> Whenever the documentation refers to CQL, ECQL syntax can be used as well
>>> (and if not, please report that as a bug!).
>>> ref:
>>> https://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html
>>>
>>
>>
>> Secondly, more to GeoTools: does CQL, or ECQL, support the use of
>> comments?
>>
>> Nothing is mentioned in
>> https://docs.geoserver.org/stable/en/user/filter/ecql_reference.html
>>
>> But the ECQL NBF grammar at
>> https://github.com/geotools/geotools/blob/master/modules/library/cql/ECQL.md
>> has one reference to:
>>
>>  ::= {  |  |  }...
>>
>> but no definition of .  Perhaps that should be removed as the
>> code at
>> https://github.com/geotools/geotools/tree/master/modules/library/cql/src/main/jjtree
>> does not contain any mention of comment.
>>
>> Thanks
>>
>> Peter
>>
>> ___
>> GeoTools-Devel mailing list
>> geotools-de...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
___
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] Does CQL/ECQL support comments?

2020-02-28 Thread Peter Smythe
Hi all

We occasionally make use of CQL in our GeoServer layer definition (in Add a
new layer, the very last option before Save is `Restrict the features on
layer by CQL filter`.

My first question to the GeoServer team is: is this restricted to CQL, or
does it allow ECQL too?  I am assuming that ECQL is supported due to this
statement:

Whenever the documentation refers to CQL, ECQL syntax can be used as well
> (and if not, please report that as a bug!).
> ref:
> https://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html
>


Secondly, more to GeoTools: does CQL, or ECQL, support the use of
comments?

Nothing is mentioned in
https://docs.geoserver.org/stable/en/user/filter/ecql_reference.html

But the ECQL NBF grammar at
https://github.com/geotools/geotools/blob/master/modules/library/cql/ECQL.md
has one reference to:

 ::= {  |  |  }...

but no definition of .  Perhaps that should be removed as the code
at
https://github.com/geotools/geotools/tree/master/modules/library/cql/src/main/jjtree
does not contain any mention of comment.

Thanks

Peter
___
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] OAuth2 not logging in to /geoserver/web

2020-01-31 Thread Peter Smythe
Hi all

I am investigating the OAuth2

community modules with v2.16.2.  I have configured the Google provider and
filter and added the username (gmail address actually) and linked it to an
admin role, and that worked pretty well**.  I still need to figure out if I
can control the roles from the OAuth2 provider via scopes.

** Actually, I am now unsure that it ever logged me in as an admin.
Perhaps I had manually logged in in another tab.

This was the successful OAuth response:

GET https://accounts.google.com/o/oauth2/auth?response_type=code_id=
.apps.googleusercontent.com=
https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/userinfo.profile_uri=https://localhost:8843/geoserver
->
location:
https://localhost:8843/geoserver?code==email+profile+
https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+openid=0=none_state=
..814a


I then moved onto the Github module, configured it against a new app in my
Github account and linked the username (Github username) to the admin
role.  This time, I got taken to the OAuth login page, I could see the
username returned and the logs showed the admin roles obtained, but I
remained logged out.

> [geoserver.security] - Got roles [ADMIN, ROLE_ADMINISTRATOR] from
UserGroupService for principal ...

I have tried in different/incognito browsers, clearing cookies, etc.

Ultimately I would like to authenticate against AWS Cognito, so I
configured both the oauth2-github and oauth2-openid-connect plugins to the
correct AWS auth URLs.  There does not appear to be an icon or link to
utilise the openid one (is this because it has to be in the HTTP header?),
but the Github-configured-to-AWS-Cognito one worked, the same as to Github
i.e. I could see my Cognito username being returned successfully, linked to
the roles, but not logging in.

The settings below are for AWS Cognito ref:
docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html

[image: github oauth provider.png][image: oauth chain.png]


Has anyone managed to authenticate against AWS Cognito and can give me
guidance?

(or help with my other question: how to control the roles from the OAuth2
provider via scopes.)

Thank you

Peter
___
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] JDBCConfig community module: users/groups/roles not saved

2019-12-13 Thread Peter Smythe
Thanks Jody, that was not immediately clear.  I will follow your advice -
next year.

And I'll ask about your parting question.

Regards

Peter



On Fri, 13 Dec 2019 at 10:09, Jody Garnett  wrote:

> JDBCConfig is not intended to be used in isolation, please use with
> JDBCStore (which saves configuration files, icons, fonts, and so on into
> the database as blobs).
>
> Please note that both these modules are unsupported and are seeking
> interested parties to work on them. Is this something your organization is
> in position to do?
> --
> Jody Garnett
>
>
> On Fri, 13 Dec 2019 at 08:50, Peter Smythe  wrote:
>
>> Hi all
>>
>> We are using the JDBCConfig
>> <https://docs.geoserver.org/stable/en/user/community/jdbcconfig/index.html>
>> community module and everything is saved to the configured database.  It
>> works well when autoscaling multiple instances in AWS.
>>
>> However, it appears as though the data/security/ directory is not part of
>> the catalog that is saved to the database.  When adding a new user, group
>> or role, the XML files in the local data/security directory are updated.
>>
>> Is this intentional or a bug?  I don't see any user configuration option
>> to include/exclude parts of the catalog.  Or does "catalog" exclude
>> security?
>>
>> Is there any way to use (or modify?) JDBCConfig to save users to the
>> database?
>>
>> Thanks
>>
>> Peter
>> ___
>> 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 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] JDBCConfig community module: users/groups/roles not saved

2019-12-12 Thread Peter Smythe
Hi all

We are using the JDBCConfig

community module and everything is saved to the configured database.  It
works well when autoscaling multiple instances in AWS.

However, it appears as though the data/security/ directory is not part of
the catalog that is saved to the database.  When adding a new user, group
or role, the XML files in the local data/security directory are updated.

Is this intentional or a bug?  I don't see any user configuration option to
include/exclude parts of the catalog.  Or does "catalog" exclude security?

Is there any way to use (or modify?) JDBCConfig to save users to the
database?

Thanks

Peter
___
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] how authkey modules actually should be setup on GeoServer

2019-12-08 Thread Peter Smythe
Hi Deen

I'm glad it worked for you.  Did you use a regex with a character class
 such as *\s* e.g.:

"user":\s*"([^"]+)"

If this worked for you and the example in the documentation did not, then
perhaps the backslash must not be repeated and the documentation is wrong.
i.e. we need to change the documentation from *\\s to \s*.  But can you
please confirm as at the moment I cannot test?

To answer your final question, no, there is also an authentication cache
(set to either 5 min or 10 min, I can't recall) that means the web service
will only be called once every 5 or 10 minutes, so I don't think it is
necessary to use "remember me".

But I am just one user of the authkey web service.  Others are free to
chime in here, as well...

Regards

Peter

On Sun, 8 Dec 2019 at 20:37, Deen  wrote:

> Hi Peter,
>
> True, I should've tested the regex before. Now with your regex tricks, I
> managed to acchieve what I want. But here is the part I am not quite
> getting
> it
>
> According to the docs
>
>
> > ^.*?\"user\"\\s*:\\s*\"([^\"]+)\".*$
> >
> > json response where the username is contained in a
> *
> > property
> *
> >  named
> *
> > user
> *
>
> Given that {"user": "admin"}, so isn't "user" a *property* of the json
> object?  Then how should the json reponse
> look like if I use regex above?
>
> Just a follow up question about what I actually want to to do. Following is
> the context,
>
> We have our own auth, basically just a rest request via POST (username &
> password), then the user gets the session id
> and with this session id, users can consume our services. So I want to
> resuse this session id for accessing GeoServer OWS as well.
>
> After playing with authkey modules, I do see how I can do it.
> Namely just add a GET end point in our REST API to check sessionID if it is
> valid when the user calls GeoServer OWS with authkey replacement.
>
> *My question:*
>
> 1. Is this how auth key is supposed to be used to integrate external auth
> providers?
> 2. In this case, every OWS request will trigger an additonal http GET for
> geoserver auth, am I right?  If yes, is there any way to use the auth
> filter
> "remember me" and "authkey" together? Is the filter chans the right
> direction to go?
>
> Regards & Thanks
> Deen
>
>
>
>
>
>
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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 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] how authkey modules actually should be setup on GeoServer

2019-12-08 Thread Peter Smythe
Hi Deen

Yes, that extra Save step has caught me and my team once or twice before!

For your external authkey web service returning:

{"user": "admin"}
or
{"user": "", "whatever":"whatever"}

you'll need a regex along the lines of:

"user": "(.+)"
or
"user":\s*"([^"]+)"

rather than the one you have:

^.*?\"user\"\\s*:\\s*\"([^\"]+)\".*$

which will match "json response where the username is contained in a *property
*named user" according to the documentation at
https://docs.geoserver.org/stable/en/user/community/authkey/index.html#key-provider-using-an-external-web-service

Regards

Peter


On Sun, 8 Dec 2019 at 15:21, Deen  wrote:

> Hi Peter,
>
> My bad, I did it as well and but just forgot to click the "save" button,
> that's why I didn't see the magic:) Anyway, I continue a bit further with
> the key provider using an external web service, somehow I got stuck.
>
> *Wha I did:*
>
> 1. setup a dummy rest end point for auth with Nodejs:
> http://127.0.0.1:3000/auth/{mytoken}
> curl -X GET http://127.0.0.1:3000/auth/
> it always return json response {"user": "admin"}
>
> 2. Then setup the Authentication Filter again as below
> 
>
> 3. keep the same service rule, apply and save the filter to default as your
> instruction
>
> *What I expect:*
> it should give me the capabilities document with following requrest
>
> curl -X GET
> '
> http://localhost:8080/geoserver/wms?service=WMS=2.0.0=GetCapabilities=
> '
>
> Instead I am getting the 401 again. then I checked the logs
>
> 08 Dec 13:32:16 WARN [geoserver.security] - Error in
> WebServiceAuthenticationKeyMapper, cannot find userName in response
> 08 Dec 13:32:16 WARN [geoserver.security] - No User Group Service
> configured
> for webservice url [http://127.0.0.1:3000/auth/{key}] with authkey: 
>
> I did saw geoserver making request with replacing key to my rest end point,
> and the rest end point did repsonse the json.
> By checking the geoserver source code  here
> <
> https://github.com/geoserver/geoserver/blob/ad7eb9041ff5dab135cba61798e8415c3b91097d/src/extension/authkey/src/main/java/org/geoserver/security/WebServiceAuthenticationKeyMapper.java#L188>
>
> .
>
> I realized that it happens because the repsonse body doesn't match the
> regex
> pattern, but how come?
> Isn't the json responose structure like {"user": "", "whatever":
> "whatever"} with the current regex ?
>
> Regards & Thanks in advance
> Deen
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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 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] how authkey modules actually should be setup on GeoServer

2019-12-05 Thread Peter Smythe
Hi Deen

You're almost there!  After adding authkey as an Authentication Filter, you
will need to use that filter in a Filter Chain.  So:

Under Security > Authentication > Filter Chains > default, move your
Authkey Filter from Available to Selected, close and save.

For more information see
https://docs.geoserver.org/stable/en/user/community/authkey/index.html

Regards

Peter

On Thu, 5 Dec 2019 at 15:39, Deen  wrote:

> Hello all,
>
> I want to have auth keys module on production server, so I explored it a
> little bit but still quite confused for the setup.
>
> What I did:
>
> 1. Installed authkey extension to GeoServer (2.15.3)
> 2. Added a new authentication filter called *authkey*under web admin
> *Authentication Filters *
> 3. After click synchronize user/group service,  I saw authkey.properties
> genereated in */security/usergroup/default*
> 4. Then I added the service rule with *.*  ROLE_AUTHENTICATED
>
> What I expect:
>
> 1. Without authkey, I should get 401 error
>
> curl -X GET
> '
> http://localhost:8080/geoserver/wms?service=wms=2.0.0=GetCapabilities
> '
>
> 2. With authkey, I should get the correct repsonse
>
> curl -X GET
> '
> http://localhost:8080/geoserver/wms?service=wms=2.0.0=GetCapabilities=
> '
>
> However, with authkey I am getting 401, it only works when I provide basic
> auth.
>
> Any step is missing or wrong to achieve what I expect? Or am I just
> misunderstood how authkey is supposed to work in this case. Thanks in
> advance
>
> Deen
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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 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] Serving SRTM1 data with GeoServer

2019-05-21 Thread Peter Smythe
Hi Barry

I have recently done something similar and had a slightly different
problem, but still related to too many files, with GeoServer performing
very slowly when zoomed out.  Our solution, which works very well, was to
create a layer group with the original (TIFF) ImageMosaic store from scale
5 - 260 and another top layer ImageMosaic store from scale 260
- 4.

This top layer was created by downsampling each DEM image to 6.25% with
gdal_translate and then combining them into 16x16 degree tiles with
gdalwarp.  The same gdaldem hillshade command can then be run on these top
layer tiles.

By splitting the layer like this, the number of files being accessed was
reduced to a level that GeoServer can very easily manage and it works
perfectly for us.  The top layer does not consume too much extra disk space.

I'm not sure if this is the best way to do it, so I'm always willing to
hear from others if there's a better solution.

Regards

Peter
AfriGIS

On Tue, 21 May 2019 at 04:18, Barry Carter 
wrote:

> I'm trying to provide SRTM1 (1 arcsecond resolution elevation) images and
> data
> using GeoServer, but can't figure out how to serve such a large dataset
> efficiently. Here's what I've done so far:
>
>- Downloaded the 1 degree squared HGT files. The Earth is 360*180 =
> 64800
>  square degrees, but only 14295 HGT files since the other square
> degrees
>  are 100% water. The HGT files are uncompressed and 25,934,402 bytes
> each.
>
>- I then used commands like:
>
> gdal_translate -co TILED=YES -co COMPRESS=DEFLATE N58W122.hgt
> N58W122.hgt.tif
>
> to convert these HGT files into TIFFs. The TIFFs vary in size, but are much
> smaller.
>
>- I then imported the directory with the TIFFs as a store using
>  ImageMosaic. This took a while, but appears to have worked, since
> "srtm1"
>  (the name I gave it) now appears in my list of stores.
>
>- I then created a layer using this source, but when I use "OpenLayers"
>  preview, the server hangs for a while and ultimately dies with "too
> many
>  open files" (or similar). This seems odd, since my Linux OS had
>  fs.file-max set to 13063650. I even tried doubling it to 26127300, but
>  that didn't help.
>
> At this point, I suspect I need to create an image pyramid or something so
> GeoServer can handle the data efficiently, but I'm not sure exactly what to
> do. I've used 'gdal_retile.py' previously to create pyramids from one large
> image into tiles at various zoom levels, but I think I want to do the
> opposite
> here (merge smaller images for lower zoom levels). The gdal_retile.py
> option
> -pyramidsonly seems to say it does that, but I can't get it work (it just
> hangs and creates no files)
>
>
>
> ___
> 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 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] REST API for creating users added to GROUPS

2019-03-28 Thread Peter Smythe
Hi fellow GeoServer lovers

I would like to programatically add new users to a GROUP by using the REST
API.  While the documentation at
https://docs.geoserver.org/latest/en/user/rest/index.html#rest is not
perfect (and I hope to update it once I understand how to make the
request), I can make a POST to /geoserver/rest/*security*/usergroup/users/
with application/json body:

{
 "org.geoserver.rest.security.xml.JaxbUser":{
  "userName": "username",
  "password": "password",
  "enabled": true
 }
}

and this returns 201 Created.

For others wanting to do the same, please take note of the configuration
patch required:
https://gis.stackexchange.com/questions/256891/creating-new-geoserver-user-through-rest-api/276906#276906

My question comes in: how do I programatically add this user to a
particular GROUP?

It can only be a separate endpoint, as when I request all users (GET to
/geoserver/rest/security/usergroup/users/ ) it returns users and enabled
(passwords are hidden fortunately!) but not which Groups or Roles
assosicated with those users.

/geoserver/rest/security/usergroup/groups/ returns Groups, but no links to
users.
/geoserver/rest/security/roles/ - similar.

I am not using GeoFence (or should I really be doing so?)

Please help me figure this out and I will then update the documentation
accordingly.

Thanks

Peter
___
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] one layer two database queries

2019-01-25 Thread Peter Smythe
Hi Arnaud

Perhaps you can update the documentation at
https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html
with the lessons that you have learnt, especially the memory impact and the
multiple queries.  Then we can all benefit from your experience.

If you are not familiar with contributing on GitHub, send me the changes in
a Word document and I will gladly help you.

Regards

Peter

On Fri, 25 Jan 2019 at 17:20, Arnaud L.  wrote:

> Le 25/01/2019 à 14:12, Andrea Aime a écrit :
> > In if you have casing, a minimum of two groups is needed.
> > See documentation here, it shows CSS for brevity but also links to a SLD:
> >
> https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html
>
> Yes, actually that's the example I followed for my own style .But I did
> not understand the memory impact of having many FeatureTypeStyles and I
> found it very convenient, so I went with on FTS per road class...
> A lot of SLD rewriting in perspective !
>
> Thanks a lot for these great tips Andrea !
>
> Cheers
>
> --
> Arnaud
>
>
>
> ___
> 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 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] We used to send parameters to our WMS geoserver SQLViews by the viewparams field. But WMTS doesn't have this field

2018-12-12 Thread Peter Smythe
Hi mlebihan

I haven't tried this myself, but I expect it to work:

In the Edit Layer page, select the Tile Caching tab.  Towards the bottom,
under Add filter, select VIEWPARAMS and a type.

ref:
https://docs.geoserver.org/latest/en/user/geowebcache/webadmin/layers.html#adding-a-filter

Let us know if this works.

Peter

On Wed, 12 Dec 2018 at 15:51, mlebihan  wrote:

> Hello,
>
> /Geoserver/ offers to use  parametrized SQL views
> 
>  for
> WMS requests, and this is very convenient. On our web side, for the WMS
> request, the parameters are put in a /viewparams /field and then on
> /Geoserver/ side they are received and used by the SQL request.
>
> However, we discovered that Tiled WMS (WMTS) doesn't have that /viewparams
> /field WMS has.
> How can we send our parameters to the /Geoserver/ SQLViews when using a
> WMTS
> request ?
>
> Regards,
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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 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] Audit logging for User/group/role/data/services changes

2018-12-03 Thread Peter Smythe
Hi all

We have a requirement to log any security changes to an audit table, being
those that control access to a particular layer, for example
add/delete/change:

   - Users
   - Usergroups
   - Roles
   - Data (workspace and layer rules)
   - Services (e.g. WFS transactions)

Even with verbose logging, there is not enough logging in geoserver.log,
and we prefer to maintain a standard build, so I did not pursue this
further.

I could periodically monitor the configuration via REST for any changes,
but how often?

Another idea is to use linux filesytem audit tools (auditd) to monitor the
individual XML config files but I don't know if that can trigger a process
or log the actual changes/diffs to the config files.

Lastly, based on https://github.com/rvoicilas/inotify-tools/wiki, writing
diffs of the XML config files should be possible.

Has anyone else tackled a similar requirement?  Do you have any other
suggestions?

Thanks

Peter
___
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] Geoserver/GeoWebCache and S3 Blobstore

2018-09-01 Thread Peter Smythe
Hi Jan

> Should it be possible to cache tiles using an application (Open Layers)
and not using direct WMS requests with exact BBox extents for each tile?
How can that be achieved? (how to use the mandatory =true

parameter).


Yes, it is.  On the Layer Preview page, click on the 3 dots (top left) to
expand the menu.  Then change Tiling: to Tiled.  You can see that the map
now loads in tiles, not all at once.  Verify =true in Developer Tools.

[image: image.png]

Regards

Peter

On Fri, 31 Aug 2018 at 10:46, Jan Donner  wrote:

> Thank you Jukka and Andrea, this at least partly solved my problem!
> Sorry about that large log. Did not wan't to loose any possibly important
> information.
>
> I disabled the In memory BlobStore and used the first of the two URL:s
> Andrea provided.
> - Now it did cache that 0/0.png tile onto S3! (The second URL did not
> work).
> - Seeding also worked!
>
> Using the Layer preview did not cache tiles on S3! Should it be possible
> to cache tiles using an application (Open Layers) and not using direct WMS
> requests with exact BBox extents for each tile? How can that be achieved?
> (how to use the mandatory =true
> 
>  parameter).
>
>
> br.
> Jan
>
>
>
>
>
> to 30. elok. 2018 klo 22.35 Andrea Aime (andrea.a...@geo-solutions.it)
> kirjoitti:
>
>> On Thu, Aug 30, 2018 at 5:13 PM Jan Donner 
>> wrote:
>>
>>> Hi!
>>> I'm experiencing problems with using Geoserver and GeoWebCache with a S3
>>> blob store.
>>> I have managed to create a blob store on S3 (the new folder appeared in
>>> s3 as defined by S3 Object Key Prefix) using Geoserver
>>> I try to cache tiles onto it by making a WMS request from the example
>>> layer topp:states, but no files are cached into the S3 blob store:
>>>
>>>
>>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=-180,-90,180,90=256=256=image/png8=true
>>>
>>>
>> This is just a partial answer, but I'm at a conference and there is not
>> much time to dedicate to the user list.
>> The request you're using does not conform to any cacheable gridset, so
>> it's not cached. The WGS84 gridset does not have one tile
>> at the top level, but two. Could you try these instead?:
>>
>>
>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=-180,-90,0,90=256=256=image/png8=true
>>
>>
>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=0,-90,180,90=256=256=image/png8=true
>>
>> Also, did you enable the "transparent integration" in the "caching
>> defaults" page? Otherwise just making WMS requests
>> won't create any tiles. Maybe try to use the tiled layers preview too.
>>
>> 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
>> --- *Con riferimento
>> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
>> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
>> circostanza inerente alla presente email (il suo contenuto, gli eventuali
>> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
>> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
>> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
>> sarei comunque grato se potesse darmene notizia. This email is intended
>> only for the person or entity to which it is addressed and may contain
>> information that is privileged, confidential or otherwise protected from
>> disclosure. We remind that - as provided by European Regulation 2016/679
>> “GDPR” - copying, dissemination or use of this e-mail or the information
>> herein by anyone other than the intended recipient is prohibited. If you
>> have received this email by mistake, please notify us immediately by
>> telephone or e-mail.*
>>
>
>
> --
>
> Jan Donner
> Senior GIS Architect,  *Trimble Forestry*
> Revontulentie 8 C |
> 02100
> Espoo, Finland
> +358 40 538  <+358+40+774+3592>5483 Mobile
> jan.don...@trimble.com
>
> *Delivering the Connected Forest*
>
> --
> 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
>