[Geoserver-users] How to crop coverage which is the result of gs:BarnesSurface with WPS chain in sld? It's throw a Error

Hi all:


| <br><br><br><br><br>I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface<br><br><br><br>[<img src="http://i.stack.imgur.com/77y1z.png" style="margin: 0px; padding: 0px; border-width: 0px; max-width: 630px;">](http://i.stack.imgur.com/77y1z.png)<br><br><br><br>The SLD file is below:<br><br><br><br>```<br><?xml version="1.0" encoding="ISO-8859-1"?><br><StyledLayerDescriptor version="1.0.0"<br>     xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"<br>     xmlns="http://www.opengis.net/sld"<br>     xmlns:ogc="http://www.opengis.net/ogc"<br>     xmlns:xlink="http://www.w3.org/1999/xlink"<br>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><br>    <NamedLayer><br>        <Name>CropCoverage</Name><br>        <UserStyle><br>            <Title>Crop Coverage</Title><br>            <FeatureTypeStyle><br>                <Transformation><br>                    <ogc:Function name="gs:CropCoverage"><br>                        <!-- crop coverage --><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>coverage</ogc:Literal><br><br>                            <ogc:Function name="gs:BarnesSurface"><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>data</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>valueAttr</ogc:Literal><br>                                    <ogc:Literal>o3_8h</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>scale</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>convergence</ogc:Literal><br>                                    <ogc:Literal>0.2</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>passes</ogc:Literal><br>                                    <ogc:Literal>3</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>minObservations</ogc:Literal><br>                                    <ogc:Literal>1</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>maxObservationDistance</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>pixelsPerCell</ogc:Literal><br>                                    <ogc:Literal>10</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>queryBuffer</ogc:Literal><br>                                    <ogc:Literal>1100000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputBBOX</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_bbox</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputWidth</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_width</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputHeight</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_height</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                            </ogc:Function><br><br>                        </ogc:Function><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>cropShape</ogc:Literal><br>                            <ogc:Function name="env"><br>                                <ogc:Literal>shape</ogc:Literal><br>                                <ogc:Literal><br>                                    POLYGON((12679220.5449551 4733685.69206447,12898591.968062 4713152.82010571,13058134.8212306 4439899.46114607,13030214.821926 4052340.79528089,12735060.5435642 4028261.06778929,12483780.5498236 4076471.69742768,12180649.1288033 4330580.49744829,12264409.1267168 4525151.37667656,12264409.1267168 4525151.37667656,12364123.4099472 4728548.57087371,12364123.4099472 4728548.57087371,12679220.5449551 4733685.69206447))<br>                                  </ogc:Literal><br>                            </ogc:Function><br>                        </ogc:Function><br>                    </ogc:Function><br>                </Transformation><br>                <Rule><br>                    <Name>rule1</Name><br>                    <RasterSymbolizer></RasterSymbolizer><br>                </Rule><br>            </FeatureTypeStyle><br>        </UserStyle><br>    </NamedLayer><br></StyledLayerDescriptor><br><br>```<br><br><br><br>The Error Info is below:<br><br><br><br>Error rendering coverage on the fast path java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry<br><br><br><br>Where Error??????<br><br><br><br> |
| - |

Hi,
please share the full strack trace from the GeoServer logs

Cheers
Andrea

···

On Sun, Dec 27, 2015 at 9:05 AM, 冷月残风 <871703246@anonymised.com> wrote:

Hi all:


| <br><br><br><br><br>I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface<br><br><br><br>[<img src="http://i.stack.imgur.com/77y1z.png" style="margin:0px;padding:0px;border-width:0px;max-width:630px">](http://i.stack.imgur.com/77y1z.png)<br><br><br><br>The SLD file is below:<br><br><br><br>```<br><?xml version="1.0" encoding="ISO-8859-1"?><br><StyledLayerDescriptor version="1.0.0"<br>     xsi:schemaLocation="[http://www.opengis.net/sld](http://www.opengis.net/sld) StyledLayerDescriptor.xsd"<br>     xmlns="[http://www.opengis.net/sld](http://www.opengis.net/sld)"<br>     xmlns:ogc="[http://www.opengis.net/ogc](http://www.opengis.net/ogc)"<br>     xmlns:xlink="[http://www.w3.org/1999/xlink](http://www.w3.org/1999/xlink)"<br>     xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)"><br>    <NamedLayer><br>        <Name>CropCoverage</Name><br>        <UserStyle><br>            <Title>Crop Coverage</Title><br>            <FeatureTypeStyle><br>                <Transformation><br>                    <ogc:Function name="gs:CropCoverage"><br>                        <!-- crop coverage --><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>coverage</ogc:Literal><br><br>                            <ogc:Function name="gs:BarnesSurface"><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>data</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>valueAttr</ogc:Literal><br>                                    <ogc:Literal>o3_8h</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>scale</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>convergence</ogc:Literal><br>                                    <ogc:Literal>0.2</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>passes</ogc:Literal><br>                                    <ogc:Literal>3</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>minObservations</ogc:Literal><br>                                    <ogc:Literal>1</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>maxObservationDistance</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>pixelsPerCell</ogc:Literal><br>                                    <ogc:Literal>10</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>queryBuffer</ogc:Literal><br>                                    <ogc:Literal>1100000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputBBOX</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_bbox</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputWidth</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_width</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputHeight</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_height</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                            </ogc:Function><br><br>                        </ogc:Function><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>cropShape</ogc:Literal><br>                            <ogc:Function name="env"><br>                                <ogc:Literal>shape</ogc:Literal><br>                                <ogc:Literal><br>                                    POLYGON((12679220.5449551 4733685.69206447,12898591.968062 4713152.82010571,13058134.8212306 4439899.46114607,13030214.821926 4052340.79528089,12735060.5435642 4028261.06778929,12483780.5498236 4076471.69742768,12180649.1288033 4330580.49744829,12264409.1267168 4525151.37667656,12264409.1267168 4525151.37667656,12364123.4099472 4728548.57087371,12364123.4099472 4728548.57087371,12679220.5449551 4733685.69206447))<br>                                  </ogc:Literal><br>                            </ogc:Function><br>                        </ogc:Function><br>                    </ogc:Function><br>                </Transformation><br>                <Rule><br>                    <Name>rule1</Name><br>                    <RasterSymbolizer></RasterSymbolizer><br>                </Rule><br>            </FeatureTypeStyle><br>        </UserStyle><br>    </NamedLayer><br></StyledLayerDescriptor><br><br>```<br><br><br><br>The Error Info is below:<br><br><br><br>Error rendering coverage on the fast path java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry<br><br><br><br>Where Error??????<br><br><br><br> |
| - |



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi:
GeoServer logs info:
2015-12-24 23:25:36,863 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast path
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:345)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:260)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:132)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:504)
at org.geoserver.wms.GetMap.run(GetMap.java:248)
at org.geoserver.wms.GetMap.run(GetMap.java:119)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:369)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
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:172)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:80)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy87.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:845)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:275)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
at com.boundlessgeo.geoserver.AppDispatcher.doDispatch(AppDispatcher.java:67)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
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 com.boundlessgeo.geoserver.AppAuthFilter.doFilter(AppAuthFilter.java:111)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
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.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
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:342)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
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:342)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:369)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.geoserver.platform.ServiceException: java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:1051)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:343)
… 118 more
Caused by: java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException
at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:155)
at org.geotools.process.function.ParameterFunction.evaluate(ParameterFunction.java:104)
at org.geotools.process.function.ParameterFunction.evaluate(ParameterFunction.java:120)
at org.geotools.process.function.ProcessFunction.evaluateInputs(ProcessFunction.java:174)
at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:137)
at org.geotools.renderer.lite.RenderingTransformationHelper.applyRenderingTransformation(RenderingTransformationHelper.java:224)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:1005)
… 119 more
Caused by: org.geotools.process.ProcessException: java.lang.RuntimeException: java.io.IOException
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:565)
at org.geotools.process.function.ProcessFunction.evaluate(ProcessFunction.java:142)
… 125 more
Caused by: java.lang.RuntimeException: java.io.IOException
at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:167)
at org.geotools.process.vector.BarnesSurfaceProcess.extractPoints(BarnesSurfaceProcess.java:388)
at org.geotools.process.vector.BarnesSurfaceProcess.execute(BarnesSurfaceProcess.java:226)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:549)
… 126 more
Caused by: java.io.IOException
at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:642)
at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:612)
at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:164)
… 132 more
Caused by: java.sql.SQLException: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry
建议:“POLYGON ((-�” ← parse error at position 12 within geometry
at org.geotools.jdbc.JDBCFeatureReader.(JDBCFeatureReader.java:154)
at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:612)
… 134 more
Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry
建议:“POLYGON ((-�” ← parse error at position 12 within geometry
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:252)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at org.geotools.jdbc.JDBCFeatureReader.(JDBCFeatureReader.java:146)
… 135 more
2015-12-24 23:30:06,276 ERROR [geotools.map] - Call MapContent dispose() to prevent memory leaks

···

On Sun, Dec 27, 2015 at 9:05 AM, 冷月残风 <871703246@…886…> wrote:

Hi all:


| <br><br><br><br><br>I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface<br><br><br><br>[<img src="http://i.stack.imgur.com/77y1z.png" style="margin:0px;padding:0px;border-width:0px;max-width:630px">](http://i.stack.imgur.com/77y1z.png)<br><br><br><br>The SLD file is below:<br><br><br><br>```<br><?xml version="1.0" encoding="ISO-8859-1"?><br><StyledLayerDescriptor version="1.0.0"<br>     xsi:schemaLocation="[http://www.opengis.net/sld](http://www.opengis.net/sld) StyledLayerDescriptor.xsd"<br>     xmlns="[http://www.opengis.net/sld](http://www.opengis.net/sld)"<br>     xmlns:ogc="[http://www.opengis.net/ogc](http://www.opengis.net/ogc)"<br>     xmlns:xlink="[http://www.w3.org/1999/xlink](http://www.w3.org/1999/xlink)"<br>     xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)"><br>    <NamedLayer><br>        <Name>CropCoverage</Name><br>        <UserStyle><br>            <Title>Crop Coverage</Title><br>            <FeatureTypeStyle><br>                <Transformation><br>                    <ogc:Function name="gs:CropCoverage"><br>                        <!-- crop coverage --><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>coverage</ogc:Literal><br><br>                            <ogc:Function name="gs:BarnesSurface"><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>data</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>valueAttr</ogc:Literal><br>                                    <ogc:Literal>o3_8h</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>scale</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>convergence</ogc:Literal><br>                                    <ogc:Literal>0.2</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>passes</ogc:Literal><br>                                    <ogc:Literal>3</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>minObservations</ogc:Literal><br>                                    <ogc:Literal>1</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>maxObservationDistance</ogc:Literal><br>                                    <ogc:Literal>300000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>pixelsPerCell</ogc:Literal><br>                                    <ogc:Literal>10</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>queryBuffer</ogc:Literal><br>                                    <ogc:Literal>1100000</ogc:Literal><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputBBOX</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_bbox</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputWidth</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_width</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                                <ogc:Function name="parameter"><br>                                    <ogc:Literal>outputHeight</ogc:Literal><br>                                    <ogc:Function name="env"><br>                                        <ogc:Literal>wms_height</ogc:Literal><br>                                    </ogc:Function><br>                                </ogc:Function><br><br>                            </ogc:Function><br><br>                        </ogc:Function><br>                        <ogc:Function name="parameter"><br>                            <ogc:Literal>cropShape</ogc:Literal><br>                            <ogc:Function name="env"><br>                                <ogc:Literal>shape</ogc:Literal><br>                                <ogc:Literal><br>                                    POLYGON((12679220.5449551 4733685.69206447,12898591.968062 4713152.82010571,13058134.8212306 4439899.46114607,13030214.821926 4052340.79528089,12735060.5435642 4028261.06778929,12483780.5498236 4076471.69742768,12180649.1288033 4330580.49744829,12264409.1267168 4525151.37667656,12264409.1267168 4525151.37667656,12364123.4099472 4728548.57087371,12364123.4099472 4728548.57087371,12679220.5449551 4733685.69206447))<br>                                  </ogc:Literal><br>                            </ogc:Function><br>                        </ogc:Function><br>                    </ogc:Function><br>                </Transformation><br>                <Rule><br>                    <Name>rule1</Name><br>                    <RasterSymbolizer></RasterSymbolizer><br>                </Rule><br>            </FeatureTypeStyle><br>        </UserStyle><br>    </NamedLayer><br></StyledLayerDescriptor><br><br>```<br><br><br><br>The Error Info is below:<br><br><br><br>Error rendering coverage on the fast path java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry<br><br><br><br>Where Error??????<br><br><br><br> |
| - |



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

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Sun, Dec 27, 2015 at 12:03 PM, 冷月残风 <871703246@anonymised.com> wrote:

Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid
geometry
  建议:"POLYGON ((-�" <-- parse error at position 12 within geometry

It seems there is an unexpected character there. Never seen this particular
error, I'm wondering if it
may be due to your local language, in particular, in a mismatch between
GeoServer, using chinese
encoding, and Postgresql, maybe using English one (the C convention), or
vice versa.

You might want to check how both ends are configured, in particular, in
which language the
database has been created.

It could well be something else, as said, I'm not familiar with that
particular error.

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

*Geosolutions' Winter Holidays from 24/12 to 6/1*

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Hi Andrea Aime:
Thank you replay to me. I think it not cause by local language. Because it’s correct when I user below sld.

<?xml version="1.0" encoding="ISO-8859-1"?>



CropCoverage

Crop Coverage coverage cropShape shape POLYGON((12679220.5449551 4733685.69206447,12898591.968062 4713152.82010571,13058134.8212306 4439899.46114607,13030214.821926 4052340.79528089,12735060.5435642 4028261.06778929,12483780.5498236 4076471.69742768,12180649.1288033 4330580.49744829,12264409.1267168 4525151.37667656,12264409.1267168 4525151.37667656,12364123.4099472 4728548.57087371,12364123.4099472 4728548.57087371,12679220.5449551 4733685.69206447)) rule1

or this sld:

<?xml version="1.0" encoding="ISO-8859-1"?>



BarnesContours

Barnes Surface Contours Extracts contours from a computed surface data

<ogc:Function name=“gs:BarnesSurface”>
<ogc:Function name=“parameter”>
ogc:Literaldata</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralvalueAttr</ogc:Literal>
ogc:Literalo3_8h</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalscale</ogc:Literal>
ogc:Literal300000</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalconvergence</ogc:Literal>
ogc:Literal0.2</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalpasses</ogc:Literal>
ogc:Literal3</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralminObservations</ogc:Literal>
ogc:Literal1</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralmaxObservationDistance</ogc:Literal>
ogc:Literal300000</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralpixelsPerCell</ogc:Literal>
ogc:Literal10</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralqueryBuffer</ogc:Literal>
ogc:Literal1100000</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputBBOX</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_bbox</ogc:Literal>
</ogc:Function>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputWidth</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_width</ogc:Literal>
</ogc:Function>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputHeight</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_height</ogc:Literal>
</ogc:Function>
</ogc:Function>
</ogc:Function>

</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literallevels</ogc:Literal>
ogc:Literal-10</ogc:Literal>
ogc:Literal-5</ogc:Literal>
ogc:Literal0</ogc:Literal>
ogc:Literal5</ogc:Literal>
ogc:Literal10</ogc:Literal>
ogc:Literal15</ogc:Literal>
ogc:Literal20</ogc:Literal>
ogc:Literal25</ogc:Literal>
ogc:Literal30</ogc:Literal>
ogc:Literal35</ogc:Literal>
ogc:Literal40</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalsimplify</ogc:Literal>
ogc:Literaltrue</ogc:Literal>
</ogc:Function>
</ogc:Function>


rule1

Isotherm #000000 1 value Arial Normal 12 2 #FFFFFF 0.6 #000000 2000 true 100 50 30
···

On Sun, Dec 27, 2015 at 12:03 PM, 冷月残风 <871703246@…886…> wrote:

Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry

建议:"POLYGON ((- " ← parse error at position 12 within geometry

It seems there is an unexpected character there. Never seen this particular error, I’m wondering if it
may be due to your local language, in particular, in a mismatch between GeoServer, using chinese
encoding, and Postgresql, maybe using English one (the C convention), or vice versa.

You might want to check how both ends are configured, in particular, in which language the
database has been created.

It could well be something else, as said, I’m not familiar with that particular error.

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi :
I found below info in log, Why not get the layer’s bbox?

33FEF407@anonymised.png

···

On Sun, Dec 27, 2015 at 12:03 PM, 冷月残风 <871703246@…886…> wrote:

Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry

建议:"POLYGON ((- " ← parse error at position 12 within geometry

It seems there is an unexpected character there. Never seen this particular error, I’m wondering if it
may be due to your local language, in particular, in a mismatch between GeoServer, using chinese
encoding, and Postgresql, maybe using English one (the C convention), or vice versa.

You might want to check how both ends are configured, in particular, in which language the
database has been created.

It could well be something else, as said, I’m not familiar with that particular error.

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi,
so you have your data stored in 3857, which is a projection meant mostly for visualization, instead
of data storage?
What does your GetMap request look like?

I’m asking because if you are asking for a whole world in EPSG:4326, like BBOX=-180,-90,180,90 (or -90,-180,90,180 if
you are using WMS 1.3), then GeoServer will try to reproject that back to EPSG:3857 in order to query the
database, and that project cannot handle poles, so you will get some infinites in the result.
We have logic to cut the area to a valid range for 3857, but I’m not sure it’s working when rendering
transformations are in the mix (it’s a case we haven’t tested yet).

I’m also wondering, does it break also if you just apply the barnes surface, without also extracting the contours?
Chaning rendering transformation is another case that is known not to work very well (while theoretically
it should, we only ever got funding to work on single rendering transformations, so it’s another
case that’s not well tested).

Cheers
Andrea

33FEF407@anonymised.png

···

On Tue, Dec 29, 2015 at 9:24 AM, 冷月残风 <871703246@anonymised.com886…> wrote:

Hi :
I found below info in log, Why not get the layer’s bbox?

------------------ 原始邮件 ------------------

发件人: “Andrea Aime”;<andrea.aime@anonymised.com>;
发送时间: 2015年12月28日(星期一) 下午5:42

收件人: “冷月残风”<871703246@anonymised.com>;
抄送: “geoserver-users”<geoserver-users@lists.sourceforge.net>;

主题: Re: [Geoserver-users] How to crop coverage which is the resultofgs:BarnesSurface with WPS chain in sld? It’s throw a Error

On Sun, Dec 27, 2015 at 12:03 PM, 冷月残风 <871703246@anonymised.com> wrote:

Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry

建议:"POLYGON ((- " ← parse error at position 12 within geometry

It seems there is an unexpected character there. Never seen this particular error, I’m wondering if it
may be due to your local language, in particular, in a mismatch between GeoServer, using chinese
encoding, and Postgresql, maybe using English one (the C convention), or vice versa.

You might want to check how both ends are configured, in particular, in which language the
database has been created.

It could well be something else, as said, I’m not familiar with that particular error.

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi:

My data stored in 3857.

GetMap request url :

http://localhost:8080/geoserver/BpGeo/wms? service=WMS&version=1.1.0&request=GetMap&layers=BpGeo:Baners&styles=&bbox=1.20491103639731E7,2415706.67115291,1.4583999884674E7,6490346.10153324&width=477&height=768&srs=EPSG:3857&format=ap plication/openlayers

It’s ok when I just apply the barnes surface, without also extracting the contours or just apply crop coverage. I also think this case by chaining rendering transformation. If can’t solve this. Have other ways that can achieve this?
Thanks!

33FEF407@anonymised.png

···

On Tue, Dec 29, 2015 at 9:24 AM, 冷月残风 <871703246@…886…> wrote:

Hi :
I found below info in log, Why not get the layer’s bbox?

------------------ 原始邮件 ------------------

发件人: “Andrea Aime”;<andrea.aime@…1107…>;
发送时间: 2015年12月28日(星期一) 下午5:42

收件人: “冷月残风”<871703246@…886…>;
抄送: “geoserver-users”<geoserver-users@lists.sourceforge.net>;

主题: Re: [Geoserver-users] How to crop coverage which is the resultofgs:BarnesSurface with WPS chain in sld? It’s throw a Error

On Sun, Dec 27, 2015 at 12:03 PM, 冷月残风 <871703246@…886…> wrote:

Caused by: org.postgresql.util.PSQLException: ERROR: parse error - invalid geometry

建议:"POLYGON ((- " ← parse error at position 12 within geometry

It seems there is an unexpected character there. Never seen this particular error, I’m wondering if it
may be due to your local language, in particular, in a mismatch between GeoServer, using chinese
encoding, and Postgresql, maybe using English one (the C convention), or vice versa.

You might want to check how both ends are configured, in particular, in which language the
database has been created.

It could well be something else, as said, I’m not familiar with that particular error.

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Mon, Jan 4, 2016 at 11:08 AM, 冷月残风 <871703246@anonymised.com> wrote:

*Hi:*

* My data stored in 3857.*

* GetMap request url :*

  *http://localhost:8080/geoserver/BpGeo/wms
<http://localhost:8080/geoserver/BpGeo/wms&gt;?
service=WMS&version=1.1.0&request=GetMap&layers=BpGeo:Baners&styles=&bbox=1.20491103639731E7,2415706.67115291,1.4583999884674E7,6490346.10153324&width=477&height=768&srs=EPSG:3857&format=ap
plication/openlayers*

* It's ok when I **just apply the barnes surface, without also
extracting the contours or just apply crop coverage. I also think this case
by chaining rendering **transformation.*

Ok, then it's likely happening because of the chaning. Can you open a bug
report at https://osgeo-org.atlassian.net/projects/GEOS/summary,
attaching a sample data set (does not have to be full, just enough to
reproduce the issue), the style, and the WMS request?
Enough that someone else can set it up on another computer in a few minutes

* If can't solve this. Have other ways that can achieve this?*

Thinking... maybe interpolate just once calling a WPS process, chained with
the import one to create a new local
layer, and then extract the contour lines out of it on the fly?
You'd have to manage the layer just created, and remove it once the user
does not need it anymore

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

*Geosolutions' Winter Holidays from 24/12 to 6/1*

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------