Matteo,
I do not know why the projection is failing. If it works when viewed in
EPSG:4326, then it is unlikely to be a problem with your data. What are
the approximate bounds in EPSG:4326? Do your features roughly line up
with a basemap? If not, then perhaps EPSG:4326 is not working.
Your BBOX appears to be in the Western Mediterranean, somewhat centred
on the Balearic Islands. The WGS84 corners in degrees are lower left:
lon=0.0 lat=36.597889133070204, and upper right: lon=5.625000000000001
lat=40.97989806962012. The official range of validity of EPSG:25832 is
6-12 degrees East, but I do not know if we expect reprojections to fail
outside this range.
Have you tried changing the declared SRS to, for example, EPSG:4326, and
setting "Reproject native to declared"? This might change the order of
transformations.
Kind regards,
Ben.
On 29/10/17 01:08, Matteo Cusmai wrote:
The application is based on boundlessgeo sdk and openlayer 3.
This is a request
https://<hostname>/geoserver/<worspace_name>/wms?SERVICE=
WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&
TRANSPARENT=true&LAYERS=<layer_name>&TIME=2017-10-
28T11%3A18%3A05.079Z&TILED=true&WIDTH=230&HEIGHT=230&SRS=
EPSG%3A3857&STYLES=&FORMAT_OPTIONS=dpi%3A81&BBOX=0%
2C4383204.9499851465%2C626172.1357121639%2C5009377.08569731
And this is an error log
28 Oct 13:25:15 ERROR [geotools.rendering] - Transformation doesn't
convergence.
org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
at org.geotools.referencing.operation.projection.MapProjection.inv_mlfn(
MapProjection.java:1399)
at org.geotools.referencing.operation.projection.TransverseMercator.
inverseTransformNormalized(TransverseMercator.java:217)
at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1050)
at org.geotools.referencing.operation.projection.MapProjection$Inverse.
transform(MapProjection.java:1105)
at org.geotools.referencing.operation.transform.ConcatenatedTransform.
transform(ConcatenatedTransform.java:440)
at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformDirect.java:80)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:479)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:283)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneralize(
Decimator.java:241)
at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.
getTransformedShape(StreamingRenderer.java:3123)
at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(
StreamingRenderer.java:2549)
at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:550)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:273)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:143)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
at org.geoserver.wms.GetMap.run(GetMap.java:279)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
at org.geoserver.wms.DefaultWebMapService.getMap(
DefaultWebMapService.java:320)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.
invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(
WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:62)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(
CacheSeedingWebMapService.java:36)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(
CachingWebMapService.java:87)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(
CachingWebMapService.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.geoserver.ows.util.RequestObjectLogger.invoke(
RequestObjectLogger.java:33)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy112.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor248.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:857)
at org.geoserver.ows.Dispatcher.handleRequestInternal(
Dispatcher.java:268)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:147)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
.handle(SimpleControllerHandlerAdapter.java:50)
at org.springframework.web.servlet.DispatcherServlet.
doDispatch(DispatcherServlet.java:959)
at org.springframework.web.servlet.DispatcherServlet.
doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(
FrameworkServlet.java:968)
at org.springframework.web.servlet.FrameworkServlet.
doGet(FrameworkServlet.java:859)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.
service(FrameworkServlet.java:844)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(
WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(
ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
SpringDelegatingFilter.java:75)
at org.geoserver.wms.animate.AnimatorFilter.doFilter(
AnimatorFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
SpringDelegatingFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(
SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(
AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:316)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.
FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
at org.springframework.security.web.access.intercept.
FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.
doFilter(ExceptionTranslationFilter.java:114)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticati
onFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.geoserver.security.filter.GeoServerPreAuthenticationFilt
er.doFilter(GeoServerPreAuthenticationFilter.java:75)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.
SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilt
er.java:91)
at org.geoserver.security.filter.GeoServerSecurityContextPersis
tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at org.geoserver.security.filter.GeoServerCompositeFilter$
NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(
FilterChainProxy.java:213)
at org.springframework.security.web.FilterChainProxy.doFilter(
FilterChainProxy.java:176)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(
GeoServerSecurityFilterChainProxy.java:152)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(
DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.SessionDebugFilter.doFilter(
SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.geoserver.filters.FlushSafeFilter.doFilter(
FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.
doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:80)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:341)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:486)
at org.apache.coyote.AbstractProcessorLight.process(
AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
AbstractProtocol.java:861)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
doRun(NioEndpoint.java:1455)
at org.apache.tomcat.util.net.SocketProcessorBase.run(
SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(
TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Matteo Cusmai
On Sat, Oct 28, 2017 at 1:13 PM, Ben Caradoc-Davies <[email protected]>
wrote:
Matteo,
how are you requesting data in EPSG:3857? Please provide the exact
parameters. The WMS URL and the request information from the GeoServer log
would be most useful.
Kind regards,
Ben.
On 29/10/17 00:07, Matteo Cusmai wrote:
Hi Ben, hi Andrea,
I am using data from Postgis with epsg 25832 and I am in Italy and I am
sure enough that all data into database should be inside this epsg.
Do you know if there is a postgis function to check that all my data are
inside 25832?
All geoserver layer are using keep native SRS handling.
The strange thing is that I retrieve the error if I request data in EPSG
3857, but when I access data from openlayer demo page that use 4326 I
don't
get the error.
Do you have some suggestions to check deeper?
Thanks a lot,
Matteo.
Matteo Cusmai
On Sat, Oct 28, 2017 at 3:22 AM, Ben Caradoc-Davies <[email protected]>
wrote:
And it is easy to end up outside the area of projection validity by using
the wrong axis order in some part of your request. How did you specify
the
coordinates of your request?
Kind regards,
Ben.
On 28/10/17 03:51, Andrea Aime wrote:
Ciao Matteo,
this error usually happens when a projection is used far away from its
area
of definition.
Which are the source and target projections, and the area in which
you're
working?
Also, did you fiddle with the "advanced projection handling" WMS
settings
(are they off by any chance)?
Cheers
Andrea
On Fri, Oct 27, 2017 at 4:41 PM, Matteo Cusmai <[email protected]>
wrote:
Hi all,
I have a problem with geoserver, but the error is related to geotools.
For different layers I receive the following log:
org.geotools.referencing.operation.projection.ProjectionException:
Transformation doesn't convergence.
at org.geotools.referencing.operation.projection.
MapProjection.inv_mlfn(MapProjection.java:1399)
at org.geotools.referencing.operation.projection.TransverseMerc
ator.
inverseTransformNormalized(TransverseMercator.java:217)
at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1050)
at org.geotools.referencing.operation.projection.
MapProjection$Inverse.transform(MapProjection.java:1105)
at org.geotools.referencing.operation.transform.ConcatenatedTra
nsform.
transform(ConcatenatedTransform.java:440)
at org.geotools.referencing.operation.transform.
ConcatenatedTransformDirect.transform(ConcatenatedTransformD
irect.java:80)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneral
ize(
Decimator.java:479)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneral
ize(
Decimator.java:283)
at org.geotools.geometry.jts.Decimator.decimateTransformGeneral
ize(
Decimator.java:241)
at org.geotools.renderer.lite.StreamingRenderer$RenderableFeatu
re.
getTransformedShape(StreamingRenderer.java:3123)
at org.geotools.renderer.lite.StreamingRenderer$
RenderableFeature.getShape(StreamingRenderer.java:3066)
at org.geotools.renderer.lite.StreamingRenderer.processSymboliz
ers(
StreamingRenderer.java:2549)
at org.geotools.renderer.lite.StreamingRenderer.processFeature(
StreamingRenderer.java:2449)
at org.geotools.renderer.lite.StreamingRenderer.drawPlain(
StreamingRenderer.java:2306)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(
StreamingRenderer.java:1927)
at org.geotools.renderer.lite.StreamingRenderer.paint(
StreamingRenderer.java:831)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMa
p(
RenderedImageMapOutputFormat.java:550)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMa
p(
RenderedImageMapOutputFormat.java:273)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMa
p(
RenderedImageMapOutputFormat.java:143)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:623)
at org.geoserver.wms.GetMap.run(GetMap.java:279)
at org.geoserver.wms.GetMap.run(GetMap.java:125)
.................................
It seems related to the MapProjection class and in particular on the
following method:
protected final double inv_mlfn(double arg) throws ProjectionException
{
Has someone experienced the same issue? Could you help me?
Thanks a lot,
Matteo.
Matteo Cusmai
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to
this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/
userlist-guidelines.html
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to
this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users