Re: [Geoserver-users] Experimental/External plugin page

2024-07-04 Thread Ian Turton
In an ideal world the module would live inside the GeoServer source tree so
it would automatically be published on the main extension pages (either
community or supported) - this would also give other developers (and you) a
heads up if something was about to break.

Ian

On Thu, 4 Jul 2024 at 06:32, Alexandre Gacon 
wrote:

> Hi,
>
> After the short presentation of the GeoServer Monitor PostgreSQL Plugin
> <https://github.com/DLR-TS/GeoServer-Monitor-PostgreSQL> during FOSS4G
> EU, I wonder if there shouldn't be a place somewhere (on github? on
> website?) that provides a list of plugins which are not part of the stable
> or community extensions but that can be tried or used by the community.
>
> It could improve the visibility of the community.
>
> I don't have a clear registration process in mind. Perhaps something like
> awesome-geoserver list on GitHub, which could also reference other
> geoserver related stuff.
>
> What do you think?
>
> --
> 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
>


-- 
Ian Turton
___
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] Query regarding the reproduction steps of vulnerability CVE-2023-5786

2024-07-04 Thread Ian Turton
I think if we have disclosed the CVE then all further discussion should be
in public, rather than on the security list.

Ian

On Wed, 3 Jul 2024 at 19:20, Jody Garnett  wrote:

> So Ian what is the right thing to do here?
>
> Should I not of replied to this message - to limit discussion of security
> vulnerabilities (reproducing and verification and so on) to the
> geoserver-security list?
>
> It is a little confusing with your message about not contacting
> geoserver-security volunteers for announced vulnerabilities. In this case
> the vulnerability is announced - just not by us!  And I agree that the
> report does not make much sense / poorly written / was not shared with team
> until now
>
> In anycase the geoserver-security list is looking  at this CVE now and
> will either:
>
> a) dispute it - if it cannot be reproduced (we have done this in the past
> and it did not work)
> b) confirm it - by issuing a change / clarification to
> https://github.com/advisories/GHSA-382v-j99g-hw2p (only thing we can do
> as we did not publish the original)
>
> Reference:
> https://github.com/geoserver/geoserver/wiki/GSIP-220#publicly-reported-issue
> --
> Jody Garnett
>
>
> On Jul 1, 2024 at 9:55:48 AM, Mark Prins  wrote:
>
>> On 01-07-2024 16:43, Jody Garnett wrote:
>>
>> I am not sure we have been notified about that vulnerability, searching
>>
>> my email this you are the first.
>>
>>
>> Just because someone has opened a CVE does not indicate they have
>>
>> contacted the open source project at all.  Please forward to
>>
>> geoserver-security email list (see security policy). It would be helpful
>>
>> if you describe what steps you have already taken to verify so the
>>
>> volunteers do not duplicate your effort.
>>
>>
>>
>> in fact, just because someone managed to open a CVE record it does not
>> mean there is an actual vulnerability.
>>
>> The records at NIST
>>
>> https://nvd.nist.gov/vuln/detail/CVE-2023-5786
>>
>> provide a link to
>>
>> https://github.com/Qxyday/GeoServe---unauthorized
>>
>> That seems to be the original input and exploit. (based on the
>> descriptions and that page I fail to see any vulnerability at all!)
>>
>> Note that the CVE is logged against GWC 1.15.0 and 1.15.1, both are >5
>> years old and no longer used in project-supported versions of GeoServer
>> afaik.
>>
>> Mark
>>
>>
>> ___
>> 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
>>
>

-- 
Ian Turton
___
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] Security questions

2024-07-03 Thread Ian Turton
Just a reminder the GeoServer security list is not for the discussion of
questions about security issues that are in the public domain. So if we
have disclosed the vulnerability and you don't understand it that question
should be sent to the user list for discussion not the security list.

The security list is a private list that allows the developers to discuss
issues in private before the fix is released.

If you think you have found a new issue then please use the responsible
disclosure route to let us know.

Ian
___
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] sld fill-opacity on mark in graphic graphic stroke stroke not working?

2024-05-17 Thread Ian Turton
Does your output format support transparency, see
https://gis.stackexchange.com/questions/155681/sld-fill-opacity-not-having-any-effect

Ian

On Fri, 17 May 2024, 13:49 VANDENSCHRICK, Grégoire,
 wrote:

> Hi,
>
> I have a rather simple sld symbology that intends to represent lines by
> circles, much like explained in the cookbook;
>
> here is my sld:
>
> http://www.opengis.net/sld; xmlns:sld="http://www.opengis.net/sld;
> xmlns:gml="http://www.opengis.net/gml; xmlns:ogc="
> http://www.opengis.net/ogc; version="1.0.0">
>   
> URBAN_DUP_Public_space_filter_18_bicycle
> 
>   URBAN_DUP_Public_space_filter_18_bicycle
>   
> 
>   Bicycle PLUS
> Vlo PLUS
> Fiets PLUS
> Bicycle PLUS
>   
>   http://www.opengis.net/ogc;>
> 
>   VELO
>   1
> 
>   
>   http://www.opengeospatial.org/se/units/metre;>
> 
>   
> 
>   
> circle
> 
>name="fill">#ff
>name="fill-opacity">0.5
> 
>   
>   40
> 
>   
>   40 40
> 
>   
> 
>   
> 
>   
> 
>
> I'm under Geoserver 2.24.2, and everything works except the fill-opacity.
> Is there a known bug there, or do I do something wrong? I did try to put a
> stroke-opacity just after the stroke-dasharray CssParameter, but it's not
> working either...
>
> Thank you already for your ideas/help,
>
> Greg for BruGIS
> ___
> 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] Unable to create new grid set

2024-05-10 Thread Ian Turton
On Fri, 10 May 2024, 17:23 Russ Hore,  wrote:

> It looks like you have entered EPSG:EPSG:4326  rather than EPSG:4326 ??
>

Or possibly epsg:4326 when GeoServer was expecting just 4326.

Ian

>
> Russ
>
> On 10 May 2024, at 13:20, Kristian Nils Robin Morin via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> I am using working to configure the image
> docker.osgeo.org/geoserver:2.25.0 to be run in production and I need to
> add a new grid set to geoserver.
> But whatever CRS i am trying to use I get an error.
>
> WARN   [web.wicket] - Unknown CRS identifier EPSG:EPSG:4326
> gs_test  | org.geotools.api.referencing.NoSuchAuthorityCodeException: No
> code "EPSG:EPSG:4326" from authority "European Petroleum Survey Group"
> found for object of type
> "interface org.geotools.api.referencing.IdentifiedObject".
>
> Any insight to what the issue is here and how to fix this?
> I understand from googling that this might be an issue that the ESPG
> database failed to be created?
>
> 2011 - Andrea Aime
> "That sounds like it failed to create the EPSG database. That's normally
> created in the temp directory (which is container and OS dependent),
> GeoTools subdirectory." ... "In any case, stop GeoServer, locate that dir,
> wipe it out and start GS
> again."
>
> I try to deploy with docker, where would this temp directory be if this is
> the issue? But why did it fail in the first place?
> ___
> 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 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] forwarding GEBCO WMS fails - help needed

2024-04-25 Thread Ian Turton
On Thu, 25 Apr 2024 at 14:02, Roar Brænden 
wrote:

>
> Certainly that first Accept header seems a little out-dated, but as Ian
> mentioned it doesn't explain why we will get a 403 status code.
>
>
>
Because the ESRI devs don't understand how the web works!

Ian

-- 
Ian Turton
___
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] Geometry type mismatch

2024-04-22 Thread Ian Turton
On Mon, 22 Apr 2024 at 16:29, Calliess Daniel Ing. <
daniel.calli...@stadt-salzburg.at> wrote:

> Hi,
>
>
>
> after upgrading GeoServer from 2.24.0 to 2.24.1 one of *my users*
>
>
>
> *Please look into this and correct the error.*
>

Please remember that GeoServer is maintained by volunteers - if your users
have a problem then they are (presumably) paying you to take care of it. If
you are not up to fixing the problem yourself please contact one of
the commercial
support teams <https://geoserver.org/support/> that will look into it for
you.

Ian
-- 
Ian Turton
___
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-22 Thread Ian Turton
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 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
>


-- 
Ian Turton
___
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] invisible mapped/share drives in Store creation

2024-04-19 Thread Ian Turton
 layer from the
> only shp file in the store (a path to the file really), it returns a java
> error output…:
>
>
>
> Caused by: java.io.FileNotFoundException:
> \\DOMAIN.LOCAL\SHARED\shared_folder\folder\layer.shp (Access is denied)
>
>
>
> That ‘Access is denied’ suggests that it’s not the type of store but
> something to do with GS accessing remote locations.
>
>
>
>
>
>
>
>
>
>
>
> *From:* Jody Garnett 
> *Sent:* 18 April 2024 22:06
> *To:* Armando Forlani 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] invisible mapped/share drives in Store
> creation
>
>
>
> Here:
>
> https://www.sqlite.org/useovernet.html
> <http://webdefence.global.blackspider.com/urlwrap/?q=AXicBcExEoIwEAXQz3gGb2DlOBsUCsZKCynsOAKDEdBNVjdLGG_veyiw2wDdtoDyr2xelDRT6GceJJoK0yABdXW_dblq6-p0bEpcNfTxIdSKch_niz2ZRsm0vDGZfdLZuXVdKX15Nk-io1uSl-w1eqPJAgPYH4A_D9gm0A>
>
>
> --
>
> Jody Garnett
>
>
>
>
>
> On Thu, Apr 18, 2024 at 8:49 PM Armando Forlani <
> armando.forl...@tfl.gov.uk> wrote:
>
> Hi Jody,
>
> I’m not sure I understand this. I regularly use these files (usually gpkg)
> with QGIS doing read/write. All these files are on network file system (in
> a shared folder somewhere on the network) and have no problems at all. Even
> views I created within sqlite/gpkg files work fine.
>
> What I’m really looking for first is the answer on whether GeoServer has
> such limitation i.e. cannot see shared drives. If no such limitation exists
> then how do I fix this?
>
>
>
>
>
> *From:* Jody Garnett 
> *Sent:* 18 April 2024 18:50
> *To:* Armando Forlani 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] invisible mapped/share drives in Store
> creation
>
>
>
> This is a limitation of the SQLite database, remember the driver is a full
> database, which places performance and reliability requirements on the file
> system that a network file system cannot meet.
>
>
> --
>
> Jody Garnett
>
>
>
>
>
> On Thu, Apr 18, 2024 at 1:45 PM Armando Forlani <
> armando.forl...@tfl.gov.uk> wrote:
>
> Hi,
>
>
>
> I’m creating a new Store using a GeoPackage file as data source
> (database). It works fine with a gpkg file saved locally i.e. anywhere on
> the C: drive. I’m unable to make it work with files stored on a share
> drive, either the full path or a logical drive letter.
>
>
>
> file://J:/folder/data.gpkg
>
>   Error creating data store, check the parameters. Error message: Unable
> to obtain connection: path to 'J:\folder\data.gpkg': 'J:\' does not exist
>
>
>
> file:\\J:\folder\data.gpkg
>
>   Error creating data store, check the parameters. Error message: Unable
> to obtain connection: path to 'J:\folder\data.gpkg': 'J:\' does not exist
>
>
>
> file:DOMAIN.LOCAL/SHARED/shared_folder/folder/data.gpkg
>
>   Error creating data store, check the parameters. Error message: Unable
> to obtain connection: [SQLITE_CANTOPEN] Unable to open the database file
> (unable to open database file)
>
>
>
> file:DOMAIN.LOCAL\SHARED\shared_folder\folder\data.gpkg
>
>   Error creating data store, check the parameters. Error message: Unable
> to obtain connection: [SQLITE_CANTOPEN] Unable to open the database file
> (unable to open database file)
>
>
>
> It is also impossible making use of the ‘Browse…’ link next to the
> ‘database’ edit box. It won’t list any mapped drives in the drop down list.
> Only ‘Data directory’, ‘Home directory’, A:\, ‘OS Disk (C:)’, D:\ are
> shown.
>
>
>
> Moving data locally is not an option.
>
>
>
> Running:
>
> Windows 10 Enterprise
>
> VMware Virtual Platform
>
> Eclipse Adoptium: 17.0.10 (OpenJDK 64-Bit Server VM)
>
> GeoServer 2.24.2 as a Windows service
>
>
>
> Any help would be really appreciated.
>
>
>
> Thanks,
>
> Armando
>
>
>
>
>
>
>
> This message has been scanned for malware by Forcepoint.
> www.forcepoint.com
> <http://webdefence.global.blackspider.com/urlwrap/?q=AXicFcyxDcIwEAXQHzEDG1AhdA44RUQFBSnoMoJlCJjYvug4bLE94g3w0GCzAsZ1A4nftn_RWwolF6LnrMKRPCd09noZix06e9j3Lc6SXL4xDSzR5XDSKdKDC31mPFWXozG1VppY_H3hkPV_GADbHfADODMhyA>
>
> ___
> 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#/
> <http://webdefence.global.blackspider.com/urlwrap/?q=AXicFcxNDoIwEAbQj3gGT6ArY6YoLAgrXcjCHUdoMPzItGPaoY23N74DPBQ47oB-XyDwt2zeFEMiZxc

Re: [Geoserver-users] Wrong time values for Oracle DATE columns

2024-04-18 Thread Ian Turton
That's the expected behaviour - if you need to preserve the time of the
date make the column a timestamp (preferably with timezone) rather than a
data which only stores the year, month and day.

Ian

On Thu, 18 Apr 2024 at 10:56, Calliess Daniel Ing. <
daniel.calli...@stadt-salzburg.at> wrote:

> Hi,
>
>
>
> I just discovered that GeoServer is rounding Oracle DATE attribute values
> down to zero or twelve hours when I'm publishing data from a 'Oracle NG
> (OCI)' data store. Examples:
>
>
>
> 1.1.2024 17:34:12 becomes 1.1.2024 12:00:00 or
>
> 1.1.2024 03:17:05 becomes 1.1.2024 00:00:00
>
>
>
> This happens only when I'm publishing a complete table, not when I'm
> defining an SQL view. Directly after creating the new layer, the column
> type is set to the Java data type 'Date'. Comparing to an SQL view I saw
> that there the column is defined as 'Timestamp'. But also changing the data
> type using the 'Customize attributes' function to 'Timestamp' or 'Time'
> doesn't help.
>
>
>
> This happend in GeoServer 2.23.0 and also 2.25.0.
>
>
>
> Does anybody have an idea what's going on here.
>
>
>
> Thank you and best regards
> Daniel
> ___
> 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
>


-- 
Ian Turton
___
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] Possible ways and costs for specific developments/improvements for GeoServer

2024-04-10 Thread Ian Turton
To start with you would need to clearly list exactly which features of the
SLD generated by QGIS that are not understood by GeoServer.

Ian

On Wed, 10 Apr 2024 at 15:50, Erik Böhm  wrote:

> Hello all, or rather hello developers!
>
>
>
> In don’t know if this is the right way to contact you. So if there is a
> better way, please give me a hint J
>
>
>
> My Question is:
>
> While using GeoServer to publish our data via services, we experienced
> some bugs or rather lacks of features, e. g. the interpretation of some
> definitions in SLDs that were exported from QGIS.
>
> The response/solution of the community to those issues has been to fund
> further development of those parts.
>
>
>
> As some of those features are important for us, we are evaluating the
> option to take on this suggestion. In that sense, and because I did not
> find anything on the GeoServer Community sites, I wanted to ask how we
> could manage this, which options there would be and which would be the one
> preferred by you.
>
> How would it work if we would hire a contractor and contribute these
> features to GeoServer?
>
>
>
> And for the specific feature of the GeoServer being able to fully
> interpret all definitions in SLDs exported from QGIS, would you be able to
> guess the amount of work this would take? In that way, we maybe could
> estimate the costs of hiring a developer for this feature.
>
>
>
> Thank you in advance!
>
>
>
>
>
> With kind regards
>
>
> Erik Böhm
>
>
> Erik Böhm (MDZ2207)
>
> Open Data Coordination
> Tel: +49 40 3190-3429
> Bernhard-Nocht-Straße 78 | 20359 Hamburg
> erik.bo...@bsh.de
>
>
> The Federal Maritime and Hydrographic Agency is a higher federal agency
> under the Federal Ministry for Digital and Transport
>
>
> ___________
> 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
>


-- 
Ian Turton
___
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] filter

2024-03-20 Thread Ian Turton
You'll want the `IEEERemainder` function documented on the Filter Function
Reference page (
https://docs.geoserver.org/latest/en/user/filter/function_reference.html#math-functions)
-

  

  

  propertyVa

20.0
  
  0

  

Ian


On Wed, 20 Mar 2024 at 08:13, Ярослав Минин via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello community!
>
> I’ve got troubles with filter expression. I have an integer column with
> values, like 2, 5, 30, 100…
> And I need to filter those divisible by 25, for instance.
>
> Since I’m currently unable to manipulate the DB (to create the views for I
> need) the only option is sld-filtering. Is there any way to achieve this?
>
> --
> Regards,
> Yaras
> ___
> 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
>


-- 
Ian Turton
___
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] Publishing Raster data from PostGres-Table

2024-03-15 Thread Ian Turton
What have you tried? What doesn't work? What does the log file say?



On Fri, 15 Mar 2024 at 15:13, Felix Keßler via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hey Guys,
> I am trying to publish raster-data from my Postgres-Table. I am
> currently using MapServer as I could not find a working solution to use
> geoserver, but the MapServer is pretty slow and I prefer GeoServer for
> other layers etc. and thus would like to know if someone has a working
> example using geoserver?
>
> Thanks in advance,
> Felix
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Style REST API removing WellKnownName

2024-03-15 Thread Ian Turton
It has always dropped default values e.g. square marks, black strokes and
grey fills etc. It avoids cluttering up the SLD with unnecessary elements.
The simplest answer would seem to be for you to leave such defaults out of
your SLD files (or ignore them when looking for differences).

Ian

On Fri, 15 Mar 2024 at 10:49, Alexandre Gacon 
wrote:

> Hello,
>
> When I send a style with a WellKnowName of type square to GeoServer with a
> REST API, the WellKnownName is removed from the SLD definition, because
> square is the default value.
>
> As a consequence, when I retrieve the SLD with a GET on the REST API and I
> compare it to my definition, it is detected as a difference.
>
> Shouldn't the REST API respect the original content sent?
>
> --
> 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
>


-- 
Ian Turton
___
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] LDAP authentication with group/role discovery still seems broken

2024-03-02 Thread Ian Turton
As I said I updated the manual to try to make this clearer, if you can
think of anything else that could be added please do edit it too.

Ian

On Fri, 1 Mar 2024, 13:43 ,  wrote:

> Ian, thank you so much! Your boldness saved the day/week/month :)
>
> Ian Turton schrieb am 29.02.2024 16:00 (GMT +01:00):
>
> > My notes also include in bold `You must make the new role service the
> > active one by changing the drop down on the `security->settings` page
> >
> https://docs.geoserver.org/latest/en/user/security/webadmin/settings.html#active-role-service
>
> This was it!
>
> Interestingly the log still says "[security.ldap] - Roles from search: []"
> but my test user DOES get its roles assigned properly now using our LDAP
> server:
>
> 01 Mar 08:29:05 DEBUG  [security.ldap] - Getting authorities for user
> uid=foo,cn=admins,cn=users,dc=example,dc=com
> 01 Mar 08:29:05 DEBUG  [security.ldap] - Searching for roles for user
> 'foo', DN = 'uid=foo,cn=admins,cn=users,dc=example,dc=com', with filter
> (&(objectClass=univentionGroup)(memberUid={1})) in search base
> 'cn=services,cn=groups,dc=example,dc=com'
> 01 Mar 08:29:05 DEBUG  [security.ldap] - Roles from search: []
> 01 Mar 08:29:05 DEBUG  [ldap.LDAPSecurityProvider$1] - Authenticated user
> 01 Mar 08:29:05 DEBUG
> [filter.GeoServerUserNamePasswordAuthenticationFilter$1] - Set
> SecurityContextHolder to UsernamePasswordAuthenticationToken
> [Principal=LdapUserDetailsImpl
> [Dn=uid=foo,cn=admins,cn=users,dc=example,dc=com; Username=foo;
> Password=[PROTECTED]; Enabled=true; AccountNonExpired=true;
> CredentialsNonExpired=true; AccountNonLocked=true; Granted Authorities=[]],
> Credentials=[PROTECTED], Authenticated=true,
> Details=GeoServerWebAuthenticationDetails [RemoteIpAddress=127.0.0.1,
> SessionId=123123123], Granted Authorities=[ROLE_AUTHENTICATED,
> ROLE_GEOSERVER_GLOBAL_ADMINS, ROLE_BEWARE_OF_THE_LEOPARD]]
>
> Phew!
>
> This leaves me confused though.
> - Are there two ways of group/role discovery for LDAP users, one in the
> Authentication Provider and one with a Role Service? What is the
> difference? Are they completely different things?
> - From the logs and behaviour it seems like the three "[security.ldap]"
> lines come from the Authentication Provider while the Role Service
> discovers them silently? Why does one discovery log something and the other
> doesn't?
>
> I'll update
> https://gis.stackexchange.com/questions/477658/geoserver-does-not-find-ldap-groups-of-user
> momentarily, including the minimal configuration I ended up with. There is
> better formatting and higher search engine discovery on that site so I hope
> you don't mind if I switch from the mailing list.
>
> Cheers, Hannes
>
> PS: Future reader, once you switch the Role Service your GeoServer user
> "admin" won't become a GeoServer admin anymore. Make sure you have access
> to the "root" user's master password or that your LDAP setup includes a
> user that will become GeoServer admin!
>
___
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] LDAP authentication with group/role discovery still seems broken

2024-02-29 Thread Ian Turton
I'm sure that I made LDAP roles work with a more recent version of
GeoServer at my previous job (unfortunately it's behind a firewall so I
can't check) -

My LDAPUserGroupService config contained:

 ou=groups,dc=galbraith,dc=co,dc=uk
  cn

(objectClass=groupOfUniqueNames)

(uniqueMember=uid={0},ou=users,dc=galbraith,dc=co,dc=uk)
  uniqueMember
  ou=users,dc=galbraith,dc=co,dc=uk
  uid
  (objectClass=inetOrgPerson)
  false
  false
  10
  (uniqueMember={0})
  true
  ROLE_
  true

and my LDAPRoleServiceConfig

included

 ou=groups,dc=galbraith,dc=co,dc=uk
  cn=*

uniqueMember=uid={0},ou=users,dc=galbraith,dc=co,dc=uk
  false
  false
  10
  (member={0})
  true
  ROLE_ADMINS
  ROLE_ADMINS
  ROLE_
  true


My notes also include in bold `You must make the new role service the
active one by changing the drop down on the `security->settings` page
https://docs.geoserver.org/latest/en/user/security/webadmin/settings.html#active-role-service

I can highly recommend using a cli tool like ldapsearch to test out your
queries to see what they should be, which is how I got to
`(uniqueMember=cn={0},ou=users,dc=galbraith,dc=co,dc=uk)` for my group
member search

Ian

On Thu, 29 Feb 2024 at 11:48,  wrote:

> "I dont know what I am doing"-Chapter 23:
>
>
-- 
Ian Turton
___
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] WMTS service not working in modern versions.

2024-01-31 Thread Ian Turton
That server is down as far as I can see so I don't see that it will respond
with any version of GeoServer - are you sure you have the URL correct?

Ian

On Wed, 31 Jan 2024 at 14:48, Ярослав Минин via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello, geoserver community!
>
> Got a service with this GetCapabilities url:
>
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?service=WMTS=GetCapabilities
> <https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?service=WMTS=GetCApabilities>
>
> Geoserver version 2.15.2:  creating a WMTS-store using this URL is
> successful. I see a layer to publish.
> Geoserver version 2.20.4 or 2.22.2:  creating a WMTS-store using this URL
> fails. Looks like something does not work properly in wmts lib. Log
> part that seems to relate:
>
>
> 2024-01-26 13:04:26,787 DEBUG
> [security.IncludeQueryStringAntPathRequestMatcher] - Checking match of
> request : 'Path:
> /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage,
> QueryString: 9-1.IBehaviorListener.0-form-save'; against '/web/**'
> 2024-01-26 13:04:26,787 DEBUG
> [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path:
> /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage,
> QueryString: 9-1.IBehaviorListener.0-form-save with /web/**
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,939 DEBUG [data.ows] - FinalURL:
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> 2024-01-26 13:04:26,939 DEBUG [geotools.http] - URL is
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> 2024-01-26 13:04:27,234 DEBUG [xsd.impl] - schemaLocation found:
> http://www.opengis.net/wmts/1.0
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd
> 2024-01-26 13:04:27,241 DEBUG [xsd.impl] - Found override for
> http://www.opengis.net/wmts/1.0:
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd ==>
> jar:file:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-wmts-26.4.jar!/org/geotools/wmts/wmts.xsd
> 2024-01-26 13:04:27,431 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,431 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,431 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,431 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,478 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,478 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,478 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,478 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,498 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,498 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,498 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,498 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,585 ERROR [data.ows] - Failed to execute request
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> --
> Sincerely,
> Yaras
> ___
> 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
&g

Re: [Geoserver-users] WMTS service not working in modern versions.

2024-01-29 Thread Ian Turton
That's probably related to the new security checks being applied to URLs -
see https://docs.geoserver.org/latest/en/user/security/urlchecks.html

Ian

On Mon, 29 Jan 2024 at 08:51, Ярослав Минин via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello, geoserver community!
>
> Got a service with this GetCapabilities url:
>
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?service=WMTS=GetCapabilities
> <https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?service=WMTS=GetCApabilities>
>
> Geoserver version 2.15.2:  creating a WMTS-store using this URL is
> successful. I see a layer to publish.
> Geoserver version 2.20.4 or 2.22.2:  creating a WMTS-store using this URL
> fails. Looks like something does not work properly in wmts lib. Log
> part that seems to relate:
>
>
> 2024-01-26 13:04:26,787 DEBUG
> [security.IncludeQueryStringAntPathRequestMatcher] - Checking match of
> request : 'Path:
> /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage,
> QueryString: 9-1.IBehaviorListener.0-form-save'; against '/web/**'
> 2024-01-26 13:04:26,787 DEBUG
> [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path:
> /web/wicket/bookmarkable/org.geoserver.web.data.store.wmtsstorenewpage,
> QueryString: 9-1.IBehaviorListener.0-form-save with /web/**
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,788 DEBUG [geoserver.ows] - Could not find a layer
> group named web
> 2024-01-26 13:04:26,939 DEBUG [data.ows] - FinalURL:
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> 2024-01-26 13:04:26,939 DEBUG [geotools.http] - URL is
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> 2024-01-26 13:04:27,234 DEBUG [xsd.impl] - schemaLocation found:
> http://www.opengis.net/wmts/1.0
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd
> 2024-01-26 13:04:27,241 DEBUG [xsd.impl] - Found override for
> http://www.opengis.net/wmts/1.0:
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/static/fs/wmts.xsd ==>
> jar:file:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-wmts-26.4.jar!/org/geotools/wmts/wmts.xsd
> 2024-01-26 13:04:27,431 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,431 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,431 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,431 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,478 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,478 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,478 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,478 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,498 DEBUG [data.util] - CRSConverterFactory can be
> applied from Strings to CRS  only.
> 2024-01-26 13:04:27,498 DEBUG [data.util] - InterpolationConverterFactory
> can be applied from Strings to Interpolation only.
> 2024-01-26 13:04:27,498 DEBUG [sqlserver.jtds] - Failed to find JTDS jar
> 2024-01-26 13:04:27,498 TRACE [sqlserver.jtds] - No JTDS jar on classpath
> 2024-01-26 13:04:27,585 ERROR [data.ows] - Failed to execute request
> https://gis.cmirit.ru/WMTS_ORTO_2020/service.svc/get?REQUEST=GetCapabilities=1.0.0=WMTS
> --
> Sincerely,
> Yaras
> ___
> 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
&g

Re: [Geoserver-users] Features-templating and OGC services, filters not working, errors

2024-01-26 Thread Ian Turton
 xmlns="http://www.opengis.net/ogc; <http://www.opengis.net/ogc> xmlns:gml=
> "http://www.opengis.net/gml; 
> <http://www.opengis.net/gml>>geometry24
> 62 26 62 26 65 24 65 24
> 62=image/jpeg
>
>
> http://localhost:8080/geoserver/eposgo/wms?service=WMS=1.3.0=GetMap=eposgo:MagnetotelluricStationsFeature=62,21,65,26=700=600=EPSG:4326= xmlns="http://www.opengis.net/ogc; <http://www.opengis.net/ogc> xmlns:gml=
> "http://www.opengis.net/gml; 
> <http://www.opengis.net/gml>>geometry62
> 24 62 26 65 26 65 24 62
> 24=image/jpeg
>
> WFS 2.0:
>
> Query for all features works as expected:
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature=application/json
>
> maxFeatures does not work, the query returns all features:
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature=10=application/json
>
> Filtering the query by an inline bbox results in an  exceptionCode="NoApplicableCode"> (from Geoserver log:
> "java.lang.RuntimeException: Unable to evaluate template path against the
> template"):
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature=62,21,65,26,EPSG:4326=application/json
>
> Spatial filtering the query by a CQL-BBOX does not work, it returns all
> features:
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature=BBOX(62,21,65,26)=application/json
>
> Spatial filtering the query with an OGC BOX or Contains returns
> 
> (java.lang.NullPointerException):
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature= xmlns="http://www.opengis.net/ogc; <http://www.opengis.net/ogc> xmlns:gml=
> "http://www.opengis.net/gml; <http://www.opengis.net/gml>
> >geometry21622665=application/json
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature= xmlns="http://www.opengis.net/ogc; <http://www.opengis.net/ogc> xmlns:gml=
> "http://www.opengis.net/gml; 
> <http://www.opengis.net/gml>>geometry21
> 62 26 62 26 65 21 65 21
> 62=application/json
>
> CQL-Filter on an attribute does not work, it returns all features:
>
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature=surveyname='1998'=application/json
>
> OGC-filter on an attribute works as expected:
> localhost:8080/geoserver/eposgo/ows?service=WFS=2.0.0=GetFeature=eposgo:MagnetotelluricStationsFeature= xmlns="http://www.opengis.net/ogc; <http://www.opengis.net/ogc> xmlns:gml=
> "http://www.opengis.net/gml; <http://www.opengis.net/gml>
> >surveyname1998=application/json
>
>
>
>
>
>
>
>
>
> När du har kontakt med oss på Uppsala universitet med e-post så innebär
> det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör
> det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
>
> E-mailing Uppsala University means that we will process your personal
> data. For more information on how this is performed, please read here:
> http://www.uu.se/en/about-uu/data-protection-policy
>
>
> VARNING: Klicka inte på länkar och öppna inte bilagor om du inte känner
> igen avsändaren och vet att innehållet är säkert.
> CAUTION: Do not click on links or open attachments unless you recognise
> the sender and know the content is safe.
>
> --
> Henning Lorenz
> EPOS-Sweden (Swedish participation in EPOS-ERIC; www.epos-se.se), 
> infrastructure manager
> Riksriggen data management and support (www.riksriggen.se)
> The Swedish Scientific Drilling Program (www.ssdp.se)
>
> Uppsala University
> Department of Earth Sciences
> Villavägen 16
> 752 36 Uppsala
> Sweden
> mobile: +46 (0) 701 679 320
> e-mail: henning.lor...@geo.uu.se
>
> ___
> 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
>


-- 
Ian Turton
___
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] Job

2023-11-07 Thread Ian Turton
Are you subscribed to the OSgeo Jobs list (j...@lists.osgeo.org
)? if not then you can subscribe at
https://lists.osgeo.org/mailman/listinfo/jobs

Ian

On Tue, 7 Nov 2023 at 09:15, Gaurav Pathak  wrote:

> Can someone please help me to get job in geoserver.
> ___
> 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
>


-- 
Ian Turton
___
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] Tutorial / Resources for setting up a REST API Client

2023-11-01 Thread Ian Turton
You can set the user up in the normal way (
https://docs.geoserver.org/latest/en/user/security/index.html#security) and
give them write permissions to any or all workspaces

Ian

On Wed, 1 Nov 2023 at 10:06, Simon Michalke via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi all,
>
> I am currently trying to set up API Access to a geoserver server. I
> would like to use a separate user and role with limited access to avoid
> giving the API client admin access. The idea is to automatically upload
> new data and make it available using a script that I am currently
> developing.
>
> Is there a proper way or a howto that I can follow? Googling only
> directs me to setups that seem to be unsafe like assigning the Admin role.
>
> Cheers,
> Simon
>
>
> ___
> 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
>


-- 
Ian Turton
___
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-26 Thread Ian Turton
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];
>>>> 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
>>>>
>>>> ___

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

2023-10-26 Thread Ian Turton
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:
> - 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
>


-- 
Ian Turton
___
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] Error creating COG Mosaic via REST API

2023-10-25 Thread Ian Turton
In the message Cristina posted they used '-H "Content-type: text/plain"'
which will confuse GeoServer for sure

Ian

On Wed, 25 Oct 2023 at 09:33, Rahkonen Jukka <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> But it is a zip file that is uploaded and application/zip is used in the
> manual so I guess that at least it has worked when the manual was written
> https://docs.geoserver.org/main/en/user/community/cog/mosaic.html
>
>
>
> COGs are TIFFs with some extra features and this is how the mime type is
> defined in the OGC standard:
>
> When required, a COG file should use the MIME type image/tiff with the
> application parameter value geotiff and the profile parameters value
> cloud-optimized, therefore as follows:
>
>
>
> image/tiff; application=geotiff; profile=cloud-optimized
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* Ian Turton 
> *Lähetetty:* keskiviikko 25. lokakuuta 2023 10.47
> *Vastaanottaja:* cristinaarc...@alia-space.com
> *Kopio:* geoserver-users 
> *Aihe:* Re: [Geoserver-users] Error creating COG Mosaic via REST API
>
>
>
> I think your mime type is wrong, should it not be an image of some type, I
> forget what COGs use.
>
>
>
> Ian
>
>
>
> On Tue, 24 Oct 2023, 17:29 ,  wrote:
>
> Hello,
>
> I’m trying to create a COG ImageMosaic on Geoserver, following the
> instruction described at:
>
> https://docs.geoserver.org/main/en/user/community/cog/mosaic.html
>
>
>
> I succeeded with step 1 (create an empty store) via rest API
>
>
>
> curl -u : -XPUT --write-out %{http_code} -H
> "Content-type:application/zip" --data-binary @modis.zip
> http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/modis/file.imagemosaic?configure=none
>
> (201)
>
>
>
> But when I try to add a granule to the store, I have the following error:
>
> curl -u : -XPOST -H "Content-type: text/plain" --write-out
> %{http_code} -d
> https://modis-vi-nasa.s3-us-west-2.amazonaws.com/MOD13A1.006/2018.01.01.tif
> http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/modis/remote.imagemosaic
>
>
>
> java.io.IOException: Failed to create reader from file:data/dea/modis and
> hints Hints:
>
>   REPOSITORY   = org.geoserver.catalog.CatalogRepository@740d84d1
>
>   EXECUTOR_SERVICE =
> java.util.concurrent.ThreadPoolExecutor@e508348[Running, pool size = 0,
> active threads = 0, queued tasks = 0, completed tasks = 0]
>
> System defaults:
>
>   FORCE_AXIS_ORDER_HONORING= http
>
>   STYLE_FACTORY= StyleFactoryImpl
>
>   FEATURE_FACTORY  =
> org.geotools.feature.LenientFeatureFactoryImpl@4f4c6bb8
>
>   FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
>
>   LENIENT_DATUM_SHIFT  = true
>
>   GRID_COVERAGE_FACTORY= GridCoverageFactory
>
> TILE_ENCODING  = null
>
>   FILTER_FACTORY   = FilterFactoryImpl
>
>   COMPARISON_TOLERANCE = 1.0E-8
>
>
>
> at
> org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1571)
>
> at
> org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1514)
>
> at
> org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:57)
>
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
> at
> org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:144)
>
> at com.sun.proxy.$Proxy46.getGridCoverageReader(Unknown Source)
>
> at
> org.geoserver.rest.catalog.CoverageStoreFileController.coverageStorePost(CoverageStoreFileController.java:98)
>
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
> at
> org.springframework.web.method.support.InvocableHandlerMethod.do

Re: [Geoserver-users] Error creating COG Mosaic via REST API

2023-10-25 Thread Ian Turton
invoke(StandardEngineValve.java:78)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
>
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
>
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
>
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
>
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>
> at
> org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
>
> at
> org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
>
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>
> at java.base/java.lang.Thread.run(Thread.java:829)
>
>
>
>
>
> I installed Geoserver with docker, using the image
> docker.osgeo.org/geoserver:2.21.4
>
>
>
> Here are my installation options (plugin for COG support is installed,
> too):
>
>
>
> docker run -d --mount
> type=bind,src=/data/geoserver/data=/opt/geoserver_data/data  --mount
> type=bind,src=/data/geoserver
> /geo_plugins/lib,target=/opt/apache-tomcat-9.0.68/webapps/geoserver/WEB-INF/lib
> -it -p 8080:8080 --env CORS_ENABLED=true --env INSTALL_EXTENSIONS=true
> --env
> STABLE_EXTENSIONS="css,db2,gdal,grib,netcdf-out,netcdf,pyramid,wmts-multi-dimensional,xslt,jp2k"
> --env EXTRA_JAVA_OPTS='-Xms1g -Xmx16g -Duser.timezone=GMT
> -Dorg.geotools.shapefile.datetime=true' docker.osgeo.org/geoserver:2.21.4
>
>
>
> Any help will be appreciated.
>
>
>
> Cheers,
>
> Cristina Arcari
>
>
> ___
> 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] Day light saving time in CQL

2023-10-07 Thread Ian Turton
ts such as
>>
>> http://localhost:8090/geoserver/wfs?service=wfs=2.0.0=GetFeature=windproc:windproc_view=application/json_FILTER=BBOX(geom%2C-12.875%2C26.125%2C42.125%2C55.125%2C%27EPSG%3A4326%27)%20AND%20reading_time%3D2018-12-25T06%3A00%3A00Z=EPSG:4326
>> Work ie the date is 2018-12-25
>> Making a request such as
>>
>> http://localhost:8090/geoserver/wfs?service=wfs=2.0.0=GetFeature=windproc:windproc_view=application/json_FILTER=BBOX(geom%2C-12.875%2C26.125%2C42.125%2C55.125%2C%27EPSG%3A4326%27)%20AND%20reading_time%3D2018-06-25T06%3A00%3A00Z=EPSG:4326
>> returns nothing!
>> A  bit of digging in the logs and I  can I can see that a request e date
>> and time  has been translated into a request for data from the database of
>> using 2018-06-25 0700, since the database only has records for 0600 it
>> does'nt  find any data.
>>
>> Basically geoserver is converting a date into daylight saving time
>> format,  and then making a request in the database.
>>
>>
>> Q. How do I tell the geoserver , not to convert a date in cql into a
>> daylight saving version ?
>>
>> I assume the issue is date format issue,  I normally supply a date as
>> something like
>>
>> 2018-12-25T06:00:00.000Z
>>
>>
>> Thanks in advance for any help.
>>
>> Dave.
>>
> ___
> 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
>


-- 
Ian Turton
___
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] Anybody working on OGC API Features datastore?

2023-10-02 Thread Ian Turton
I made a start in the geotools `unsurported/ogcapiclient` module but I
haven't looked at it in a while so the spec may have moved on by now.

Ian

On Mon, 2 Oct 2023 at 14:51, Rahkonen Jukka <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> In a couple of years old blog post
> http://geotoolsnews.blogspot.com/2020/09/ there is a wish for potential
> developers:
> “We invite developers to contribute to the following work-in-progress:
>
>- A new DataStore to access ogc-api features
>
> Has anybody started to develop that datastore?
>
>
>
> -Jukka Rahkonen-
> ___
> 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
>


-- 
Ian Turton
___
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 preview grouped layers

2023-09-19 Thread Ian Turton
did you install the correct version of GeoFence?
How did you configure security for that group?

Ian

On Tue, 19 Sept 2023 at 12:35, Eliud Kinyanjui 
wrote:

> Hello,
>
> Getting the following error while trying to preview a grouped layer.
>
> GeoServer Version
> 2.23.0
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
> http://www.w3.org/2001/XMLSchema;
> xmlns:ows="http://www.opengis.net/ows; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance; version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
> schemas/ows/1.0.0/owsExceptionReport.xsd">
> 
> com.google.common.util.concurrent.UncheckedExecutionException:
> org.geoserver.geofence.services.exception.BadRequestServiceEx: You can
> filter either by user or role
> org.geoserver.geofence.services.exception.BadRequestServiceEx: You can
> filter either by user or role You can filter either by user or
> role
> 
> 
> ___
> 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
>


-- 
Ian Turton
___
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] Dynamic generated image url in SLD not working in 2.23.2

2023-09-01 Thread Ian Turton
As described on the blog announcement (
https://geoserver.org/announcements/2023/07/21/geoserver-2-23-2-released.html)
this release includes a URL Checking function to prevent OGC processes from
calling arbitrary URLs as a security enhancement.

You will need to white list the `*https://**/ImageHandler.ashx` *url
(but be careful escaping those *)

Ian

On Fri, 1 Sept 2023 at 10:32, Karsten Darré via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello
>
> After upgrading to Geoserver 2.23.2 (from version 2.22.3) some of your
> dynamic image url’s (In SLD’s) stopped working, and we are getting som
> errors:
>
> *URI.normalize() not available for location: *
>
> *Path.normalize() not available for location: *
>
> *Error occurred evaluating external graphic
> org.geotools.data.ows.URLCheckerException: Unable to normalize location:
> *
>
>
>
> The url is as follows:
>
>
> *https://**/ImageHandler.ashx?parameters==https://**/Images/NorthArrows/northmicro.png=POLYGON|((588873.93564633|6137127.0831221,|588873.93564633|6137249.5831221,|588996.43564633|6137249.5831221,|588996.43564633|6137127.0831221,|588873.93564633|6137127.0831221))=3500_scale_denominator=3306.045340050377_height=1123_width=794_bbox=588313.93564633|589048.93564633,6136262.5831221|6137302.0831221*
>
>
>
> The url works as expected from the service we are calling and it is
> returning the correct image, and have been working perfectly on older
> versions of geoserver.
>
> Do any of you have an idea of what has changed in 2.23.2?
>
>
>
>
>
> Med venlig hilsen / Best regards
>
>
>
> *Karsten Darré*
>
> GIS-udvikler
>
>
> ___
> 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
>


-- 
Ian Turton
_______
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] GWC seed/truncate form times out

2023-08-28 Thread Ian Turton
On Mon, 28 Aug 2023 at 14:50, Verbeeck Bart (AIV) <
bart.verbe...@vlaanderen.be> wrote:

> Hi
>
>
>
> Actually, also a simple /gwc/rest request times out, so the rest api is
> not working.
>
>
>
> This also happens with a nightly built installation, with the demo data,
> and no extensions installed.
>
>
>
>
>
> We are running 2.18.0 without problems but we want to upgrade.
>
> Even version 2.19.2 has the same “not working” behavior.
>
>
>
> What could be wrong in my installation or configuration.
>

>From that description it is impossible to tell what is going on, You'll
need to check the log file to see what's happening on the server, but it
could be a simple as a firewall issue or other network problems. 2.19 is
pretty old so maybe you could go to a "supported" release like 2.23?

>
>
> Thanks!
>
>
>
> Bart
>
>
>
> *Van:* Verbeeck Bart (AIV) 
> *Verzonden:* Thursday, August 24, 2023 11:07 AM
> *Aan:* Geoserver-users@lists.sourceforge.net
> *Onderwerp:* [Geoserver-users] GWC seed/truncate form times out
>
>
>
> Hi there
>
>
>
> In my installation (2.23.1, or 2.23 snapshot of today) the seed/truncate
> form doesn’t appear (https://host/geoserver/gwc/rest/seed/wsname:lyrname).
>
> The wmts works perfectly.
>
>
>
> Installation
>
> Azure App Service
>
> Java: 11 or 17 (same result)
>
> Tomcat:: 8.5 or 9 (both same result)
>
> Extensions: inspire, sqlserver, appscheme
>
> Community modules: ogc api, azure blobstore
>
>
>
> Has anyone any clue?
>
>
>
> Thanks
>
>
>
> Bart
> ___
> 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
>


-- 
Ian Turton
___
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] Data Sicar - Shapefile - GeoServer

2023-08-02 Thread Ian Turton
I'm afraid we just maintain the software not the sites it's installed on -
that server says that it has run out of memory so you'll need to track down
it's owner and ask them to restart it

Ian

On Wed, 2 Aug 2023 at 14:55, Denis William 
wrote:

> Good morning, my name is Denis and I would like to inform you that there
> is an error when I download data in shapefile format from SICAR at this
> link GeoServer: Visualizador de Camada (car.gov.br)
> <https://geoserver.car.gov.br/geoserver/web/wicket/bookmarkable/org.geoserver.web.demo.MapPreviewPage?4=false>
> .I would like to request, if possible, the maintenance of these data, as
> they will be very important to me.
>
>
>
> Thank you very much.
>
> Enviado do Email <https://go.microsoft.com/fwlink/?LinkId=550986>
> para Windows
>
>
> ___
> 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
>


-- 
Ian Turton
___
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 29.2 & GeoServer 2.23.2 released

2023-07-24 Thread Ian Turton
Sorry about that, the links should be fixed now

Jody: Where should I add bugs for the announce script?

Ian

On Mon, 24 Jul 2023 at 09:23, Jürrens, Eike Hinderk <
e.h.juerr...@52north.org> wrote:

>
> Good morning Ian and all other people on this list,
>
> thank you very much for your work and time.
>
> The latest GeoServer release contains two security related fixes:
>
> > Security Considerations
> > This release addresses security vulnerabilities and is considered an
> essential upgrade for production systems.
> >
> > GEOS-10949 Control remote resources accessed by GeoServer
> > GEOS-11008 Update sqlite-jdbc from 3.34.0 to 3.41.2.2
> >
> > See project security policy for more information on how security
> vulnerabilities are managed.
>
>
> The links for both fixes result in a 404 resource not found error! That is
> a bit confusing and should be fixed.
>
> The currently used links are:
>
> - https://geoserver.org/browse/GEOS-10949
> - https://geoserver.org/browse/GEOS-11008
>
> A working link for "issue" 10949 is:
>
>  https://osgeo-org.atlassian.net/browse/GEOS-10949
>
> The same schema works for 11008:
>
>  https://osgeo-org.atlassian.net/browse/GEOS-11008
>
> If the working links are the correct ones, someone could fix the links on
> the release page
>
>
> https://geoserver.org/announcements/2023/07/21/geoserver-2-23-2-released.html
>
> Kind regards and have a nice day!
>
> Eike
>
> On 24.07.23 09:00, Ian Turton wrote:
> > GeoTools 29.2 has been released as the new stable release of the library
> -
> > more details at the blog
> > <https://geotoolsnews.blogspot.com/2023/07/geotools-292-released.html>,
> > GeoWebCache 1.23.1 and GeoServer 2.23.2 are also released based on this
> > release. Full details of the GeoServer release including two security
> > related issues are available at the GeoServer blog
> > <
> https://geoserver.org/announcements/2023/07/21/geoserver-2-23-2-released.html
> >
> > .
> >
> > We encourage all users to upgrade as soon as possible.
> >
> >
> >
> > ___
> > 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
>
> --
> Jürrens, Eike Hinderk
>
> 52°North Spatial Information Research GmbH
> Martin-Luther-King-Weg 24
> 48155 Münster, Germany
>
> E-Mail: e.h.juerr...@52north.org
> Fon: +49-(0)-251–396371-33
> Fax: +49-(0)-251–396371-11
>
> https://52north.org/
> Twitter: @FiveTwoN
>
> Managing Directors:
> Dr. Benedikt Gräler, Dr. Simon Jirka, Matthes Rieke
> Local Court Muenster HRB 10849
>
> ___
> 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
>


-- 
Ian Turton
___
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] GeoTools 29.2 & GeoServer 2.23.2 released

2023-07-24 Thread Ian Turton
GeoTools 29.2 has been released as the new stable release of the library -
more details at the blog
<https://geotoolsnews.blogspot.com/2023/07/geotools-292-released.html>,
GeoWebCache 1.23.1 and GeoServer 2.23.2 are also released based on this
release. Full details of the GeoServer release including two security
related issues are available at the GeoServer blog
<https://geoserver.org/announcements/2023/07/21/geoserver-2-23-2-released.html>
.

We encourage all users to upgrade as soon as possible.

-- 
Ian Turton
___
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] Remove Layer Preview from Login Page (SOLVED)

2023-07-01 Thread Ian Turton
On Sat, 1 Jul 2023 at 14:29, Carsten Klein  wrote:

> Hi Andrea, hi Jody,
>
> actually, the solution to the anonymous Layer Preview problem is quite
> simple and relays on GeoServer's built in Security capabilities only. Under
> *Security* -> Authentication, adding a new HTML Filter Chain "webPreview"
> for path (ANT pattern)
> "/web/wicket/bookmarkable/org.geoserver.web.demo.MapPreviewPage" is the
> first step. I also checked "Allow creation of an HTTP session for storing
> the authentication token" (don't know whether it's really required).
> Finally, I've added Chain filters "rememberme" and "form" in that order.
>
> Obviously, that new filter chain must be positioned before the "web"
> filter chain (which ist for path "/web/**" and allows for anonymous access).
>
> With that chain in place, clicking on the Layer Preview link while not
> being authenticated, just forwards you to the FORM login page
> org.geoserver.web.GeoServerLoginPage. Layer Preview is no longer accessible
> anonymously... :-)
>
> I did the same for pages for *Demos* -> Demo requests and *Demo* -> WCS
> request builder.
>
> As mentioned before, several German companies I know about are facing the
> same problem. Maybe it's worth to mention that procedure in the docs
> somewhere under "Running in a production environment".
>

Please make the change to the documentation, then everyone will benefit
from your work

Ian

> Regards,
> Carsten
> _______
> 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
>


-- 
Ian Turton
___
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] [Externo] R: Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-23 Thread Ian Turton
I've created https://osgeo-org.atlassian.net/browse/GEOS-11046 if any one
wants to look at this or follow along

Ian

On Thu, 22 Jun 2023 at 11:17, Ian Turton  wrote:

> Just a general reminder that if you find a problem in GeoServer please let
> us know, even if you have a workaround in place. There is absolutely no
> chance of it getting fixed if the developers don't know about it.
>
> Ian
>
> On Thu, 22 Jun 2023 at 10:50, Miguel Ángel Parrilla Godínez <
> maparri...@itracasa.es> wrote:
>
>> Hi Daniele,
>>
>> We had the same version. It does not work. In older versions it worked.
>>
>> We have try this. It works:
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>> *ttf://Wingdings#108*
>>
>> 
>>
>> 
>> #00
>>
>> 
>>
>> 
>>
>> 1
>>
>> 1
>>
>> 0
>>
>> 
>>
>> 
>>
>>     
>>
>> 2
>> 
>>
>> 
>>
>>
>>
>> Regards.
>>
>> Miguel Ángel.
>>
>> *De:* Daniele Maggiolo via Geoserver-users <
>> geoserver-users@lists.sourceforge.net>
>> *Enviado el:* jueves, 22 de junio de 2023 8:41
>> *Para:* Ian Turton 
>> *CC:* geoserver-users@lists.sourceforge.net
>> *Asunto:* [Externo] [Geoserver-users] R: Styled marks shape dot does not
>> work in geoserver version 2.23.1
>>
>>
>>
>> *ADVERTENCIA: *Este correo electrónico se originó fuera de Tracasa
>> Instrumental. No pinches en enlaces, abras ficheros adjuntos o respondas si
>> no reconoces al emisor y no tienes la certeza de que el contenido es seguro
>> .
>>
>>
>>
>> Hi, the result I get is a polygon without filling with dots.
>>
>> If I use shape://slash it works like it always did in all versions
>> (showing me the lines as a fill of the polygon). The only one I can't get
>> to work anymore is shape://dot (in 2.23.1 version).
>>
>>
>>
>> Daniele
>>
>>
>>
>>
>>
>> *Da:* Ian Turton 
>> *Inviato:* martedì 20 giugno 2023 18:11
>> *A:* Daniele Maggiolo 
>> *Cc:* geoserver-users@lists.sourceforge.net
>> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
>> geoserver version 2.23.1
>>
>>
>>
>> can you give us any clues as to what doesn't work? is nothing drawn? does
>> the program crash? is a penguin produced?
>>
>>
>>
>> What does the log file show any interesting information? what if you turn
>> logging up to GeoTools-dev level and try again?
>>
>>
>>
>> Ian
>>
>>
>>
>> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
>> geoserver-users@lists.sourceforge.net> wrote:
>>
>> Hi,
>>
>> I noticed that the styled mark shape://dot doesn't work in GeoServer
>> version 2.23.1.
>>
>> I've tried both creating a style with CSS and SLD. In version 2.22.2
>> everything worked fine.
>>
>> Below is an example of a style created using CSS.
>>
>>
>>
>> @mode 'Auto';
>> @styleTitle 'Test';
>> @styleAbstract 'Test';
>>
>> /* @title Test
>> * @abstract Test
>> */
>> *{
>>   stroke: #a0a0f5;
>>   stroke-width: 1;
>>   fill: symbol("shape://dot");
>> :fill {
>> size: 5;
>> stroke: #a0a0f5;
>> stroke-width: 1;
>>   fill: #a0a0f5;
>> }
>> }
>>
>>
>>
>> ___
>> 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#/
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ianturton.com_talks_foss4g.html-23_=DwQGaQ=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM=zLmlow1E92r0QcHqOnO

Re: [Geoserver-users] [Externo] R: Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
Just a general reminder that if you find a problem in GeoServer please let
us know, even if you have a workaround in place. There is absolutely no
chance of it getting fixed if the developers don't know about it.

Ian

On Thu, 22 Jun 2023 at 10:50, Miguel Ángel Parrilla Godínez <
maparri...@itracasa.es> wrote:

> Hi Daniele,
>
> We had the same version. It does not work. In older versions it worked.
>
> We have try this. It works:
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
> *ttf://Wingdings#108*
>
> 
>
> 
> #00
>
> 
>
> 
>
> 1
>
> 1
>
> 0
>
> 
>
> 
>
> 
>
> 2
> 
>
> 
>
>
>
> Regards.
>
> Miguel Ángel.
>
> *De:* Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net>
> *Enviado el:* jueves, 22 de junio de 2023 8:41
> *Para:* Ian Turton 
> *CC:* geoserver-users@lists.sourceforge.net
> *Asunto:* [Externo] [Geoserver-users] R: Styled marks shape dot does not
> work in geoserver version 2.23.1
>
>
>
> *ADVERTENCIA: *Este correo electrónico se originó fuera de Tracasa
> Instrumental. No pinches en enlaces, abras ficheros adjuntos o respondas si
> no reconoces al emisor y no tienes la certeza de que el contenido es seguro
> .
>
>
>
> Hi, the result I get is a polygon without filling with dots.
>
> If I use shape://slash it works like it always did in all versions
> (showing me the lines as a fill of the polygon). The only one I can't get
> to work anymore is shape://dot (in 2.23.1 version).
>
>
>
> Daniele
>
>
>
>
>
> *Da:* Ian Turton 
> *Inviato:* martedì 20 giugno 2023 18:11
> *A:* Daniele Maggiolo 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
> geoserver version 2.23.1
>
>
>
> can you give us any clues as to what doesn't work? is nothing drawn? does
> the program crash? is a penguin produced?
>
>
>
> What does the log file show any interesting information? what if you turn
> logging up to GeoTools-dev level and try again?
>
>
>
> Ian
>
>
>
> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi,
>
> I noticed that the styled mark shape://dot doesn't work in GeoServer
> version 2.23.1.
>
> I've tried both creating a style with CSS and SLD. In version 2.22.2
> everything worked fine.
>
> Below is an example of a style created using CSS.
>
>
>
> @mode 'Auto';
> @styleTitle 'Test';
> @styleAbstract 'Test';
>
> /* @title Test
> * @abstract Test
> */
> *{
>   stroke: #a0a0f5;
>   stroke-width: 1;
>   fill: symbol("shape://dot");
> :fill {
> size: 5;
> stroke: #a0a0f5;
> stroke-width: 1;
>   fill: #a0a0f5;
> }
> }
>
>
>
> ___
> 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#/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ianturton.com_talks_foss4g.html-23_=DwQGaQ=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM=zLmlow1E92r0QcHqOnOVrN7ZM7tBBk6lWe84FXxpgsA=oYu-Gd87wH4Osco77KeQZ1p4dXEF1G-gVs6PIOFiZYE=b2QPi4V7QETPA_dxtixbbGv8xXEhcMy31Bgs1o3-DjI=>
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__geoserver.org_comm_userlist-2Dguidelines.html=DwQGaQ=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM=zLmlow1E92r0QcHqOnOVrN7ZM7tBBk6lWe84FXxpgsA=oYu-Gd87wH4Osco77KeQZ1p4dXEF1G-gVs6PIOFiZYE=94tpUXxJvf-fR5uLUPodjBgzDofuyV6JrNLtdRsvLmk=>
>
> 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
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_geoserver_geoserver_wiki

Re: [Geoserver-users] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
On Thu, 22 Jun 2023 at 09:54, Andrea Aime 
wrote:

> Thinking out loud, could it be that something environmental changed then?
> Like, for example, the JDK in use?
>

I'm on Ubuntu: 11.0.19 (OpenJDK 64-Bit Server VM)

Ian

>
> Cheers
> Andrea
>
> On Thu, Jun 22, 2023 at 9:43 AM Ian Turton  wrote:
>
>> I can confirm that the dot pattern doesn't seem to work in 2.22.2 either
>> but the relevant code (
>> https://github.com/geotools/geotools/blame/379ae1335ebfba758a03b61be97a20be838900e3/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java#L47)
>> doesn't seem to have changed in more than 5 years.
>>
>> Looking at the logs seems to indicate that the renderer looks through
>> some (all) the MarkFactories and finds the mark and draws it
>>
>> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name
>> shape://dot
>> 22 Jun 08:30:34 TRACE  [renderer.style] - Could not find the symbol,
>> returning null
>> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name
>> shape://dot
>> 22 Jun 08:30:34 TRACE  [renderer.style] - applying stroke to mark
>>
>> So it looks like something odd is happening, if you can raise a bug
>> someone may look at it, though probably not this coming week as its FOSS4G
>>
>> Ian
>>
>>
>>
>> On Thu, 22 Jun 2023 at 07:41, Daniele Maggiolo <
>> daniele.maggi...@abitat.it> wrote:
>>
>>> Hi, the result I get is a polygon without filling with dots.
>>>
>>> If I use shape://slash it works like it always did in all versions
>>> (showing me the lines as a fill of the polygon). The only one I can't get
>>> to work anymore is shape://dot (in 2.23.1 version).
>>>
>>>
>>>
>>> Daniele
>>>
>>>
>>>
>>>
>>>
>>> *Da:* Ian Turton 
>>> *Inviato:* martedì 20 giugno 2023 18:11
>>> *A:* Daniele Maggiolo 
>>> *Cc:* geoserver-users@lists.sourceforge.net
>>> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work
>>> in geoserver version 2.23.1
>>>
>>>
>>>
>>> can you give us any clues as to what doesn't work? is nothing drawn?
>>> does the program crash? is a penguin produced?
>>>
>>>
>>>
>>> What does the log file show any interesting information? what if you
>>> turn logging up to GeoTools-dev level and try again?
>>>
>>>
>>>
>>> Ian
>>>
>>>
>>>
>>> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
>>> geoserver-users@lists.sourceforge.net> wrote:
>>>
>>> Hi,
>>>
>>> I noticed that the styled mark shape://dot doesn't work in GeoServer
>>> version 2.23.1.
>>>
>>> I've tried both creating a style with CSS and SLD. In version 2.22.2
>>> everything worked fine.
>>>
>>> Below is an example of a style created using CSS.
>>>
>>>
>>>
>>> @mode 'Auto';
>>> @styleTitle 'Test';
>>> @styleAbstract 'Test';
>>>
>>> /* @title Test
>>> * @abstract Test
>>> */
>>> *{
>>>   stroke: #a0a0f5;
>>>   stroke-width: 1;
>>>   fill: symbol("shape://dot");
>>> :fill {
>>> size: 5;
>>> stroke: #a0a0f5;
>>> stroke-width: 1;
>>>   fill: #a0a0f5;
>>> }
>>> }
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>>
>>> --
>>>
>>> Ian Turton
>>>
>>
>>
>> --
>> Ian Turton
>> ___
>> Geoserver-users mailing list

Re: [Geoserver-users] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
I can confirm that the dot pattern doesn't seem to work in 2.22.2 either
but the relevant code (
https://github.com/geotools/geotools/blame/379ae1335ebfba758a03b61be97a20be838900e3/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java#L47)
doesn't seem to have changed in more than 5 years.

Looking at the logs seems to indicate that the renderer looks through some
(all) the MarkFactories and finds the mark and draws it

22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
22 Jun 08:30:34 TRACE  [renderer.style] - Could not find the symbol,
returning null
22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
22 Jun 08:30:34 TRACE  [renderer.style] - applying stroke to mark

So it looks like something odd is happening, if you can raise a bug someone
may look at it, though probably not this coming week as its FOSS4G

Ian



On Thu, 22 Jun 2023 at 07:41, Daniele Maggiolo 
wrote:

> Hi, the result I get is a polygon without filling with dots.
>
> If I use shape://slash it works like it always did in all versions
> (showing me the lines as a fill of the polygon). The only one I can't get
> to work anymore is shape://dot (in 2.23.1 version).
>
>
>
> Daniele
>
>
>
>
>
> *Da:* Ian Turton 
> *Inviato:* martedì 20 giugno 2023 18:11
> *A:* Daniele Maggiolo 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
> geoserver version 2.23.1
>
>
>
> can you give us any clues as to what doesn't work? is nothing drawn? does
> the program crash? is a penguin produced?
>
>
>
> What does the log file show any interesting information? what if you turn
> logging up to GeoTools-dev level and try again?
>
>
>
> Ian
>
>
>
> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi,
>
> I noticed that the styled mark shape://dot doesn't work in GeoServer
> version 2.23.1.
>
> I've tried both creating a style with CSS and SLD. In version 2.22.2
> everything worked fine.
>
> Below is an example of a style created using CSS.
>
>
>
> @mode 'Auto';
> @styleTitle 'Test';
> @styleAbstract 'Test';
>
> /* @title Test
> * @abstract Test
> */
> *{
>   stroke: #a0a0f5;
>   stroke-width: 1;
>   fill: symbol("shape://dot");
> :fill {
> size: 5;
> stroke: #a0a0f5;
> stroke-width: 1;
>   fill: #a0a0f5;
> }
> }
>
>
>
> ___
> 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
>
>
>
> --
>
> Ian Turton
>


-- 
Ian Turton
___
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/GS] Cache-Recycling

2023-06-21 Thread Ian Turton
On Mon, 19 Jun 2023 at 13:24,  wrote:

> Hi GeoServer-experts,
>
> I am running a fairly large GS-deployment on k8s with the included,
> preseeded GWC.
> I noticed that changing SLD-files results in invalidating the cache-Folder
> and deleting the whole preseeded cache. I was hit by this "feature" in the
> past once.
>
> So 2 questions in this context:
>
> 1) Is it possible to deactivate this feature by myself to that I can
> decide when I will recreate the new Cache?
>

I doubt it as once you have changed the style all the tiles would need to
be recreated because they (may) look different now


> 2) Does the removal of the preseeded Cache also for changing
> Min/MaxScaleDenominators inside the SLDs and in the GWC-layer-config?
>
>
Again GeoServer has no way of knowing (without a lot of work) which tiles
are invalid with a style change so it needs to redraw all of them

I'm not sure what else you think could happen if you change the style of a
layer?

Ian
___
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] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-20 Thread Ian Turton
On Tue, 20 Jun 2023 at 17:13, Miguel Ángel Parrilla Godínez via
Geoserver-users  wrote:

> Dear all,
>
> To the mail thread.
>
> I would like to know what are the advantages or disadvantages of styling
> using css or sld?
>

SLD is machine readable and does exactly what you asked for and nothing
else, css is human readable and does lots of things while you aren't
watching but many people claim it is easier to use. It can be slower
especially for complex styles (as they are converted in to SLD in the
background)

Ian
___
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] Data formats supported by geoserver

2023-06-20 Thread Ian Turton
On Tue, 20 Jun 2023 at 17:00, 王坤  wrote:

> Hello, sorry to bother you.
>
> I have a question about our team's project on geoserver. Does geoserver
> support data in m3d format?
>

The manual (https://docs.geoserver.org/latest/en/user/data/index.html#data)
lists formats that are supported out of the box and points to extensions
that might extend the supported list

Ian

>
> Hope to get your reply as soon as possible, 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
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Ian Turton
___
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] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-20 Thread Ian Turton
can you give us any clues as to what doesn't work? is nothing drawn? does
the program crash? is a penguin produced?

What does the log file show any interesting information? what if you turn
logging up to GeoTools-dev level and try again?

Ian

On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi,
>
> I noticed that the styled mark shape://dot doesn't work in GeoServer
> version 2.23.1.
>
> I've tried both creating a style with CSS and SLD. In version 2.22.2
> everything worked fine.
>
> Below is an example of a style created using CSS.
>
>
>
> @mode 'Auto';
> @styleTitle 'Test';
> @styleAbstract 'Test';
>
> /* @title Test
> * @abstract Test
> */
> *{
>   stroke: #a0a0f5;
>   stroke-width: 1;
>   fill: symbol("shape://dot");
> :fill {
> size: 5;
> stroke: #a0a0f5;
> stroke-width: 1;
>   fill: #a0a0f5;
> }
> }
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Security comparison between GeoServer and ESRI

2023-06-20 Thread Ian Turton
I'm not sure how reliable this site is but a customer forwarded it to me
today and I thought others might be interested

https://stack.watch/product/esri/ and
https://stack.watch/product/geoserver/geowebcache/

Ian

-- 
Ian Turton
___
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 Releases 29.1 and 2.23.1

2023-05-26 Thread Ian Turton
We're pleased to announce the (slightly delayed) release of the latest
stable versions of GeoTools (29.1) and GeoServer (2.23.1) both release
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/) and GeoServer (
https://geoserver.org/announcements/2023/05/23/geoserver-2-23-1-released.html
)

Ian

-- 
Ian Turton
___
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] WMTS and metatiling/labelling

2023-05-16 Thread Ian Turton
On Mon, 15 May 2023 at 19:03, Mitchell Bösecke 
wrote:

> Hi,
>
> I've been experimenting with switching from WMS (tiled=true) to WMTS and I
> was surprised to find out that WMTS uses metatiling just like WMS. I'm
> ultimately trying to eliminate metatiling for performance reasons (locking
> seems to be my bottleneck, I'm okay hitting my postgis database more, I'd
> prefer lower per-tile latency than average latency across multiple tiles).
>
> However, it seems like my WMTS requests are plagued by the classic
> labelling issues that WMS is affected by, unless metatiling is enabled.
> Philosophically, I understand why WMS is affected by the labelling issue
> but I guess I'm surprised that WMTS would also be affected by this since
> the concept of tiling is built-in to the protocol.
>

WMTS is just a small WMS request so that offers no improvement for you in
label calculation, though because the tiles are fixed they are only
produced once. What can improve the situation is to fix the position of
your labels rather than having GeoServer handle placing them in an optimal
way. Combining a fixed position with the `partials` vendor option should
allow you to create the tiles with out the need for metatiling, though you
may end up with a few cut symbols with out it.

Ian
-- 
Ian Turton
___
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] publishing .tif file

2023-05-12 Thread Ian Turton
On Fri, 12 May 2023 at 11:14, Rahkonen Jukka <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> This is one more incarnation of this bug
> https://osgeo-org.atlassian.net/browse/GEOS-9868. The issue happens with
> some non-English locales and it is triggered by the infinity character
> (collapsed 8) that is used as a default value in some places of the user
> interface.
>

That makes sense, I've never seen it insert an `I` before.

Ian
___
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] publishing .tif file

2023-05-12 Thread Ian Turton
el.dispatch(HttpChannel.java:633)
>
>at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
>
>at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
>
>at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
>
>at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
>
>at
> org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
>
>at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
>
>at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
>
>at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
>
>at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
>
>at
> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
>
>at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
>
>at
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
>
>at java.base/java.lang.Thread.run(Thread.java:834)
>
> Caused by: java.lang.reflect.InvocationTargetException
>
>at jdk.internal.reflect.GeneratedMethodAccessor492.invoke(Unknown
> Source)
>
>at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
>at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
>
>... 128 more
>
> Caused by: java.lang.NumberFormatException: Character I is neither a
> decimal digit number, decimal point, nor "e" notation exponential mark.
>
>at java.base/java.math.BigDecimal.(BigDecimal.java:522)
>
>at java.base/java.math.BigDecimal.(BigDecimal.java:405)
>
>at java.base/java.math.BigDecimal.(BigDecimal.java:838)
>
>at
> org.apache.wicket.util.convert.converter.AbstractNumberConverter.parse(AbstractNumberConverter.java:126)
>
>at
> org.apache.wicket.util.convert.converter.DoubleConverter.convertToObject(DoubleConverter.java:51)
>
>at
> org.geoserver.web.wicket.DecimalConverter.convertToObject(DecimalConverter.java:47)
>
>at
> org.geoserver.web.wicket.DecimalConverter.convertToObject(DecimalConverter.java:19)
>
>at
> org.apache.wicket.markup.html.form.FormComponent.convertInput(FormComponent.java:1229)
>
>at
> org.apache.wicket.markup.html.form.AbstractTextComponent.convertInput(AbstractTextComponent.java:129)
>
>at
> org.apache.wicket.markup.html.form.FormComponent.validate(FormComponent.java:1176)
>
>at
> org.apache.wicket.markup.html.form.Form$18.validate(Form.java:1957)
>
>at
> org.apache.wicket.markup.html.form.Form$ValidationVisitor.component(Form.java:176)
>
>at
> org.apache.wicket.markup.html.form.Form$ValidationVisitor.component(Form.java:160)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:274)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>    at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:262)
>
>at
> org.apache.wicket.util.visit.Visits.visitPostOrder(Visits.java:245)
>
>at
> org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:387)
>
>at
> or

Re: [Geoserver-users] change PostGIS datastore password w/ REST API?

2023-05-03 Thread Ian Turton
Yes,

Fetch your store's config with a GET request and then change the password
and PUT the file back.

The tricky bit is working out what to put in the password field, that will
depend on which cryptography package you have installed.

Ian

On Tue, 2 May 2023 at 22:50, Mort, Ashley C RTX via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Is it possible to update my Postgis Store’s Postgres password
> programmatically via the REST API?
> ___
> 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
>


-- 
Ian Turton
___
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] Jittering to anonymize data

2023-04-20 Thread Ian Turton
I wouldn't do it that way if the data is at all sensitive, an attacker can
simply request the data a lot of times to average out your jitter, Much
better to add a random offset and/or a truncation of precision once in the
database and then always provide the same answer

Ian

On Thu, 20 Apr 2023 at 04:24, Phil Scadden  wrote:

> I have survey point data (soil geochemistry) that is representative for an
> area but on display, I need to jitter the point location so the actual
> location cannot be discovered. For users point of view, you can click on
> points and view data, but every time you refresh (or preferably every time
> zoom) the point location will change within a certain parameters.
>
>
>
> An example https://iupui-earth-science.shinyapps.io/MME_Global/
>
>
>
>
>
> Any idea of how I might achieve this with geoserver? Anyone done similar??
>
>
>
> All I can think of is to draw from a very custom WFS source that is doing
> the jitter.
>
>
>
> 
>
> Ngā mihi, Nā Phil Scadden
>
> Te Raraunga me te Tātaritanga Mokowā Aronuku (Geospatial Data and
> Analysis)
>
> *GNS Science* *Te Pῡ Ao*
>
> 764 Cumberland St, Private Bag 1930,
>
> Dunedin, New Zealand Ph +64 3 4799663, 027 3463185
>
>
>
> “Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”
>
>
> Notice: This email and any attachments are confidential and may not be
> used, published or redistributed without the prior written consent of the
> Institute of Geological and Nuclear Sciences Limited (GNS Science). If
> received in error please destroy and immediately notify GNS Science. Do not
> copy or disclose the contents.
> ___
> 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
>


-- 
Ian Turton
___________
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.23 requirements

2023-04-18 Thread Ian Turton
I was looking at this section -
https://docs.geoserver.org/latest/en/user/production/java.html#running-on-java-11

> *GlassFish* does not currently [support] Java 11, although the upcoming
5.0.1 release is expected to include support for it.

To be honest, I don't know of anyone running on glassfish so I can really
comment. May be that page needs updating

Ian

On Tue, 18 Apr 2023 at 10:21, Mark Hammond  wrote:

> Colour me even more confused - this is the release notes for 2.23.0 on
> geoserver.org
>
> [image: image.png]
>
> Or, if you can't view images:
>
>
> https://geoserver.org/announcements/2023/04/05/geoserver-2-23-0-released.html
>
> *"Java 11 Minimum*
>
> *With this release GeoServer no longer supports Java 8, and it is time to
> upgrade to Java 11 at a minimum. Our build system tests GeoServer in with
> Java 11 and Java 17 which are both long-term-support OpenJDK releases."*
>
>
> My existing servers are 2.15 running on JDK8 and Glassfish 4.x.
>
> Quite happy to upgrade to 2.23 running on JDK11 and Glassfish 6.x, or even
> JDK17 and Glassfish 7.x
>
> Can someone advise? Because what I'm being told from the documentation,
> and what I'm experiencing on the ground don't seem to marry up...
>
>
> Best wishes
>
> Mark
>
>
>
> On Mon, 17 Apr 2023 at 19:58, Jody Garnett  wrote:
>
>> Mark may have been testing a newer glassfish based on Jakarta?
>> https://glassfish.org - it looks like version 6 does support Java 11 and
>> Jakarta.
>>
>> We have not migrated from J2EE to jakarta yet; although that is a good
>> task to do. If you are interested in working on that mark it would be a
>> welcome improvement.
>> --
>> Jody Garnett
>>
>>
>> On Mon, Apr 17, 2023 at 11:45 AM Ian Turton  wrote:
>>
>>> According to our manual glassfish doesn't support java 11 while
>>> GeoServer doesn't support java 8 any longer. So you may need to work with a
>>> n older version, which do have the fixes applied.
>>>
>>> Ian
>>>
>>> On Mon, 17 Apr 2023, 18:39 Mark Hammond,  wrote:
>>>
>>>> Hi folks,
>>>>
>>>>
>>>> I've been asked to upgrade our deployments of Geoserver due to the
>>>> recently discovered vulnerabilities. I would have been most content to
>>>> enact the workarounds wildly offered, but people above me in the pecking
>>>> order insisted.
>>>>
>>>> I've set up a vanilla test box with JDK11 and Glassfish 6.2.5 and
>>>> downloaded the ready-to-eat .WAR file for Geoserver 2.23
>>>>
>>>> However, upon attempting to deploy, this is the message got:
>>>>
>>>> remote failure: Error occurred during deployment: Exception while
>>>> loading the app : java.lang.IllegalStateException: ContainerBase.addChild:
>>>> start: org.apache.catalina.LifecycleException:
>>>> java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError:
>>>> javax/servlet/ServletContextListener. Please see server.log for more
>>>> details.
>>>> Command deploy failed.
>>>>
>>>> Please could someone offer idiot-proof instructions for a lay-person to
>>>> get this deployment to work?
>>>>
>>>> Kindest regards,
>>>> Mark
>>>> ___
>>>> 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://geose

Re: [Geoserver-users] Geoserver 2.23 requirements

2023-04-17 Thread Ian Turton
According to our manual glassfish doesn't support java 11 while GeoServer
doesn't support java 8 any longer. So you may need to work with a n older
version, which do have the fixes applied.

Ian

On Mon, 17 Apr 2023, 18:39 Mark Hammond,  wrote:

> Hi folks,
>
>
> I've been asked to upgrade our deployments of Geoserver due to the
> recently discovered vulnerabilities. I would have been most content to
> enact the workarounds wildly offered, but people above me in the pecking
> order insisted.
>
> I've set up a vanilla test box with JDK11 and Glassfish 6.2.5 and
> downloaded the ready-to-eat .WAR file for Geoserver 2.23
>
> However, upon attempting to deploy, this is the message got:
>
> remote failure: Error occurred during deployment: Exception while loading
> the app : java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException:
> java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener.
> Please see server.log for more details.
> Command deploy failed.
>
> Please could someone offer idiot-proof instructions for a lay-person to
> get this deployment to work?
>
> Kindest regards,
> Mark
> ___
> 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] "Image Mosaic JDBC" plugin is not available for GeoServer V2.22

2023-04-05 Thread Ian Turton
support the module with time or cash. That's the way open source works I'm
afraid

Ian

On Wed, 5 Apr 2023 at 16:19, Amirhossein Nikfal  wrote:

> So what are we supposed to do for adding a Postgis raster data store?
> According to docs, "Image Mosaic JDBC" plugin was necessary for such a
> task.
>
> On Wed, Apr 5, 2023 at 5:13 PM Ian Turton  wrote:
>
>> quoting from another thread:
>> the imagemosaic-jdbc plugin has been removed from the GeoServer source
>> code,
>> after years without a dedicated maintainer.
>>
>> See the full answer on a similar thread.
>>
>> https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/61ddb27d-9187-bde0-34ae-48700befa703%40meggsimum.de/#msg37377981
>>
>> On Wed, 5 Apr 2023 at 16:09, Amirhossein Nikfal 
>> wrote:
>>
>>> Dear fellows,
>>>
>>> Following
>>> https://docs.geoserver.org/2.19.x/en/user/community/imagemosaic-jdbc/index.html
>>> :
>>> The "Image Mosaic JDBC" plugin for Geoserver version 2.22 is not
>>> available. In fact it is not available for versions 2.20 and higher.
>>>
>>> Best,
>>> Amir Nikfal
>>> _______
>>> 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
>>>
>>
>>
>> --
>> Ian Turton
>>
>

-- 
Ian Turton
___
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] "Image Mosaic JDBC" plugin is not available for GeoServer V2.22

2023-04-05 Thread Ian Turton
quoting from another thread:
the imagemosaic-jdbc plugin has been removed from the GeoServer source code,
after years without a dedicated maintainer.

See the full answer on a similar thread.
https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/61ddb27d-9187-bde0-34ae-48700befa703%40meggsimum.de/#msg37377981

On Wed, 5 Apr 2023 at 16:09, Amirhossein Nikfal  wrote:

> Dear fellows,
>
> Following
> https://docs.geoserver.org/2.19.x/en/user/community/imagemosaic-jdbc/index.html
> :
> The "Image Mosaic JDBC" plugin for Geoserver version 2.22 is not
> available. In fact it is not available for versions 2.20 and higher.
>
> Best,
> Amir Nikfal
> ___
> 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
>


-- 
Ian Turton
___
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] ##freemail## Re: Query regarding WMS and WFS request

2023-04-05 Thread Ian Turton
On Tue, 4 Apr 2023 at 18:40, Kajal Shrawan Katoke via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi Ian,
>
> Thanks for the response.
>
> I have made request using “PropertyIsEqualTo” , “PropertyIsBetween” ,
> “featureid” filters and getting expected output.
>
> *Request using PropertyIsEqualTo filter*:
>
>
> http:/localhost:8081/geoserver/wms?service=WMS=1.1.0=GetMap=topp:states=-124.7314220001%2C24.955967%2C-66.969849%2C49.371735=768=330=EPSG%3A4326=application/openlayers=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etopp:STATE_NAME%3C/PropertyName%3E%3CLiteral%3ETexas%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E
>
> I have tried below request to use PropertyIsLike but it results into error.
>
>
>
> *Request using PropertyIsBetween filter*:
>
>
> http:/localhost:8081/geoserver/wms?service=WMS=1.1.0=GetMap=topp:states=-124.7314220001%2C24.955967%2C-66.969849%2C49.371735=768=330=EPSG%3A4326=application/openlayers=%3CFilter%3E%3CPropertyIsBetween%3E%3CPropertyName%3Etopp:LAND_KM%3C/PropertyName%3E%3CLowerBoundary%3E%3CLiteral%3E10%3C/Literal%3E%3C/LowerBoundary%3E%3CUpperBoundary%3E%3CLiteral%3E15%3C/Literal%3E%3C/UpperBoundary%3E%3C/PropertyIsBetween%3E%3C/Filter%3E
>
>
>
> *Request using featured filter:*
>
>
> http://localhost:8081/geoserver/topp/wms?service=WMS=1.1.0=GetMap=topp%3Astates=-124.7314220001%2C24.955967%2C-66.969849%2C49.371735=768=330=EPSG%3A4326==application/openlayers=states.5
>
>
>
> In the same way I have tried below request to use “PropertyIsLike” but it
> results into error as shown in error.txt file.
>
> *Request using PropertyIsLike filter:*
>
>
> http:/localhost:8081/geoserver/wms?service=WMS=1.1.0=GetMap=topp:states=-124.7314220001%2C24.955967%2C-66.969849%2C49.371735=768=330=EPSG%3A4326=application/openlayers=%3CFilter%3E%3CPropertyIsLike%3E%3CPropertyName%3Etopp:STATE_NAME%3C/PropertyName%3E%3CLiteral%3ETexas%3C/Literal%3E%3C/PropertyIsLike%3E%3C/Filter%3E
>
> *Error on UI:*   Code=“InternalError”Rendering Process Failed
>
>
>
If you read the manual (or the filter standard) you will see:

 matches a string property value against a text pattern. It
contains a  element containing the name of the property
containing the string to be matched and a  element containing the
pattern. The pattern is specified by a sequence of regular characters and
three special pattern characters. The pattern characters are defined by the
following *required* attributes of the  element:

wildCard specifies a pattern character which matches any sequence
of zero or more characters

singleChar specifies a pattern character which matches any single
character

escapeChar specifies an escape character which can be used to
escape these pattern characters

So you need to specify the 3 required attributes in the 
tag -> ...*Texas*

Ian

> I request you to please help with the similar curl or URL request using
> PropertyIsLike and filter functions(like strEndsWith,strStartsWith).
>
>
>
> Thanks & Regards ,
>
>  Kajal
>
>
>
>
>
> *From:* Ian Turton 
> *Sent:* 04 April 2023 19:57
> *To:* Kajal Shrawan Katoke 
> *Cc:* Geoserver-users@lists.sourceforge.net; Chandradeep Kumar <
> chandradeep.ku...@india.nec.com>; Madhu 
> *Subject:* ##freemail## Re: [Geoserver-users] Query regarding WMS and WFS
> request
>
>
>
> Some of those are functions so you need something like ` name="strEndsWith">`
>
> Others like PropertyIsLike and DWithin are used just like
> PropertyIsBetween
>
>
>
> If you are getting an error, you can check the log file to see what the
> problem is, alternatively let us know exactly what you are sending to
> GeoServer
>
>
>
>
>
> Ian
>
>
>
> On Tue, 4 Apr 2023 at 14:33, Kajal Shrawan Katoke via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi Team,
>
>
>
> I am facing issue to use below filter in WMS and WFS(curl or http)
> request. I have setup of geoserver with postgis datastore.
>
> *List of filter:*
>
>- PropertyIsLike
>- strEndsWith
>- strStartsWith
>- jsonArrayContains
>- DWithin
>-
>
> I am referring document
> <https://docs.geoserver.org/2.22.x/en/user/index.html>, but didn’t find
> any solution. I have used operators like “PropertyIsBetween” , ”
> PropertyIsEqualTo” and FeatureId”. But when I use  “PropertyIsLike” not
> getting output.
>
> Now I want to know, how to use above filters in WMS and WFS request.
>
>
>
> Thanks & regards,
>
> Kajal Katoke
> --
>
> The contents of this e-mail and any attachment(s) are confiden

Re: [Geoserver-users] Query regarding WMS and WFS request

2023-04-04 Thread Ian Turton
Some of those are functions so you need something like ``

Others like PropertyIsLike and DWithin are used just like PropertyIsBetween

If you are getting an error, you can check the log file to see what the
problem is, alternatively let us know exactly what you are sending to
GeoServer


Ian

On Tue, 4 Apr 2023 at 14:33, Kajal Shrawan Katoke via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi Team,
>
>
>
> I am facing issue to use below filter in WMS and WFS(curl or http)
> request. I have setup of geoserver with postgis datastore.
>
> *List of filter:*
>
>- PropertyIsLike
>- strEndsWith
>- strStartsWith
>- jsonArrayContains
>- DWithin
>-
>
> I am referring document
> <https://docs.geoserver.org/2.22.x/en/user/index.html>, but didn’t find
> any solution. I have used operators like “PropertyIsBetween” , ”
> PropertyIsEqualTo” and FeatureId”. But when I use  “PropertyIsLike” not
> getting output.
>
> Now I want to know, how to use above filters in WMS and WFS request.
>
>
>
> Thanks & regards,
>
> Kajal Katoke
> --
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. It shall not attach any liability
> on the originator or NEC Corporation India Private Limited or its
> affiliates. Any views or opinions presented in this email are solely those
> of the author and may not necessarily reflect the opinions of NEC
> Corporation India Private Limited or its affiliates. Any form of
> reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior written
> consent of the author of this e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately.
> ___
> 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
>


-- 
Ian Turton
_______
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] Update from Geoserver 2.14 to 2.22 : WFS 1.1.0 result missing Z coordinate

2023-03-30 Thread Ian Turton
We have had a number of issues in the past with M and Z coordinates

https://osgeo-org.atlassian.net/browse/GEOT-6096
https://osgeo-org.atlassian.net/browse/GEOT-1716
https://osgeo-org.atlassian.net/browse/GEOS-10667
https://osgeo-org.atlassian.net/browse/GEOT-6740
https://osgeo-org.atlassian.net/browse/GEOT-6599
https://osgeo-org.atlassian.net/browse/GEOT-6362
https://osgeo-org.atlassian.net/browse/GEOT-4337
https://osgeo-org.atlassian.net/browse/GEOS-9520

for example.

What is your datasource? We need a small sample that demonstrates the issue
before anyone can consider looking at it.

Ian

On Thu, 30 Mar 2023 at 16:57, francois roussel  wrote:

> Hi all,
>
> I am trying to update from Geoserver 2.14 to 2.22. My Geoserver 2.22
> instance starts on a copy of the 2.14 instance's data. Everything looks
> good from the administration console.
>
> A major difference is present in the WFS responses : This one is from
> Geoserver 2.14
>
> http://www.opengis.net/gml/srs/epsg.xml#3857;
> srsDimension="3">
> 
> 
> 676197.14171868 6332811.49687361 0 676205.71421278
> 6332795.82409933 0 676220.6667465 6332779.85090715 0 676244.61888527
> 6332759.23118246 0 676283.79094172 6332732.20673133 0 676325.2299601
> 6332703.43080496 0 676356.11501381 6332741.40711378 0 676382.92919821
> 6332782.03057298 0 676396.72379804 6332804.57979136 0 676404.37781378
> 6332825.87365151 0
> 
> 
> 
>
> And this one is from Geoserver 2.22
>
> http://www.opengis.net/gml/srs/epsg.xml#3857; srsDimension="3">
> 
> 
> 676197.14171868 6332811.49687361 676205.71421278
> 6332795.82409933 676220.6667465 6332779.85090715 676244.61888527
> 6332759.23118246 676283.79094172 6332732.20673133 676325.2299601
> 6332703.43080496 676356.11501381 6332741.40711378 676382.92919821
> 6332782.03057298 676396.72379804 6332804.57979136 676404.37781378
> 6332825.87365151
> 
> 
> 
>
> As you can see, the Z coordinate is absent from the Geoserver 2.22
> response despite the srsDimension value '3'. As a result, my code can't
> deserialize the LineString anymore.
>
> If I switch my WFS request to WFS=1.0.0 on Geoserver 2.22, the Z
> coordinate is present :
>
> http://www.opengis.net/gml/srs/epsg.xml#3857
> ">
> 
> 
> http://www.opengis.net/gml; decimal="."
> cs="," ts=" ">676197.14171868,6332811.49687361,0
> 676205.71421278,6332795.82409933,0 676220.6667465,6332779.85090715,0
> 676244.61888527,6332759.23118246,0 676283.79094172,6332732.20673133,0
> 676325.2299601,6332703.43080496,0 676356.11501381,6332741.40711378,0
> 676382.92919821,6332782.03057298,0 676396.72379804,6332804.57979136,0
> 676404.37781378,6332825.87365151,0
> 
> 
> 
>
> I took some hours to search about this issue but didn't find anything. Is
> it a configuration issue ? How could the srsDimension be correct (3) but
> the Z value ignored only for WFS 1.1.0 ?
>
> Best regards.
> ___
> 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
>


-- 
Ian Turton
___
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] Reading GeoTiff from s3 emulators private bucket

2023-03-27 Thread Ian Turton
On Mon, 27 Mar 2023 at 13:44, Goran Grcic  wrote:

> After going trough source code I found about environment variable
> IIO_$ALIAS_AWS_ENDPOINT which is not exposed in documentation. After I
> set IIO_S3_AWS_ENDPOINT={myendpoint} and granule location attribute to
> s3://bucket/granule.tif it works properly
>
>
Please edit the documentation to fix this issue.

Ian


> sri, 22. ožu 2023. u 19:33 Andrea Aime 
> napisao je:
>
>> Hi Goran,
>> I don't know what's going on there, but as a basic suggestion, try
>> setting the logging level (in the "Global" settings panel)
>> to VERBOSE and then try the setup again. The logs will contain a lot of
>> information, and hopefully, some hint
>> indicating why this set up is not working .
>>
>> Best regards
>> Andrea
>>
>> On Wed, Mar 22, 2023 at 12:57 PM Goran Grcic 
>> wrote:
>>
>>> Hey everyone,
>>> I'm trying to create Geotiff store using cog plugin by reading files
>>> from my s3 ninja emulator. Under stores cog settings I set range reader
>>> settings to http and make my bucket public. That way it works properly, but
>>> when I switch my bucket to private and change  store definition range
>>> reader settings to s3 with proper credentials
>>> I get error:
>>> "No input stream for the provided source" .
>>> I'm not sure if reader can only manage aws s3 instances. I also tried to
>>> get more info by setting some brake points in code, it fails on line
>>> ```reader = gridFormat.getReader(readObject, hints);```
>>> Does anyone had similar problems, I would be very thankful for any kind
>>> of information. I'm not sure if this might be a bug, and sholud i report it
>>> if it is ?
>>> ___
>>> 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
>>>
>>
>>
>> --
>>
>> Regards,
>>
>> Andrea Aime
>>
>> ==
>> 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 

Re: [Geoserver-users] Order of visualization of the features in a layer

2023-03-20 Thread Ian Turton
Features are drawn in the order they are returned by the datastore, and
then in the order of the rule that draws them.

Ian

On Mon, 20 Mar 2023 at 12:36, Mario Carrera  wrote:

>
> Hello everyone!
>
> I have a problem with the order of features on a layer, where some of them
> are not shown. In my case, some rectangles of the zebra crossing are under
> the road, as you can see here:
>
>
>
> I have the symbology with different rules for the different type of
> elements, for example:
>
> 
>   Road paint
>   
> 
>   id_fenomen
>   Road paint
> 
>   
>   
> 
>   #ff
> 
> 
>   #ff
>   1
>name="stroke-linejoin">bevel
> 
>   
> 
>
> Is there any way to apply order of visualization for the different rules
> (type of elements)? I have found only by "z" parameter, but it's not for my
> case.
>
> Thank you very much.
> Best regards,
>  Mario Carrera
>
>
> --
>
> *Mario Carrera*
>
> gvSIG Association / Asociación gvSIG
>
> http://www.gvsig.com
>
>
> Antes de imprimir este e-mail piense bien si es necesario hacerlo.
>
> AVISO LEGAL: Este mensaje y sus archivos adjuntos van dirigidos
> exclusivamente a su destinatario, pudiendo contener información
> confidencial sometida a secreto profesional. No está permitida su
> comunicación, reproducción o distribución sin la autorización expresa de la
> Asociación gvSIG. Si usted no es el destinatario final, por favor elimínelo
> e infórmenos por esta vía.
>
> PROTECCIÓN DE DATOS: De conformidad con lo dispuesto en las normativas
> vigentes en protección de datos personales, el Reglamento (UE) 2016/679 de
> 27 de abril de 2016 (GDPR) y la Ley Orgánica (ES) 15/1999 de 13 de
> diciembre (LOPD), le informamos que los datos personales y dirección de
> correo electrónico, recabados del propio interesado o de fuentes públicas,
> serán tratados bajo la responsabilidad de la *Asociación gvSIG *para el
> envío de comunicaciones sobre nuestros productos y servicios y se
> conservarán mientras exista un interés mutuo para ello. Los datos no serán
> comunicados a terceros, salvo obligación legal. Le informamos que puede
> ejercer los derechos de acceso, rectificación, portabilidad y supresión de
> sus datos y los de limitación y oposición a su tratamiento dirigiéndose
> enviando un mensaje al correo electrónico a i...@gvsig.com. Si considera
> que el tratamiento no se ajusta a la normativa vigente, podrá presentar una
> reclamación ante la autoridad de control en www.agpd.es.
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Save Cascade WMS layers locally

2023-03-16 Thread Ian Turton
You can cascade the layer through GeoServer and then build a GeoWebCache of
that layer, if you pre-seed it then you will have everything you need when
out to sea - I did a talk about it FOSS4G 2017: Pirate Maps, Experiments
with portable maps on the Raspberry Pi
<https://www.ianturton.com/talks/pirates-foss4g/index.html> (video
<https://vimeo.com/248675454>) on implementing this with a RaspberryPi but
it would work with a bigger machine too.

Ian

On Thu, 16 Mar 2023 at 11:23, Nicolas De Ville De Goyet <
ndevi...@naturalsciences.be> wrote:

> Hello everyone,
>
> The context:
>
> I have a running geoserver (https://spatial.naturalsciences.be) that
> works fine. This is my main Geoserver instance. The layers are a
> combination of several different data stores (GIS layers, PosgreSQL
> database,...).
>
> I have another geoserver instance running on a research vessel. This
> vessel has poor (and expensive) connectivity when cruising.
>
> I would like to visualize the layers from the main geoserver on-board
> even if there is no internet connection.
>
> My question is:
>
>  - Is it possible to populate the on-board geoserver by saving
> locally the layers available via the main WMS?
>
> I see there is some documentation on cascading WMS but it needs to
> remain connected to the source.
>
> Many thanks for your help/ideas,
>
> Nicolas de Ville
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] strange behavior after upgrade

2023-03-02 Thread Ian Turton
On Thu, 2 Mar 2023 at 16:38, Crawford Jr., Stephen Rand 
wrote:

> Hi All,
>
>  I recently upgraded 2.22.2, Tomcat container.  The data are still being
> served correctly, but the web interface now has lost much of its
> functionality: searches through layers or stores don't do anything, many
> links return 400 Bad request errors, etc.
>
> Any help is greatly appreciated.  Error log attached.
>

Can't see what the exact issue is, but it could be CSRF (
https://docs.geoserver.org/latest/en/user/security/webadmin/csrf.html) or
possibly a Java version mismatch if you aren;t using 11 (or possibly 17).
Another issue is if you are using tomcat 10 which isn't supported (yet)

Ian

>
> Thanks,
> Steve
>
> Stephen Crawford
>
> Center For Environmental Informatics
>
> The Pennsylvania State University
>
> src...@psu.edu
> ___
> 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
>


-- 
Ian Turton
___
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] ImageMosaic timeregex + PostGres DB giving wrong time.

2023-03-02 Thread Ian Turton
The times in the database will be in UTC, and I guess you're in UTC+!. Add
-Duser.timezone=GMT to make it work as you expect

Ian

On Thu, 2 Mar 2023 at 16:37, Jeroen van Gent 
wrote:

> Hello all,
>
> I have been trying to create an Imagemosaic GeoTiff data store, using a
> Postgres database.
>
> The typical filename pattern for the GeoTiffs is:
>
> s5p_tropomi_so2vcd_epsg3857_{MMdd}T{HHmmss}_{orbitnumber}.tiff, for
> example:
>
> s5p_tropomi_so2vcd_epsg3857_20220604T210415_27650.tiff.
>
>
> I have declared the following regular expression in 'timeregex.properties':
>
> regex=_[0-9]{8}T[0-9]{6}_,format='_'MMdd'T'HHmmss'_'
>
> I can successfully create the store, and files seems to be properly
> ingested into the database, but when looking in the database table, the
> entries seem to give the correct date, but the wrong time, at least for the
> hour field:
>
> | location   | ingestion  
>  |
>
> | s5p_tropomi_so2vcd_epsg3857_20230213T120806_27653.tiff | 2023-02-13 
> 13:08:06 |
>
> | s5p_tropomi_so2vcd_epsg3857_20220604T021341_27650.tiff | 2022-06-04 
> 04:13:41 |
>
> | s5p_tropomi_so2vcd_epsg3857_20220604T210415_27650.tiff | 2022-06-04 
> 23:04:15 |
>
> Some relevant lines from the GeoServer logs:
>
> SELECT count(*) FROM "public"."s5p_tropomi_so2vcd_epsg3857_test" WHERE 
> ("location" = ? AND "location" IS NOT NULL )
> 2023-03-02 16:22:56,601 DEBUG [geotools.jdbc] - 1 = 
> s5p_tropomi_so2vcd_epsg3857_20220604T021341_27650.tiff
> 2023-03-02 16:22:56,601 DEBUG [geotools.jdbc] - SELECT 
> "fid",ST_AsEWKB("the_geom") as "the_geom","location","ingestion" FROM 
> "public"."s5p_tropomi_so2vcd_epsg3857_test" LIMIT 1
> 2023-03-02 16:22:56,602 DEBUG [geotools.jdbc] - SELECT 
> ST_AsText(ST_Force2D(ST_Envelope(ST_Extent("the_geom"::geometry FROM 
> "public"."s5p_tropomi_so2vcd_epsg3857_test"
> 2023-03-02 16:22:56,604 DEBUG [geotools.jdbc] - SELECT 
> "fid",ST_AsEWKB("the_geom") as "the_geom","location","ingestion" FROM 
> "public"."s5p_tropomi_so2vcd_epsg3857_test" WHERE 0 = 1
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting the_geom to POLYGON 
> ((-20026376.39 -20048673.9, -20026376.39 20048966.1, 20026863.61 20048966.1, 
> 20026863.61 -20048673.9, -20026376.39 -20048673.9))
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting 0 to POLYGON 
> ((-20026376.39 -20048673.9, -20026376.39 20048966.1, 20026863.61 20048966.1, 
> 20026863.61 -20048673.9, -20026376.39 -20048673.9))
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting location to 
> s5p_tropomi_so2vcd_epsg3857_20220604T021341_27650.tiff
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting 1 to 
> s5p_tropomi_so2vcd_epsg3857_20220604T021341_27650.tiff
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting ingestion to 
> 2022-06-04 04:13:41.0
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Setting 2 to 2022-06-04 
> 04:13:41.0
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - Inserting new features with 
> ps: INSERT INTO "public"."s5p_tropomi_so2vcd_epsg3857_test" ( 
> "the_geom","location","ingestion" ) VALUES ( ST_GeomFromWKB(?, 3857),?,?)
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - 1 = POLYGON ((-20026376.39 
> -20048673.9, -20026376.39 20048966.1, 20026863.61 20048966.1, 20026863.61 
> -20048673.9, -20026376.39 -20048673.9))
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - 2 = 
> s5p_tropomi_so2vcd_epsg3857_20220604T021341_27650.tiff
> 2023-03-02 16:22:56,605 DEBUG [geotools.jdbc] - 3 = 2022-06-04 04:13:41.0
>
> For what it's worth: the *.properties files are in the same folder as my
> data files.
>
> I am using GeoServer 2.20.2.
>
> Any suggestions?
>
> Thanks,
>
> Jeroen
> ___
> 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
>


-- 
Ian Turton

Re: [Geoserver-users] Question about administrative access

2023-02-23 Thread Ian Turton
On Thu, 23 Feb 2023 at 09:54, Paul Wittle via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Morning,
>
>
>
> I’ve been looking at the security in GeoServer and I know this is quite a
> complex area. I can see that you can assign users / roles the ADMIN
> permission in both the out of the box GeoServer and also within the
> GeoFence extension but this always seems to be tied to a workspace.
>
>
>
> Is there a way to give a user admin rights to manage users without giving
> them instant access to all the other functions in the admin UI?
>
>
>

I'm not sure if it's possible within GeoServer, maybe with GeoFence? But we
(Astun) have recently done something similar using and external LDAP
service and KeyCloak which handles the user management outside of GeoServer
which should allow you to do what you want. I've submitted a talk about
this for FOSS4G and am planning on writing it up as a blog post when I get
some spare time.

Ian
___
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] Fwd: Raster style ColorMaps

2023-02-21 Thread Ian Turton
On Tue, 21 Feb 2023 at 15:36, geosim -  wrote:

> Hello users,
>
> In reference this question, I could create a sld with colormap applying a
> contrast enhancement at the same time.  I got a warning error 
> vc-complex-type.2.1:t
> he element ‘normalize' must not have any characters or any [child]
> element information elements, because the type content type is empty.but
> it works when I compare with other programs.
>

This is a GeoServer extension to the standard so it won't validate but it
does work.

If validation is important to you then you can patch the XSD file that
GeoServer uses for the validation (as has been done for other extensions)
or sponsor someone to do that work (https://geoserver.org/support/)

Ian
___
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.22.1 released

2023-01-24 Thread Ian Turton
The GeoServer team is happy to announce the release of GeoServer 2.22.1,
this is a stable release and contains both bug fixes and improvements to
the program. Full details can be found on the GeoServer blog (
https://geoserver.org/announcements/2023/01/24/geoserver-2-22-1-released.html
).

Please upgrade for improved performance and security.

Ian

-- 
Ian Turton
___
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] Has anyone installed GDAL recently?

2023-01-23 Thread Ian Turton
It looks like the java.library.path environment variable is not set, it's
been a while since I did this but I think it needs to point to  where the
GDAL Java binary is

Ian

On Mon, 23 Jan 2023 at 16:09, Bradford Folta <
bradford.fo...@honeybadgeranalytics.com> wrote:

> Dear Geoserver Community:
>
> I am running into an issue deploying the Geoserver GDAL extension. I have
> read, reread, and searched the ends of the internet and haven't found
> anything that can help our situation. As it were, no matter what is done,
> GeoServer says the same thing...
>
> [image: Capture.PNG]
>
> I'd be willing to bet it is something dumb and that I am making more of it
> than it is. But help from someone on this matter would be greatly
> appreciated!
>
> --
> Best,
>
> Bradford Folta Jr.
> Founder & GIS Architect
> Honey Badger Analytics LLC.
> p: (207) 509-2923 | (651) 433-7199  m: (218) 330-0170
> a: 1001 Kingwood St. Suite 120, Brainerd, Minnesota 56401
> w: www.honeybadgeranalytics.com  e:
> bradford.fo...@honeybadgeranalytics.com
>
> <https://www.linkedin.com/company/honey-badger-analytics/?viewAsMember=true>
>
> Meet with Bradford
> <https://meetings.hubspot.com/bradford-folta/meet-with-bradford>
> ___
> 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
>


-- 
Ian Turton
___
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] Error in manual

2023-01-23 Thread Ian Turton
All the manual pages have an edit link on them in the right hand column to
allow users to fix typos as they spot them.

Ian

On Mon, 23 Jan 2023 at 14:33, Olivier Gagnon  wrote:

> Hi,
>
> Just to notify that there's an error on this page :
>
>
> https://docs.geoserver.org/stable/en/user/styling/ysld/reference/scalezoom.html
>
> In section "Scale examples", it should read "rules" instead of "rule".
>
> Thanks.
>
> Envoyé à partir d’Outlook <http://aka.ms/weboutlook>
> ___
> 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
>


-- 
Ian Turton
___
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] Change admin password

2023-01-10 Thread Ian Turton
see https://docs.geoserver.org/latest/en/user/security/webadmin/csrf.html

Ian

On Tue, 10 Jan 2023 at 10:05, Damien Tanguy <
damien.tan...@laophenixconsulting.com> wrote:

> Hello,
>
> I would like to change my password in Geoserver but when I go to Security
> > Passwords > Change Password, I have an error:
>
>
>
>
>
>
>
> *HTTP Status 400 – Bad Request Type Status ReportMessage Origin does not
> correspond to requestDescription The server cannot or will not process the
> request due to something that is perceived to be a client error (e.g.,
> malformed request syntax, invalid request message framing, or deceptive
> request routing).Apache Tomcat/9.0.60*
>
> Is there another way to update my password ? Maybe manually in the command
> line or in a file ?
>
> Thank you.
>
> Damien Tanguy
> ___
> 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
>


-- 
Ian Turton
___
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] Output dimension must be 2 or 3

2022-12-07 Thread Ian Turton
 at
> org.geotools.jdbc.JDBCDataStore.selectSQLPS(JDBCDataStore.java:3728)
>
> at
> org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:609)
>
>
>
> I browsed the code.  geoserver gets dimension 4 based on a variant of this
> query (PostGISDialect.java):
>
>
>
> *SELECT *  FROM GEOMETRY_COLUMNS WHERE coord_dimension not in (2,3);*
>
>
>
> but the query generated by geoserver to fetch the data is :
>
> SELECT ST_AsBinary(ST_Force2D("geometry")) as "geometry" FROM
> "public"."testhy" WHERE […]
>
>
>
> Note the ST_Force2D that removes the Z and M dimension, so there are only
> 2 dimensions, not 4.
>
>
>
>
>
>
>
>
>
> *Hans Yperman*
>
> Department IT
>
> *Vlaams Instituut voor de Zee vzw*
>
> InnovOcean Campus, Jacobsenstraat 1
> <https://www.google.com/maps/search/Jacobsenstraat+1+%0D%0A+8400+Oostende,+Belgi%C3%AB?entry=gmail=g>
>
> 8400 Oostende, België
> <https://www.google.com/maps/search/Jacobsenstraat+1+%0D%0A+8400+Oostende,+Belgi%C3%AB?entry=gmail=g>
>
>
>
> ☎+32 (0) 59 33 61 13
>
>  hans.yper...@vliz.be
>
> *www.vliz.be* <http://www.vliz.be>
>
>
>
>
>
> ___
> 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
>
> --
>
> --
>
> Jody Garnett
>
> --
>
> --
>
> 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
>


-- 
Ian Turton
___
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] ImageMosaic index not updating due to ClassCastException

2022-11-04 Thread Ian Turton
Is your source writable by the user that GeoServer is using? I think that
error usually means it is read only.

Ian

On Fri, 4 Nov 2022, 16:40 Andrew Chamberlain via Geoserver-users, <
geoserver-users@lists.sourceforge.net> wrote:

> Hi All,
>
> Has anyone recently seen this when adding a granule to an imagemosaic?
>
> java.lang.ClassCastException: org.geotools.jdbc.JDBCFeatureSource cannot
> be cast to org.geotools.data.simple.SimpleFeatureStore
> at
> org.geotools.gce.imagemosaic.catalog.AbstractGTDataStoreGranuleCatalog.removeGranules(AbstractGTDataStoreGranuleCatalog.java:391)
> at
> org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.removeGranules(GTDataStoreGranuleCatalog.java:37)
> ...
>
> As far as I can tell from here
> <https://docs.geotools.org/latest/javadocs/org/geotools/jdbc/JDBCFeatureSource.html>,
> the JDBCFeatureSource doesn't directly implement SimpleFeatureStore, so
> the above is understandable.  What's not clear is how this has come about.
>
> My datastore.properties references an existing PostGIS datastore:
>
> StoreName=postgres
> SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory
>
> Any clues or pointers would be very much appreciated.
>
> Thank you in advance,
>
> Andy
>
> Geoserver version: 2.20.4
> ___
> 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] Capabilities - Min/MaxScaleDenominator

2022-10-19 Thread Ian Turton
They should show up in WMS 1.3.x capabilities documents, they are encoded
as `ScaleHint` in 1,x. But on checking my local geoserver it doesn't seem
that they do.

Ian



On Wed, 19 Oct 2022 at 15:12, Peter Rushforth 
wrote:

> Hi,
>
> Hi, Is there ever a situation in which GeoServer will emit a
>  or  element in the Capabilities,
> or is this characteristic governed by SLD/SE rules on a per-feature basis
> only?
>
> Thanks!
> ___
> 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
>


-- 
Ian Turton
___
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] WPS Process SRS Output blocked to EPSG:4326

2022-09-23 Thread Ian Turton
GeoJSON is required to be in 4326 by the specification, we have just come
into conformance with that standard. I don't think there is any way to
force it back to the old way.

A solution if you need to use a better projection is to ask for your output
in GML instead

Ian

On Fri, 23 Sept 2022 at 16:29, Daniele Maggiolo via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi,
> I just updated GeoServer from version 2.18.2 to 2.21.1 and I noticed that,
> in the latest version of GeoServer, using the WPS gs:Query and
> gs:IntersectionFeatureCollection processes the SRS of the output geometries
> is EPSG: 4326.
>
> In version 2.18.2 that I used before, the coordinate system of the output
> geometry was instead that of the starting layer on which the process was
> performed, for example EPSG: 3003. Also, in the JSON of the output, in
> addition to the "features" property there was the "crs" property which
> contained the coordinate system information.
>
> I would need to output the same coordinate system as the starting layer
> (as was the case in the previous version of GeoServer), is this possible?
> If not, is there any workaround? I specify that the starting layer can have
> different coordinate systems and therefore I cannot force it but it must be
> taken dynamically.
>
>
>
> Thank you,
>
> Daniele
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] BUG: Rendering fails when labels are used

2022-09-22 Thread Ian Turton
Can you turn up logging to DEVELOPER, and send us the relevant part of the
log file *as text *we will also need a small data file to test against.

Ian

On Thu, 22 Sept 2022 at 07:42, Tomáš Bernát 
wrote:

> Hello,
>
>
>
> This is my first post to geoserver users list, so I hope that this is
> right way how to report bug.
>
>
>
> *GeoServer Version 2.20.1 (Java Rendering Engine:
> sun.java2d.pisces.PiscesRenderingEngine)*
>
>
>
>- If I set the SLD style with any label to line layer, then some tiles
>gives this rendering fail.
>- If I remove label (TextSymbolizer tag) from style, then every tiles
>are OK.
>-
>
>
>
> SLD style:
>
> 1
>
> 2
> 3 xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd
> "
>
> 4  xmlns="http://www.opengis.net/sld;
>
> 5  xmlns:ogc="http://www.opengis.net/ogc;
>
> 6  xmlns:xlink="http://www.w3.org/1999/xlink;
>
> 7  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
>
> 8  
>
> 9 default_line
>
> 10
>
> 11  
>
> 12 
>
> 13   10 MaxScaleDenominator>
>
> 14   
>
> 15  
>
> 16
> #00
>
> 171
>
> 18bevel
>
> 19square
>
> 20  
>
> 21   
>
> 22   
>
> 23  
>
> 24name ogc:PropertyName>
>
> 25  
>
> 26  
>
> 27
>
> 28  
>
> 29  
>
> 30
> #00
>
> 31  
>
> 32   
>
> 33 
>
> 34  
>
> 35
>
> 36 
>
> 37
>
>
>
> *GeoServer Version 2.15.1 (Java Rendering Engine:
> sun.java2d.marlin.DMarlinRenderingEngine)*
>
>- no rendering problem in this version
>
>
>
> Best regards
>
>
>
> Tomas Bernat
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Icons in KMZ outputs

2022-08-16 Thread Ian Turton
It looks like no one logged the bug,so no one fixed it.
Ian

On Tue, 16 Aug 2022, 16:12 Nil Silva,  wrote:

> Exporting to kmz doesn't add the icons to the exported kmz. It just has
> the wms.kml file and an empty images folder. The kml file has the image
> url. It looks like the same problem from the following mailing list
> messages.
>
>
>
> https://sourceforge.net/p/geoserver/mailman/message/37133697/
>
>
>
> From the looks of it it seems like a bug.
>
> Has it not been fixed or is this a problem on my end?
>
>
>
> Thanks,
>
> Nil Silva.
> ___
> 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] PostGIS column names to GML

2022-08-10 Thread Ian Turton
This the expected behaviour see https://gis.stackexchange.com/a/388397/79
for more details.

Ian

On Wed, 10 Aug 2022, 18:12 Tõnis Kärdi,  wrote:

> Hi,
>
> just accidentally stumbled upon this today. I might be missing something
> really obvious but the GML-based output formats for (none of the
> versions of) WFS seem to return columns with the names:
>
> - name
> - description
>
> while e.g. application/json returns them just fine. Turning up logging
> to GEOTOOLS_DEVELOPER shows that the query executed for GetFeature in
> the database is ok for GML outputs too (see end of this e-mail) although
> the "offending" columns are not returned in output.
>
> So I quess this is simply a GML shortcoming of "thou shalt not use these
> column names"?
>
> For example on localhost:5432
>
> create table fs (
>  oid serial not null,
>  geom geometry(point, 4326),
>  name text,
>  description text,
>  f_name text,
>  f_description text
> );
> alter table fs add constraint pk__fs primary key (oid);
>
> and then publishing the layer on GeoServer (2.21.1, using the kartofsa
> docker image), see basic config for layer at
>
> https://drive.google.com/drive/folders/110Py1Od8VZZvPQTtvfECXg_PPfYdRuej?usp=sharing
>
> This will have in DescribeFeatureType (and GetFeature aswell):
>
> a) for "application/json" all as expected:
>
> $ curl -o -
> "
> http://localhost:8080/geoserver/fs/ows?service=WFS=2.0.0=DescribeFeatureType=fs%3Afs=application/json
> "
> {"elementFormDefault":"qualified","targetNamespace":"https://localhost/fs
> ","targetPrefix":"fs","featureTypes":[{"typeName":"fs","properties":[{"name":"oid","maxOccurs":1,"minOccurs":1,"nillable":false,"type":"xsd:int","localType":"int"},{"name":"geom","maxOccurs":1,"minOccurs":0,"nillable":true,"type":"gml:Point","localType":"Point"},{"name":"name","maxOccurs":1,"minOccurs":0,"nillable":true,"type":"xsd:string","localType":"string"},{"name":"description","maxOccurs":1,"minOccurs":0,"nillable":true,"type":"xsd:string","localType":"string"},{"name":"f_name","maxOccurs":1,"minOccurs":0,"nillable":true,"type":"xsd:string","localType":"string"},{"name":"f_description","maxOccurs":1,"minOccurs":0,"nillable":true,"type":"xsd:string","localType":"string"}]}]}
>
> b) but for "application/gml+xml; version=3.2":
>
> $ curl -o -
> "
> http://localhost:8080/geoserver/fs/ows?service=WFS=2.0.0=DescribeFeatureType=fs%3Afs=application%2Fgml%2Bxml%3B%20version%3D3.2
> "
>  xmlns:xsd="http://www.w3.org/2001/XMLSchema;
> xmlns:fs="https://localhost/fs;
> xmlns:gml="http://www.opengis.net/gml/3.2;
> xmlns:wfs="http://www.opengis.net/wfs/2.0;
> elementFormDefault="qualified" targetNamespace="https://localhost/fs;>
>http://www.opengis.net/gml/3.2;
> schemaLocation="http://localhost:8080/geoserver/schemas/gml/3.2.1/gml.xsd
> "/>
>
>  
>
>  
> nillable="false" type="xsd:int"/>
> nillable="true" type="gml:PointPropertyType"/>
> nillable="true" type="xsd:string"/>
> nillable="true" type="xsd:string"/>
>  
>
>  
>
> type="fs:fsType"/>
> 
>
>
> c) and also for "text/xml; subtype=gml/3.1.1":
>
> $ curl -o -
> "
> http://localhost:8080/geoserver/fs/ows?service=WFS=2.0.0=DescribeFeatureType=fs%3Afs=text/xml;%20subtype=gml/3.1.1
> "
>  xmlns:xsd="http://www.w3.org/2001/XMLSchema;
> xmlns:fs="https://localhost/fs; xmlns:gml="http://www.opengis.net/gml;
> elementFormDefault="qualified" targetNamespace="https://localhost/fs;>
>http://www.opengis.net/gml;
> schemaLocation="
> http://localhost:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>
>
>  
>
>  
> nillable="false" type="xsd:int"/>
> nillable="true" type="gm

Re: [Geoserver-users] problem with Proxy Base URL as from version 2.19

2022-08-04 Thread Ian Turton
=3h4L6AkboZxuA3v%2FDfIqeUfGG81V9j4YdwSf8lVX2iI%3D=0>
>
>
>
> One is a 2.20.x, the other is a nightly build from the developer series.
>
> Unfortunately I don't know exactly how they are set up NGINX wise, but I
> can tell you the proxy base URL configured in GeoServer
>
> is simple, e.g. "https://gs-main.geosolutionsgroup.com/geoserver/
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgs-main.geosolutionsgroup.com%2Fgeoserver%2F=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616078904%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=OAIceeGqwA31utgeJ0rg%2Bj6bRYkSIoDvyj97Es0TM8g%3D=0>
> "
>
>
>
> Cheers
>
> Andrea
>
>
>
>
>
> On Tue, Aug 2, 2022 at 3:10 PM Frans Fierens  wrote:
>
> Hello,
>
> I do have the same problem as posted in:
> https://sourceforge.net/p/geoserver/mailman/message/37250476/
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fgeoserver%2Fmailman%2Fmessage%2F37250476%2F=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616078904%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=lMSYlFLrdouEL3yOCAX3aGUljHhtm%2Br6oaFm0Hn%2B3Ns%3D=0>
>
> When geoserver is behind a reverse proxy as nginx and when "Proxy Base
> URL" is not empty in the global setting,  it is not possible to access
> the web user interface anymore. I also did some tests, and this issue
> starts at version 2.19.
>
> This is very annoying.
>
> When "Proxy Base URL" is empty, you can login to the webui, but a wfs or
> wms?request=GetCapabilities will not be given the correct xlinks
> ( xlink:href="https://proxy_url_name/wfs;) but will show
> (xlink:href="http://servername:8080/geoserver/wfs (or wms)")
>
> When "Proxy Base URL" is not empty (https://proxy_url_name), then it is
> not possible to login via the webinterface.
>
> Is it possible to solve this?
>
> thanks.
>
> Frans Fierens
>
>
>
> ___
> 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#/
> <https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616078904%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=V8AbocMv5m1a2TDtBej8l7jtkOofoF6UTx7qsr6g7UA%3D=0>
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
> <https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616235146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=r4ngjfp0M0jcBsD6NyljXt9%2FWolldgjHmRcDuC9dgLs%3D=0>
>
> 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
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=A51cbTMA7wzs%2FFgIg%2BGKt%2Br%2BHwf%2B%2FOXh2Tjs6G%2BThhs%3D=0>
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users=05%7C01%7Cgraham.humphries%40stategrowth.tas.gov.au%7C44b6a4196cde468dde9808da74a3e9a2%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637950544616391380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=1FLCeedu3oo3zt7C8ze2LodKqQBxl2KZM68aaVkDkY0%3D=0>
>
>
>
>
> --
>

Re: [Geoserver-users] WPS gs:Aggregate and strMatches problem

2022-06-14 Thread Ian Turton
This should now be fixed in the nightly builds.

Ian

On Thu, 9 Jun 2022 at 17:53, emmexx  wrote:

> On 6/9/22 6:00 PM, Ian Turton wrote:
> > I went ahead a made a report -
> > https://osgeo-org.atlassian.net/browse/GEOT-7161
>
> Thank you.
>
> And thank you for the Like workaround but I'm not sure it can work in my
> case.
>
> maxx
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] DescribeFeatureType problem

2022-06-10 Thread Ian Turton
2.10.1 is very old, we are now shipping 2.21 where this issue (and many
others) is fixed.

Ian

On Fri, 10 Jun 2022 at 11:51, Giuseppe Falcone 
wrote:

> Hi to all,
> I have this behaviour on geoserver 2.10.1:
>
> getcapabilities request
> http://localhost/geoserver/demo/wfs?service=WFS=getcapabilities
> return this
>
> http://www.w3.org/2001/XMLSchema-instance;
> xmlns="http://www.opengis.net/wfs/2.0; xmlns:wfs="
> http://www.opengis.net/wfs/2.0; xmlns:ows="http://www.opengis.net/ows/1.1;
> xmlns:gml="http://www.opengis.net/gml/3.2; xmlns:fes="
> http://www.opengis.net/fes/2.0; xmlns:xlink="http://www.w3.org/1999/xlink;
> xmlns:xs="http://www.w3.org/2001/XMLSchema; xmlns:demo="demo.sit.it"
> version="2.0.0" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://
> localhost  /geoserver/schemas/wfs/2.0/wfs.xsd" updateSequence="111">
> 
> GeoServer Web Feature Service
> This is the reference implementation of WFS 1.0.0 and WFS
> 1.1.0, supports all WFS operations including Transaction.
> 
> WFS
> WMS
> GEOSERVER
> 
> WFS
> 2.0.0
> NONE
> NONE
> 
>
> So, i desume that I have to use version 2.0.0 for wfs request.
>
> I execute this describeFeatureType request, using typenames instead of
> typename because version = 2.0.0:
>
>
> http://localhost/geoserver/demo/wfs?service=WFS=palo_catenaria=2.0.0=DescribeFeatureType
>
> the result of this call is wrong; it returns all features and not only
> palo_catenaria (it doesn't understand typeNames attribute)
>
> If I execute previous call using typeName, the result is correct:
>
>
> http://localhost/geoserver/demo/wfs?service=WFS=palo_catenaria=2.0.0=DescribeFeatureType
>
> Why that?
> Thansk a lot
>
> Giuseppe
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread Ian Turton
I went ahead a made a report -
https://osgeo-org.atlassian.net/browse/GEOT-7161

Ian

On Thu, 9 Jun 2022 at 15:33, Ian Turton  wrote:

> That looks like a bug, the JDBCStore should not be passing strMatches to
> Postgres without modifying it or (more likely) handling it in code after
> the results are returned. Can you file a bug report at
> https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS including
> the WPS you are sending that fails and that log file extract.
>
> If you need a workaround in the mean time a Like filter should be able to
> give you the same functionality,
>
> Ian
>
> On Thu, 9 Jun 2022 at 15:02, emmexx  wrote:
>
>> On 6/9/22 12:19 PM, Ian Turton wrote:
>> > That looks like an SQL error message - can you turn on
>> > GEOTOOLS-DEVELOPER logging and try again, then post the relevant part of
>> > the log file - it should include the actual SQL being sent to the
>> database.
>> > And if you could mention the type of database and the version of
>> > GeoServer you are using that will help too,
>>
>> I Attach the relevant log.
>>
>> Build Information
>>
>> GeoServer Version
>> 2.19.0
>> Git Revision
>> 24c5d0b5a1b170f09e383ba35aae63f2ae9a2925
>> Build Date
>> 18-Mar-2021 14:59
>> GeoTools Version
>> 25.0 (rev d187663948b47212514991a71c0fc3021908b034)
>> GeoWebCache Version
>> 1.19.0 (rev 1.19.x/c3b897ec57838c49f4cbb325c1e9a7678f9edd98)
>>
>> PostgreSQL 9.2.24
>>
>> postgis_version()
>> 2.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
>>
>> I tested the query that you can find in the log and, of course, it
>> doesn't work because postgresql has not a strMatches function.
>> In my notes about filters for my tables I found the equivalent of
>> strMatches:
>>
>> Select * from myTable where myField ~ '.*\y(131)\y.*'
>>
>> But probably you already know that.
>>
>> Let me know if you need other info.
>>
>> Thank you
>>   maxx
>> ___
>> 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
>>
>
>
> --
> Ian Turton
>


-- 
Ian Turton
___
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] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread Ian Turton
That looks like a bug, the JDBCStore should not be passing strMatches to
Postgres without modifying it or (more likely) handling it in code after
the results are returned. Can you file a bug report at
https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS including the
WPS you are sending that fails and that log file extract.

If you need a workaround in the mean time a Like filter should be able to
give you the same functionality,

Ian

On Thu, 9 Jun 2022 at 15:02, emmexx  wrote:

> On 6/9/22 12:19 PM, Ian Turton wrote:
> > That looks like an SQL error message - can you turn on
> > GEOTOOLS-DEVELOPER logging and try again, then post the relevant part of
> > the log file - it should include the actual SQL being sent to the
> database.
> > And if you could mention the type of database and the version of
> > GeoServer you are using that will help too,
>
> I Attach the relevant log.
>
> Build Information
>
> GeoServer Version
> 2.19.0
> Git Revision
> 24c5d0b5a1b170f09e383ba35aae63f2ae9a2925
> Build Date
> 18-Mar-2021 14:59
> GeoTools Version
> 25.0 (rev d187663948b47212514991a71c0fc3021908b034)
> GeoWebCache Version
> 1.19.0 (rev 1.19.x/c3b897ec57838c49f4cbb325c1e9a7678f9edd98)
>
> PostgreSQL 9.2.24
>
> postgis_version()
> 2.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
>
> I tested the query that you can find in the log and, of course, it
> doesn't work because postgresql has not a strMatches function.
> In my notes about filters for my tables I found the equivalent of
> strMatches:
>
> Select * from myTable where myField ~ '.*\y(131)\y.*'
>
> But probably you already know that.
>
> Let me know if you need other info.
>
> Thank you
>   maxx
> ___
> 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
>


-- 
Ian Turton
___________
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] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread Ian Turton
 
> 
>
>   
>   
> 
>   
> 
> 
>   aggregationAttribute
>   
> length
>   
> 
> 
>   function
>   
> Sum
>   
> 
> 
>   singlePass
>   
> false
>   
> 
> 
>   groupByAttributes
>   
> surface
>   
> 
>  
>   groupByAttributes
>   
> width
>   
> 
>   
>   
> 
>   result
> 
>   
> 
>
> Now I get an error:
>
>  serviceInstance="https://bi.org/geoserver/ows?; version="1.0.0">
> 
> gs:Aggregate
> Aggregate
> 
> Computes one or more aggregation functions on a feature attribute.
> Functions include Count, Average, Max, Median, Min, StdDev, and Sum.
> 
> 
> 
> 
> 
> 
> 
> Process failed during execution java.io.IOExceptionERROR: function
> strmatches(character varying, unknown) does not exist Hint: No function
> matches the given name and argument types. You might need to add
> explicit type casts. Position: 108
> 
> 
> 
> 
> 
> 
>
> Why is that? Why does strMatches work with gs:CollectGeometries but not
> with gs:Aggregate?
>
> Any clue?
>
> thank you
> maxx
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] Geopackage queries

2022-06-01 Thread Ian Turton
On Tue, 31 May 2022 at 20:11, Olivier Gagnon  wrote:

> Hi,
>
> I'm facing very slow WFS queries with geopackage (sqlite).
>
> If I use PropertyIsBetween filter, Geoserver formats the SQL query
> including the filter in the where clause :
>
> WHERE ("ID" BETWEEN 1 AND 1000 AND "ID" IS NOT NULL )
>
> But when PropertyIsLike is used, geoserver doesn't add it to the SQL where
> clause thus preventing the use of the sqlite db engine and perform the
> filter itself which is very slow.
>
> I tried using a FTS5 virtual table but geoserver doesn't "see" it even
> with a sql view.
>
> Is there a way to indicate to geoserver to use db engine to perform the
> like clause ?
>

You would need to modify the GeoPkgFilterToSQL code (
https://github.com/geotools/geotools/blob/main/modules/plugin/geopkg/src/main/java/org/geotools/geopkg/GeoPkgFilterToSQL.java)
to handle that construct, though I would have expected the default JDBC
class (
https://github.com/geotools/geotools/blob/494d2e0a7bd004d7fb7c6d758eb6a3597acda9fc/modules/library/jdbc/src/main/java/org/geotools/data/jdbc/FilterToSQL.java#L514)
to handle it.

Can you provide an example of the query that is not working?

Ian



> Thanks
>
> Envoyé à partir d’Outlook <http://aka.ms/weboutlook>
> ___
> 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
>


-- 
Ian Turton
___
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.21.0 Release

2022-05-25 Thread Ian Turton
The GeoServer team is pleased to announce the release of the latest version
of GeoServer 2.21.0 which is made in conjunction with GeoTools 27.0 and
GeoWebCache 1.21.0. There are many improvements and fixes in this new
version and users are encouraged to upgrade as soon as possible.

Full details can be found at
https://geoserver.org/announcements/2022/05/24/geoserver-2-21-0-released.html
and the war can be downloaded from https://geoserver.org/release/stable/

Ian


-- 
Ian Turton
___
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] [EXTERN!]: GeoServer 2.21-RC available for testing!

2022-05-12 Thread Ian Turton
The GSR extension continues to be a community module which is provided on a
completely unsupported model. It gets even less support than a standard
extension and is not tested when new code is added to geoserver so there is
every chance that it is broken by recent updates. If you are unable to fix
it yourself you will need to find a developer who can fix it. If it is
essential to your company then you will be able to determine how much the
work is worth to you. Or you can continue to run an out of date and
insecure version, after telling the world about it.

Ian

On Thu, 12 May 2022, 14:46 Nicolas Matzick,  wrote:

> Hi,
> I upgraded to 2.21-RC but I still have the error on startup when using the
> GSR plugin (essential for me):
>
> 12 002 13:02:52 WARN   [support.XmlWebApplicationContext] - Exception
> encountered during context initialization - cancelling refresh attempt:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'gsrDispatcher' defined in URL [
> jar:file:/home/nico/gs.bak-2.21-RC/webapps/geoserver/WEB-INF/lib/gs-gsr-2.21-SNAPSHOT.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> javax.xml.stream.FactoryConfigurationError: Provider for
> javax.xml.stream.XMLOutputFactory cannot be found
> 12 002 13:02:52 WARN   [support.DisposableBeanAdapter] - Destroy method
> 'destroy' on bean with name 'gwcMemoryBlobStore' threw an exception:
> java.util.concurrent.RejectedExecutionException: Task
> java.util.concurrent.FutureTask@f837c11 rejected from
> java.util.concurrent.ThreadPoolExecutor@1aca6dc3[Terminated, pool size =
> 0, active threads = 0, queued tasks = 0, completed tasks = 1]
> 12 002 13:02:52 WARN   [support.DisposableBeanAdapter] - Invocation of
> destroy method failed on bean with name 'geoServerLoader':
> org.springframework.beans.factory.BeanCreationNotAllowedException: Error
> creating bean with name 'geoWebCacheExtensions': Singleton bean creation
> not allowed while singletons of this factory are in destruction (Do not
> request a bean from a BeanFactory in a destroy method implementation!)
> 12 002 13:02:52 ERROR  [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'gsrDispatcher' defined in URL [
> jar:file:/home/nico/gs.bak-2.21-RC/webapps/geoserver/WEB-INF/lib/gs-gsr-2.21-SNAPSHOT.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> javax.xml.stream.FactoryConfigurationError: Provider for
> javax.xml.stream.XMLOutputFactory cannot be found
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
> ...
>
>
> So I still have to use a 2.18.x version.
> I would appreciate if anyone has an idea how to fix it.
> Thanks,
> Nico
> ___
> 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] REST API importer: specify table to load data

2022-05-09 Thread Ian Turton
I'm not sure that you need to involve geoserver in this, Ogr2ogr would be
quicker and easier to append a shapefile to a database. The GeoServer rest
api is for creating data stores and layers etc not individual data
management.

Alternatively you might be able to use the importer extension to do this
but I've not used that in anger


Ian

On Mon, 9 May 2022, 17:25 Giuseppe Falcone, 
wrote:

> Hi to all
> I want with geoserver REST API put a shapefile into an existing postgis
> table.
> I know how to load a shapefile into a postgis database, but I don't know
> how I could indicate a specific table in which append data.
> I Have a shapefile named tableA.shp; it's possible put it's data into a
> postgis table named tableB?
> Thanks a lot
>
> Giuseppe
>
> ___
> 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] Cascading WMTS from an Esri Server throws an error on preview

2022-05-03 Thread Ian Turton
And now I've tried in 2.20.4 and again all is fine.

So it may be something in 2.18.x - worth upgrading if you can.

Ian


On Tue, 3 May 2022 at 16:05, Ian Turton  wrote:

> Actually, I've just had a quick try with 2.19.2 (all I have with me)
> during my coffee break and it works fine - so I'll be interested to see
> what happens in 2,20
>
> Ian
>
> On Tue, 3 May 2022 at 16:02, Ian Turton  wrote:
>
>> can you turn logging up to GeoTools developer and then try again.
>>
>> Ian
>>
>> On Tue, 3 May 2022 at 14:57, Cliff Patterson 
>> wrote:
>>
>>> I am trying to cascade a WMTS layer from an Esri Server using Geoserver
>>> 2.18.2. No problems setting up the store and publishing the layer, but the
>>> layer previews with the error:
>>>
>>> "Error rendering coverage on the fast path
>>> java.lang.NullPointerException"
>>>
>>> Here's the get capabilities
>>>
>>> https://gis.rvca.ca/server/rest/services/RVCA_DRAPE2019_Cache/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
>>>
>>> Note that the layer "RVCA_DRAPE2019_Cache" loads fine as WMTS in QGIS.
>>>
>>> Any ideas on how to fix this?
>>>
>>> Cheers,
>>> Cliff
>>> ___
>>> 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
>>>
>>
>>
>> --
>> Ian Turton
>>
>
>
> --
> Ian Turton
>


-- 
Ian Turton
___
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] Cascading WMTS from an Esri Server throws an error on preview

2022-05-03 Thread Ian Turton
Actually, I've just had a quick try with 2.19.2 (all I have with me) during
my coffee break and it works fine - so I'll be interested to see what
happens in 2,20

Ian

On Tue, 3 May 2022 at 16:02, Ian Turton  wrote:

> can you turn logging up to GeoTools developer and then try again.
>
> Ian
>
> On Tue, 3 May 2022 at 14:57, Cliff Patterson 
> wrote:
>
>> I am trying to cascade a WMTS layer from an Esri Server using Geoserver
>> 2.18.2. No problems setting up the store and publishing the layer, but the
>> layer previews with the error:
>>
>> "Error rendering coverage on the fast path
>> java.lang.NullPointerException"
>>
>> Here's the get capabilities
>>
>> https://gis.rvca.ca/server/rest/services/RVCA_DRAPE2019_Cache/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
>>
>> Note that the layer "RVCA_DRAPE2019_Cache" loads fine as WMTS in QGIS.
>>
>> Any ideas on how to fix this?
>>
>> Cheers,
>> Cliff
>> ___
>> 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
>>
>
>
> --
> Ian Turton
>


-- 
Ian Turton
___
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] Cascading WMTS from an Esri Server throws an error on preview

2022-05-03 Thread Ian Turton
can you turn logging up to GeoTools developer and then try again.

Ian

On Tue, 3 May 2022 at 14:57, Cliff Patterson  wrote:

> I am trying to cascade a WMTS layer from an Esri Server using Geoserver
> 2.18.2. No problems setting up the store and publishing the layer, but the
> layer previews with the error:
>
> "Error rendering coverage on the fast path
> java.lang.NullPointerException"
>
> Here's the get capabilities
>
> https://gis.rvca.ca/server/rest/services/RVCA_DRAPE2019_Cache/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
>
> Note that the layer "RVCA_DRAPE2019_Cache" loads fine as WMTS in QGIS.
>
> Any ideas on how to fix this?
>
> Cheers,
> Cliff
> ___
> 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
>


-- 
Ian Turton
___
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] Odd rendering of MultiLineString

2022-04-29 Thread Ian Turton
With out seeing the data and the sld it's hard to say exactly, but it
sounds as if you've used a PolygonSymbolizer instead of a LineSymbolizer to
style the geometry.

Ian

On Thu, 28 Apr 2022 at 18:44,  wrote:

> I am hitting a problem with the rendering of a MultiLineString (MLS) and
> hope someone can
>
> 1) Determine if it is a bug that should be reported, and
>
> 2) Provide any options for getting the desired result
>
> The issue is simple - I have a MLS with three lines - A->B, A->C, and A->D
>
> When rendered with the standard line SLD this manifests as a collection
> that include A->B, (B->A)**, A->C, (C->A)**, A->D, (D->A)**
>
> where the items tagged with ** are straight lines between these points,
> and should not really be present in my opinion.  Why is the rendering
> adding these 'end-to-start' connectors?  Is there a way to tell it not to?
>
> My current workaround is an overly complex SQL query that splits the MLS
> into its respective lines - so in this case the result is three rows
> with the respective individual Lines (and all other columns from the DB
> the same).
>
>
>
> ___
> 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
>


-- 
Ian Turton
___
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] get_resource_by_url

2022-04-27 Thread Ian Turton
On Wed, 27 Apr 2022 at 12:38, Liyuneh Gebre  wrote:

> Hi all,
> I couldn't find the *get_resource_by_url*  method in the geoserver_restconfig 
> while it was available in gsconfig,
> is there any alternate method to *get_resource_by_url* in 
> geoserver_restconfig ?
>
>

do you mean http://localhost:8080/geoserver/rest/resource ?

Otherwise you can check the code of geoserver_restconfig

Ian
___
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] LDAP past version 15.2

2022-03-31 Thread Ian Turton
see http://geoserver.org/issues/ for details

Its no guarantee that it will be fixed but it will save it from getting lost


Ian

On Thu, 31 Mar 2022 at 12:05, Brandon M  wrote:

> No I didn't do anything with an issue, sorry I wasn't aware that was
> an option.  I could create or submit one if that is the best way to
> get this to someone with the ability to fix the problem.   If so, how
> would I go about doing that?
>
> Thanks,
> Brandon
>
> On Thu, Mar 31, 2022 at 6:45 AM Ian Turton  wrote:
> >
> > Did you raise an issue about this so that the developers would see it?
> >
> > LDAP tends not to be something any one (I know) plays with in their
> spare time so you might also want to raise it with a commercial support
> supplier.
> >
> > Ian
> >
> > On Thu, 31 Mar 2022 at 11:37, Brandon M  wrote:
> >>
> >> Hi,
> >>
> >> I ran into this same problem last year when we upgraded GeoServer from
> >> 2.12.2 to 2.19.2.  Here's the thread I opened on the issue back then:
> >>
> >>
> https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/CA%2B8gfLZ_55Vi%3Ds65PynNh34ScUFc4aJjFWFuXYFdQbP%2BqBFBXg%40mail.gmail.com/#msg37271563
> >>
> >> Our discussions didn't produce any results, so I ended up going with
> >> this hack after we upgraded to GeoServer 2.19.2, removed these two
> >> jars:
> >> gs-sec-ldap-2.19.2.jar
> >> gs-web-sec-ldap-2.19.2.jar
> >>
> >> Then installing the related jars from the last working version, 2.15.2:
> >> gs-sec-ldap-2.15.2.jar
> >> gs-web-sec-ldap-2.15.2.jar
> >>
> >> This got things working for our use and hasn't caused any issues.
> >>
> >> FYI, there was another person in our same boat:
> >>
> >>
> https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/d2bb87fd-7a89-0aa5-7a3f-e975aaeba967%40posteo.de/
> >>
> >> Thanks,
> >> Brandon
> >>
> >>
> >>
> >> On Wed, Mar 30, 2022 at 5:58 PM Brad Hards  wrote:
> >> >
> >> > On Wednesday, 30 March 2022 10:29:35 PM AEDT you wrote:
> >> > > Indeed, I only need to bind the user to check the user identity,
> which will
> >> > > always be considered as an administrator of GeoServer. If we need
> to have a
> >> > > dedicated group into LDAP to do so, I will see if it is possible.
> >> >
> >> > If you enable the "Bind user before searching for groups" checkbox,
> it looks
> >> > like the provided user (i.e. whoever is logging in) will be used for
> the bind
> >> > operation. So you don't need to provide the credentials in the
> authentication
> >> > configuration for that case.
> >> >
> >> > I didn't actually try it, but there is a test that verifies the
> behaviour.
> >> >
> >> > Brad
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > ___
> >> > 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
> >
> >
> >
> > --
> > Ian Turton
>


-- 
Ian Turton
___
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] LDAP past version 15.2

2022-03-31 Thread Ian Turton
Did you raise an issue about this so that the developers would see it?

LDAP tends not to be something any one (I know) plays with in their spare
time so you might also want to raise it with a commercial support supplier.

Ian

On Thu, 31 Mar 2022 at 11:37, Brandon M  wrote:

> Hi,
>
> I ran into this same problem last year when we upgraded GeoServer from
> 2.12.2 to 2.19.2.  Here's the thread I opened on the issue back then:
>
>
> https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/CA%2B8gfLZ_55Vi%3Ds65PynNh34ScUFc4aJjFWFuXYFdQbP%2BqBFBXg%40mail.gmail.com/#msg37271563
>
> Our discussions didn't produce any results, so I ended up going with
> this hack after we upgraded to GeoServer 2.19.2, removed these two
> jars:
> gs-sec-ldap-2.19.2.jar
> gs-web-sec-ldap-2.19.2.jar
>
> Then installing the related jars from the last working version, 2.15.2:
> gs-sec-ldap-2.15.2.jar
> gs-web-sec-ldap-2.15.2.jar
>
> This got things working for our use and hasn't caused any issues.
>
> FYI, there was another person in our same boat:
>
>
> https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/d2bb87fd-7a89-0aa5-7a3f-e975aaeba967%40posteo.de/
>
> Thanks,
> Brandon
>
>
>
> On Wed, Mar 30, 2022 at 5:58 PM Brad Hards  wrote:
> >
> > On Wednesday, 30 March 2022 10:29:35 PM AEDT you wrote:
> > > Indeed, I only need to bind the user to check the user identity, which
> will
> > > always be considered as an administrator of GeoServer. If we need to
> have a
> > > dedicated group into LDAP to do so, I will see if it is possible.
> >
> > If you enable the "Bind user before searching for groups" checkbox, it
> looks
> > like the provided user (i.e. whoever is logging in) will be used for the
> bind
> > operation. So you don't need to provide the credentials in the
> authentication
> > configuration for that case.
> >
> > I didn't actually try it, but there is a test that verifies the
> behaviour.
> >
> > Brad
> >
> >
> >
> >
> >
> > ___
> > 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
>


-- 
Ian Turton
___
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] Enable TLS for geoserver.org

2022-03-01 Thread Ian Turton
Our DNS record may not be set correctly, as it has recently changed
ownership.

Ian

On Tue, 1 Mar 2022 at 13:38, Jürrens, Eike Hinderk 
wrote:

> Dear Ian,
>
> as far as I understood github's documentation, using custom domains is
> supported:
>
>  > All GitHub Pages sites, including sites that are correctly configured
> with a custom domain, support HTTPS and HTTPS enforcement.
>
> https://docs.github.com/en/articles/about-custom-domains-and-github-pages
>
> Maybe, you are hitting this well known error:
>
>
> https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https#troubleshooting-certificate-provisioning-certificate-not-yet-created-error
>
> Kind regards,
> Eike
>
> On 01.03.22 14:29, Ian Turton wrote:
> > Currently we don't have a certificate for geoserver.org (Unavailable for
> > your site because a certificate has not yet been issued for your domain (
> > geoserver.org))
> >
> > As it has no secure or important info that someone might fake it isn't a
> > high priority to fix currently but we'll get to it sometime
> >
> > Ian
> >
> > On Tue, 1 Mar 2022 at 09:40, Jürrens, Eike Hinderk <
> e.h.juerr...@52north.org>
> > wrote:
> >
> >> Dear Community,
> >>
> >> as I am not able to create an issue in the website repo [0] and I don't
> >> want to create an account for this one issue in Jira, I am posting it
> here.
> >>
> >> Please enable TLS for the website goeserver.org. It's only one click
> >> following githubs according documentation [1].
> >>
> >> Kind regards,
> >> Eike
> >>
> >> Links
> >> [0] https://github.com/geoserver/geoserver.github.io
> >> [1]
> >>
>


-- 
Ian Turton
___
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] Enabled TLS for geoserver.org

2022-03-01 Thread Ian Turton
Currently we don't have a certificate for geoserver.org (Unavailable for
your site because a certificate has not yet been issued for your domain (
geoserver.org))

As it has no secure or important info that someone might fake it isn't a
high priority to fix currently but we'll get to it sometime

Ian

On Tue, 1 Mar 2022 at 09:40, Jürrens, Eike Hinderk 
wrote:

> Dear Community,
>
> as I am not able to create an issue in the website repo [0] and I don't
> want to create an account for this one issue in Jira, I am posting it here.
>
> Please enable TLS for the website goeserver.org. It's only one click
> following githubs according documentation [1].
>
> Kind regards,
> Eike
>
> Links
> [0] https://github.com/geoserver/geoserver.github.io
> [1]
>
> https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https
> --
> Jürrens, Eike Hinderk
> 52°North Spatial Information Research GmbH
> Martin-Luther-King-Weg 24
> 48155 Münster, Germany
> Fon: +49-(0)-251–396371-33
> Fax: +49-(0)-251–396371-11
> https://52north.org/
> Twitter: @FiveTwoN
> Managing Directors:
> Dr. Benedikt Gräler, Dr. Simon Jirka, Matthes Rieke
> Local Court Muenster HRB 10849
> ___
> 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
>


-- 
Ian Turton
___
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] Notifications about vulnerabilities

2022-02-28 Thread Ian Turton
On Mon, 28 Feb 2022 at 15:59, Watermeyer, Andreas <
andreas.waterme...@its-digital.de> wrote:

> Dear GeoServer community,
>
>
>
> I have security related questions:
>
>
>
> * Is there a procedure by which operators of GeoServer installations can
> learn of security vulnerabilities that require updating GeoServer?
>
> * Is there a list of security-related bug fixes made with a release?
>

Not currently


>
>
> If nothing exists:
>
>
>
> * Would it be possible to introduce something like a security-announcement
> mailing list?
>
> * Would it be possible to list fixed security vulnerabilities per release.
> For example, Tomcat has a corresponding list, which I find very helpful:
> https://tomcat.apache.org/security-9.html
>
>
Only if someone with spare time or money steps up to introduce it.

Ian
___
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] Error writing metadata / Capabilities_1_3_0_Transformer.java

2022-02-16 Thread Ian Turton
If you turn logging up to developer you should see the underlying
exception, it could be permissions or a bad XML name for a layer possibly.

Ian


On Wed, 16 Feb 2022 at 14:50, Neuvonen Samuli 
wrote:

> Dear all,
>
>
>
> The log file of our Geoserver is currently flooding with warnings of type
>
>
>
> WARN [wms.capabilities] - Error writing metadata; skipping layer:
> finnsmia_absoluteValue
>
> java.lang.RuntimeException: Error while committing XML elements; specific
> element was: Start(Layer, org.xml.sax.helpers.AttributesImpl@43a3c239)
>
> at
> org.geotools.xml.transform.TransformerBase$TranslatorSupport.commit(TransformerBase.java:697)
>
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.doHandleLayer(Capabilities_1_3_0_Transformer.java:937)
>
> . . .
>
>
>
> Near the end of the long error message there is a line
>
>
>
> Caused by: java.io.IOException: Broken pipe
>
>
>
> which makes me wonder, if this is an issue with insufficient rights in
> some folder or something. Where exactly is Geoserver trying to write
> something in this case? I did try to look at the code a bit, but it didn’t
> seem clear.
>
>
>
> Some details: We use daily updating image mosaics with time dimension. The
> catalog for the rasters is in a PostgreSQL database and we use a
> JNDI-connection with SELECT-rights. It seems to me that the capabilities
> file on the WMS interface (by GetCapabilities-request) is up-to-date and
> contains the correct TIME-dimension values, so whatever this problem is, it
> doesn’t affect the service itself a whole lot.
>
>
>
> Thanks for any tips,
>
> Sam
> ___
> 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
>


-- 
Ian Turton
___________
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] [EXTERNAL] Re: GeoServer 2.20.2 Blobstore Error

2022-02-08 Thread Ian Turton
On Tue, 8 Feb 2022 at 16:05, Paul Lewis  wrote:

> Working now and your suggestion was part of the solution.
> I had tried the tomcat service change but on double checking I had
> ReadWritePaths=/geoserver-blobstore
>
> instead of
>
> ReadWritePaths=/geoserver-blobstore/
>
> missing slash at end.
> It didn't work though on restart.
>
> I then checked the other writable directories mentioned in that file and
> set the blobstore target to be the same as follows:
>
> drwxr*w*xr-x   3 root *tomcat*28 Feb  8 11:02 geoserver-blobstore
>
>
You could probably get away with changing the owner to tomcat rather than
giving group write but it should work either way

Ian
___
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.20.2 Blobstore Error

2022-02-08 Thread Ian Turton
It could be a tomcat 9 thing - see
https://en-wiki.ikoula.com/en/Allow_a_Tomcat9_webapp_to_read/write_to_a_folder
for a possible solution

Ian
___
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 is not starting while running startup batch script

2022-01-10 Thread Ian Turton
ind(Unknown Source)
> at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
> at
> org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339)
> at
> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307)
> at
> org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
> at
> org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at org.eclipse.jetty.server.Server.doStart(Server.java:395)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
> at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
> ... 9 more
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.jetty.start.Main.invokeMain(Main.java:220)
> at org.eclipse.jetty.start.Main.start(Main.java:486)
> at org.eclipse.jetty.start.Main.main(Main.java:77)
> Caused by: java.security.PrivilegedActionException:
> java.net.BindException: Address already in use: bind
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
> ... 7 more
> Caused by: java.net.BindException: Address already in use: bind
> at sun.nio.ch.Net.bind0(Native Method)
> at sun.nio.ch.Net.bind(Unknown Source)
> at sun.nio.ch.Net.bind(Unknown Source)
> at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
> at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
> at
> org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339)
> at
> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307)
> at
> org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
> at
> org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at org.eclipse.jetty.server.Server.doStart(Server.java:395)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
> at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
>     ... 9 more
>
> Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
>java -jar $JETTY_HOME/start.jar --help  # for more information
>
> 
>
>
> ___
> 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] [EXTERN!]: LOG4J Version in GeoServer

2022-01-10 Thread Ian Turton
Currently there are no plans to change the logging framework. The question
is how much do you and your customers want to make this change happen? Even
estimating the cost of the update is probably several days work, so until
we get funding to start looking there isn't even a plan.

There is a chance we can use OSGeo funds to look at the problem but that
still won't happen unless someone organises it but we are always happy to
receive volunteers.

Ian

On Mon, 10 Jan 2022, 16:34 Ron Lindhoudt via Geoserver-users, <
geoserver-users@lists.sourceforge.net> wrote:

> Our customers are demanding to support the latest version of log4j in
> Geoserver, I mean the latest 2.* without vulnerabilities because log4j 1.*
> is EOL.
> On the Geoserver website I found this (13-12-2021):
>
> We are also aware that Log4J 1.2.17 is an “End Of Life” (EOL) project, and
> are actively looking for funding to perform an upgrade to more recent
> versions of them. All new logging libraries have a different API and a
> different configuration file layout, with potential backwards compatibility
> issues, so this will be likely done on newer versions of GeoServer (2.21.x).
>
> What is the status at this moment?
>
> Thanks,
> Ron
> On Monday, 20 December 2021, 11:38:54 CET, Mark Prins 
> wrote:
>
>
> On 19-12-2021 11:11, Michael Steigemann via Geoserver-users wrote:
> > Hello!
> > Thank you very much for providing the geoserver.war:
> > log4j-1.2.17.norce.jar.
> > I have integrated into geoserver and ran a OWASP dependency check (
> > https://jeremylong.github.io/DependencyCheck/dependency-check-cli/index.html
>
> > <
> https://jeremylong.github.io/DependencyCheck/dependency-check-cli/index.html
> >)
> >
> > The library is still classified as critical:
> > geoserver.war: log4j-1.2.17.norce.jar
> > cpe:2.3:a:apache:log4j:1.2.17:*:*:*:*:*:*:*
> > pkg:maven/log4j/log4j@1.2.17-norceCRITICAL2Highest27
> >
> > Do you think it is possible and a good idea to register the library as
> > "safe" in the central database?
>
> No, this is not a new release but the same release with some files
> removed and a way of preventing people from shooting themselves in the
> foot because they can no longer configure the culprit appenders.
>
> After inspection of the new jar file you can add a suppression for false
> positives like
>
> 
> 
> 
> 
> ^log4j:log4j:1\.2\.17$
> CVE-2019-17571
> CVE-2020-9488
> CVE-2021-4104
> 
>
>
>
>
>
> ___
> 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 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 REST api status

2021-12-17 Thread Ian Turton
On Fri, 17 Dec 2021 at 10:42, Jan Hoskens  wrote:

> When using Geoserver in a containerized environment, there should be some
> way to monitor the application. Simple liveness would be, can I access the
> server throught REST api and get a 200 OK.
>
> But that is not all. GeoServer is using a DB and perhaps more external
> resources, or it might have different modules/workspaces that are needed.
> Therefore it should be able to report that everything is available and the
> complete system is usable. This in order to monitor if the container is up
> and running, but also able to respond to queries.
>
> The status REST api looked a step in that direction, but the response did
> not give any other information than a URL that is even not available when
> used. The documentation is telling another story (out of sync with
> implementation?)  and shows more information. Now with the previous comment
> about hard coded json, I get the feeling that GeoServer is not completely
> ready to run in a containerized environment.
>
>
I said nothing about hard coded JSON, I meant that the available and
enabled flags are always going to be `true` if the module is present (at
least in all the modules that I updated to appear in that list) - I think
that you are looking for something that is not expected to be in the status
API, for databases you need to be looking in the datastores section rather
than the GeoServer status.

Ian

-- 
Ian Turton
___
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


  1   2   3   4   5   6   >