Re: [Geoserver-users] Fwd: Error when publishing a layer of store type GeoPackage

2020-10-21 Thread Russell Grew
Hi Mohammed, I think it doesn’t like the coordinates you have in your data layer. You may be able to get it to work by declaring the coordinate system and “compute from SRS bounds” rather than “compute from data”. Or you fix whatever is wrong with the geopackage. Maybe you have multisurfaces

[Geoserver-users] KML ouptut Time Ranges

2020-10-21 Thread Jason Newmoyer
I am trying to get time ranges to work for a time enabled KML output following this doc: https://docs.geoserver.org/stable/en/user/services/wms/googleearth/tutorials/time/time.html#tutorials-time It seems the example is missing: here is what I'm trying, but its just putting the begin time, not

[Geoserver-users] Fwd: Error when publishing a layer of store type GeoPackage

2020-10-21 Thread Mohammed Alnajdi
Greeting Everyone, I am using the GeoServer with GeoNode implementation using Docker. I was trying to publish a layer from a GeoPackage Store type and when i click on Compute from data or save the layer i get this error message aused by: java.io.IOException: Error occured calculating bounds for

Re: [Geoserver-users] Icons in KMZ outputs

2020-10-21 Thread Jason Newmoyer
Yeah, it looks like KmlEncodingContext.iconStyles never gets set to anything. Log a bug? Jason Newmoyer Newmoyer Geospatial Solutions 843.606.0424 ja...@newmoyergeospatial.com On Wed, Oct 21, 2020 at 1:03 PM Andrea Aime wrote: > Hi Jason, > looking at the code it would seem it's trying to

[Geoserver-users] Time enabled KML output

2020-10-21 Thread Jason Newmoyer
I'm wondering if the functionality described here: https://docs.geoserver.org/latest/en/user/services/wms/googleearth/features/kmlheighttime.html#time can be controlled via a query parameter to the request. Something like =true so that we aren't forced into it when the freemarker template is

[Geoserver-users] REST API - get specific user

2020-10-21 Thread Quinton Smith
Hi everyone, I'm sure I'm missing something obvious but... I can: * get a list of users - GET /rest/security/usergroup/users * create a user - POST {user_body} /rest/security/usergroup/users * update a user - POST {user_body} /rest/security/usergroup/user/my_user * delete a user - DELETE

Re: [Geoserver-users] How to apply different styles for different geometry types in GeometryCollection?

2020-10-21 Thread Andrea Aime
On Wed, Oct 21, 2020 at 9:50 AM Andrea Aime wrote: > Long story short, you need three separate rules anyways > Actually wait, no, given GeoServer's ability to accept Functions in the geometry property of each symbolizer (not part of the standard btw), one rule with three symbolizers, each using

Re: [Geoserver-users] How to apply different styles for different geometry types in GeometryCollection?

2020-10-21 Thread Andrea Aime
On Tue, Oct 20, 2020 at 11:33 PM Jody Garnett wrote: > Caught up with the JTS team. > > There is a postgis function > https://postgis.net/docs/ST_CollectionExtract.html that covers this > concept. > > There are a couple implementations in JTS, GeometryExtracter is close but > only can do one

Re: [Geoserver-users] build failure on web.xml validation

2020-10-21 Thread Ian Turton
Whoops, sorry about changing the port number - that was not supposed to happen either. Ian On Wed, 21 Oct 2020 at 14:42, Andrea Aime wrote: > On Wed, Oct 21, 2020 at 3:19 PM Jody Garnett > wrote: > >> Have PR build failure on master here: geoserver/geoserver#4541 >> >> That is not related to

[Geoserver-users] build failure on web.xml validation

2020-10-21 Thread Jody Garnett
Have PR build failure on master here: geoserver/geoserver#4541 That is not related to the very small PR contents. Trying to determine if: a) the repo or build server is failing; or b) a prior merge to master is in error I note Andrea has just removed the DTD reference here:

Re: [Geoserver-users] build failure on web.xml validation

2020-10-21 Thread Andrea Aime
On Wed, Oct 21, 2020 at 3:19 PM Jody Garnett wrote: > Have PR build failure on master here: geoserver/geoserver#4541 > > That is not related to the very small PR contents. Trying to determine if: > a) the repo or build server is failing; or > b) a prior merge to master is in error > > I note

Re: [Geoserver-users] Icons in KMZ outputs

2020-10-21 Thread Andrea Aime
Hi Jason, looking at the code it would seem it's trying to store the icons in the KMZ: https://github.com/geoserver/geoserver/blob/6ad2b678741ef4bf194db38ef13159e46a0a942c/src/kml/src/main/java/org/geoserver/kml/KMLMapResponse.java#L122 If it's not working, I'd have a go with a debugger in there,

[Geoserver-users] Icons in KMZ outputs

2020-10-21 Thread Jason Newmoyer
Is there a way to have the icons specific via SLD ExternalGraphics, be packaged into the KMZ file output from the WMS? Perhaps a setting, or something in the SLD that would make it do this? We have a situation where the URLs to the icons are accessible by the server, but not by clients, so this