[Geoserver-users] getMap with Clip does not update with Time

2022-02-18 Thread Bessette-Halsema, Dominique E via Geoserver-users
Hello

I'm using a getMap call to a layergroup.  If I don't add the "clip" vendor 
parameter, I can see my the data changing with the time dimension.  If I add 
the "clip" the getMap call stops changing with the time dimension and it looks 
like it returns the data with the default time.  I'm using GeoServer 2.18.  Has 
this been looked at?  The comment in the wiki page stated "Currently this 
parameter is ignored for layers with Complex features." Is Jiffle styling a 
complex feature?  Is there a better way to crop or add a mask to a grid?

Example Call:
/geoserver/wms?SERVICE=WMS=GetMap
=1.1.1=image/png=EPSG:4326=2235=1077
=-147.392578125,-69.163979270242,245.47851562499,120.15242697976
=2022-02-18T18:00:00.000Z=true=false
=2.0=TestGrid.Cropped.386
=POLYGON+%28%28102.925+4.925%2C+102.925+55.175%2C+150.175+55.175%2C+150.175+4.925%2C+102.925+4.925%29%29

Dominique Bessette

___
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] Unable to add PostGIS store (via pgBouncer) in Geoserver (FATAL: unsupported startup parameter: extra_float_digits)

2022-02-18 Thread Jibran Khan
Hello,

I am on Ubuntu 20.04 LTS.

I have a PostgreSQL 12 database up and running behind pgBouncer. I can
connect to the postgres database via PSQL and pgAdmin that are connected to
the pgBouncer port instead of the "usual" postgres port. Things seem to be
ok here.

I tried to add a new PostGIS store in my Geoserver 2.21.0 (via pgbouncer).
I am getting an error: "Error creating data store, check the parameters.
Error message: Unable to obtain connection: Cannot create
PoolableConnectionFactory (FATAL: unsupported startup parameter:
extra_float_digits)".

I tried to google but could not find relevant information to sort this
out. *Can
someone help me to fix this issue?*

The pgBouncer Config, among other things, has the followings:
###
[databases]
my_db host = 127.0.0.1 port = 5432 database = my_db
[pgbouncer]
listen_adr = localhost
listen_port = 5433
###

I tried both localhost and 127.0.0.1 while adding a PostGIS store, but it
did not work. Also, I didn't change "max_connections", etc. options in
Geoserver.

Here is what Geoserver CMD terminal log looks like (not sure, if it is a
Ubuntu issue, postgres, pgbouncer or geoserver):













































































































































































*WARN [data.store] - Error obtaining new data storejava.io.IOException at
org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:667) at
org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:34)
at
org.geoserver.web.data.store.DataAccessNewPage.onSaveDataStore(DataAccessNewPage.java:90)
at
org.geoserver.web.data.store.AbstractDataAccessPage$1.onSubmit(AbstractDataAccessPage.java:168)
at
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:111)
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:218)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1312)
at org.apache.wicket.markup.html.form.Form.process(Form.java:976) at
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797) at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:174)
at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:166)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at