Re: [Geoserver-users] Geotiff in LCC shifted after WMS GetMap request

2023-01-23 Thread Alexander Petkov
I noticed that the misalignment I described above (about a year ago) is
also present in other coverage layers in Lambert Conformal Conic:
https://wfas.firenet.gov/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=ndfd%3ATemperature,osm:states&bbox=-2764561.134059207%2C-265067.6408074065%2C2683272.815316402%2C3232213.174246306&width=768&height=493&srs=EPSG%3A45558&styles=&format=application/openlayers

The Geoserver release used is 2.18.5.
I guess a good first step would be to upgrade to latest and test again? Has
anyone noticed this?

TIA,
Alex

On Wed, Jan 26, 2022 at 6:07 AM Alexander Petkov  wrote:

> Hi,
>
> I have time series data in Geotiff format, which appears shifted after a
> WMS GetMap request.
>
> The data is in Lambert Conformal Conic projection:
> https://spatialreference.org/ref/sr-org/6825/
>
> When the raster is overlaid with the states shapefile, the misalignment
> becomes apparent (zoom to the upper boundary of the shapefile):
>
>
> https://aws.wfas.net/geoserver//wms?service=WMS&version=1.3.0&request=GetMap&layers=test%3Afbx_20210822,osm:states&bbox=-2764474.351%2C-265059.3199983%2C2683188.584%2C3232111.711&width=768&height=493&srs=EPSG%3A45557&styles=&format=application/openlayers
>
> Here is a zoomed version captured to illustrate the problem:
>
> https://ibb.co/ZzjTjXS
>
> WCS GetCoverage request serves the data without this shift.
>
> Any ideas  about correcting this?
>
> Thanks in advance!!
> Alex
>
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Geoserver 2.22.0 with printing extension

2023-01-23 Thread Jody Garnett
Excellent! So how did your testing go?

I am taking some notes here
https://osgeo-org.atlassian.net/browse/GEOS-10835

Jody

On Tue, Jan 17, 2023 at 4:48 PM Tiago Vieira  wrote:

> Hi Jody,
> Thanks for your reply.
>
> *I made a custom fork of mapfish-print since the library is no longer
>> really maintained (a newer version 3 makes use of Jasper Reports and has a
>> different use-case in mind).*
>>
> I tried to use this version (3.x) a few years ago, but it didn't have
> support for GoogleMaps, and exporting features from a vector layer to PDF
> didn't came as vector on PDF.
> Any news about these two features?
>
> *The fork was required as mapfish version 2.x made use of a library that
>> was no longer open source. My expectation is that the jar required by
>> mapfish print 2.22.0 is not included in GeoServer and it is unable to
>> work. *
>
> That library could be "commons-httpclient-3.1.jar" from below dependency?
> If not, it may be added to the zip printing libs on geoserver extensions
> downloads section, and update the pom file to bring that dependency also.
>commons-httpclient
>commons-httpclient
> I just added that Jar to geoserver lib and everything seems to work. I'll
> run more tests.
>
> Cheers
> *Tiago Vieira*
>
>
> On Tue, 17 Jan 2023 at 01:31, Jody Garnett  wrote:
>
>> It looks like this issue is reported already
>> https://osgeo-org.atlassian.net/browse/GEOS-10815
>>
>> Jody
>>
>> On Mon, Jan 16, 2023 at 4:58 PM Jody Garnett 
>> wrote:
>>
>>> Tiago:
>>>
>>> I made a custom fork of mapfish-print since the library is no longer
>>> really maintained (a newer version 3 makes use of Jasper Reports and has a
>>> different use-case in mind).
>>>
>>> The fork was required as mapfish version 2.x made use of a library that
>>> was no longer open source. My expectation is that the jar required by
>>> mapfish print 2.22.0 is not included in GeoServer and it is unable to work.
>>>
>>> I think we also looked at the logging configuration so mapfish-print did
>>> not immediately include the old log4j1.2 API, as we now make use of Log4j
>>> 2.x.
>>>
>>> From src/extension/printing/pom.xml:
>>> 
>>>   org.mapfish.print
>>>   print-lib
>>>   
>>> 
>>>   log4j
>>>   log4j
>>> 
>>>   
>>> 
>>>
>>> If you are comfortable working in a development environment I would be
>>> happy to answer questions as you dig into this further.
>>>
>>> I do ask that you check the issue tracker and report this issue if it
>>> has not already been done.
>>>
>>> Jody
>>>
>>> I cannot immediately tell from the stack trace you provided what is
>>> missing.
>>>
>>>
>>> --
>>> Jody Garnett
>>>
>>>
>>> On Mon, Jan 16, 2023 at 8:43 AM Tiago Vieira 
>>> wrote:
>>>
 Hi,

 I'm trying to upgrade geoserver 2.21 to 2.22 and I'm getting an error
 when I try to use the printing extension.

 Environment:
 - Java 8 (I've looked at some JARs manifest and it still have jdk1.8)
 - Tomcat 8.5.37

 I'm running geoserver.war out-of-box, just adding geoserver printing
 JARs to the WEB-INF/lib.
 Geoserver starts, but when i invoke "
 https://localhost/geoserver/pdf/info.json"; it throws this error:


>
> *geoserver  | 16 Jan 16:28:19 ERROR  [servlet.BaseMapServlet] - Error
> occurred while reading configuration file*
> *geoserver  |
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'mapPrinter': Unsatisfied dependency expressed
> through field 'configFactory'; nested exception is
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'configFactory': Unsatisfied dependency expressed
> through field 'threadResources'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'threadResources': Lookup method resolution failed; nested
> exception is java.lang.IllegalStateException: Failed to introspect Class
> [org.mapfish.print.ThreadResources] from ClassLoader
> [ParallelWebappClassLoader*
> *geoserver  |   context: geoserver*
> *geoserver  |   delegate: false*
> *geoserver  | --> Parent Classloader:*
> *geoserver  | java.net.URLClassLoader@15255efa*
> *geoserver  | ]*
> *geoserver  |at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)*
> *geoserver  |at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)*
> *geoserver  |at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)*
> *geoserver  |at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postPro

Re: [Geoserver-users] hdf5 high native memory usage

2023-01-23 Thread Jody Garnett
I expect we will need to wait on netcdf for a fix; thank you for reporting
the issue to them.
--
Jody Garnett


On Fri, Jan 20, 2023 at 3:21 PM Hans Yperman  wrote:

> We found a bug where geoserver grows basically unbounded (32GB+) when
> using hdf5, while the java heap and native heaps stay small (2GB and 300MB
> resp). The bug still exists in the current version of netcdf-java. The main
> symptom is unfortunately not noticeable with JVM tooling: a lot of mmapped
> segments of around 64K each appear when you look on linux with pmap.
>
> I hacked a fix in the cdm-4.6.15.jar library. A test scenario that crashed
> the server in minutes now runs for an hour straight without growing the
> process RSS size.
>
> I logged a bug in both projects (the geoserver one is pretty minimal).
>
> https://github.com/Unidata/netcdf-java/issues/1138
>
> https://osgeo-org.atlassian.net/browse/GEOS-10831
>
>
>
>
>
> *Hans Yperman*
>
> Department IT
>
> *Vlaams Instituut voor de Zee vzw*
>
> InnovOcean Campus, Jacobsenstraat 1
>
> 8400 Oostende, België
>
>
>
> ☎+32 (0) 59 33 61 13
>
> 📧 hans.yper...@vliz.be
>
> *www.vliz.be *
>
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Has anyone installed GDAL recently?

2023-01-23 Thread Jody Garnett
I used gdal 3.x last year, and while i could not figure out how to get it
working on a mac, on linux it was fine.

The instructions
 indicate
that geosrver includes the gdal 3.2 jar, and provides a link to
https://search.maven.org/artifact/org.gdal/gdal if you need to find a
different version to match the gdal available on your system.
--
Jody Garnett


On Mon, Jan 23, 2023 at 5:33 PM Ian Turton  wrote:

> It looks like the java.library.path environment variable is not set, it's
> been a while since I did this but I think it needs to point to  where the
> GDAL Java binary is
>
> Ian
>
> On Mon, 23 Jan 2023 at 16:09, Bradford Folta <
> bradford.fo...@honeybadgeranalytics.com> wrote:
>
>> Dear Geoserver Community:
>>
>> I am running into an issue deploying the Geoserver GDAL extension. I have
>> read, reread, and searched the ends of the internet and haven't found
>> anything that can help our situation. As it were, no matter what is done,
>> GeoServer says the same thing...
>>
>> [image: Capture.PNG]
>>
>> I'd be willing to bet it is something dumb and that I am making more of
>> it than it is. But help from someone on this matter would be greatly
>> appreciated!
>>
>> --
>> Best,
>>
>> Bradford Folta Jr.
>> Founder & GIS Architect
>> Honey Badger Analytics LLC.
>> p: (207) 509-2923 | (651) 433-7199  m: (218) 330-0170
>> a: 1001 Kingwood St. Suite 120, Brainerd, Minnesota 56401
>> w: www.honeybadgeranalytics.com  e:
>> bradford.fo...@honeybadgeranalytics.com
>>
>> 
>>
>> Meet with Bradford
>> 
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
> Ian Turton
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Has anyone installed GDAL recently?

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

Ian

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

> Dear Geoserver Community:
>
> I am running into an issue deploying the Geoserver GDAL extension. I have
> read, reread, and searched the ends of the internet and haven't found
> anything that can help our situation. As it were, no matter what is done,
> GeoServer says the same thing...
>
> [image: Capture.PNG]
>
> I'd be willing to bet it is something dumb and that I am making more of it
> than it is. But help from someone on this matter would be greatly
> appreciated!
>
> --
> Best,
>
> Bradford Folta Jr.
> Founder & GIS Architect
> Honey Badger Analytics LLC.
> p: (207) 509-2923 | (651) 433-7199  m: (218) 330-0170
> a: 1001 Kingwood St. Suite 120, Brainerd, Minnesota 56401
> w: www.honeybadgeranalytics.com  e:
> bradford.fo...@honeybadgeranalytics.com
>
> 
>
> Meet with Bradford
> 
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Ian Turton
___
Geoserver-users mailing list

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

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


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


[Geoserver-users] Has anyone installed GDAL recently?

2023-01-23 Thread Bradford Folta
Dear Geoserver Community:

I am running into an issue deploying the Geoserver GDAL extension. I have
read, reread, and searched the ends of the internet and haven't found
anything that can help our situation. As it were, no matter what is done,
GeoServer says the same thing...

[image: Capture.PNG]

I'd be willing to bet it is something dumb and that I am making more of it
than it is. But help from someone on this matter would be greatly
appreciated!

-- 
Best,

Bradford Folta Jr.
Founder & GIS Architect
Honey Badger Analytics LLC.
p: (207) 509-2923 | (651) 433-7199  m: (218) 330-0170
a: 1001 Kingwood St. Suite 120, Brainerd, Minnesota 56401
w: www.honeybadgeranalytics.com  e: bradford.fo...@honeybadgeranalytics.com


Meet with Bradford

___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Error in manual

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

Ian

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

> Hi,
>
> Just to notify that there's an error on this page :
>
>
> https://docs.geoserver.org/stable/en/user/styling/ysld/reference/scalezoom.html
>
> In section "Scale examples", it should read "rules" instead of "rule".
>
> Thanks.
>
> Envoyé à partir d’Outlook 
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Ian Turton
___
Geoserver-users mailing list

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

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


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


[Geoserver-users] Error in manual

2023-01-23 Thread Olivier Gagnon
Hi,

Just to notify that there's an error on this page :

https://docs.geoserver.org/stable/en/user/styling/ysld/reference/scalezoom.html

In section "Scale examples", it should read "rules" instead of "rule".

Thanks.


Envoyé à partir d’Outlook
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] WFS GetFeature request with MultiPolygon returns nullpointerexception

2023-01-23 Thread Andrea Aime
While I'm not 100% sure that's the cause, GML 3.2  (used in WFS 2.0) has no
idea what a MultiPolygon is...
it's called MultiSurface instead and has a different internal structure.

As far as I remember, MultiPolygon is valid in WFS 1.0, it's deprecated but
still working in WFS 1.1, and
simply not there in WFS 2.0

You can have GeoServer validate your request by adding strict=true to the
query string. Hum, I did and it looks like there
are more issues with it, beyond MultiPolygon:

Invalid request
cvc-datatype-valid.1.2.3: 'org1:services_vbo' is not a
valid value of union type 'TypeNamesType'.
cvc-attribute.3: The value 'org1:services_vbo' of
attribute 'typeNames' on element
'Query' is not valid with respect to its type,
'TypeNamesListType'.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration
can be found for element 'MultiPolygon'.
cvc-complex-type.4: Attribute 'id' must appear on element
'Polygon'.
cvc-complex-type.3.2.2: Attribute 'srsName' is not
allowed to appear in element 'LinearRing'

Best regards
Andrea



On Mon, Jan 23, 2023 at 1:17 PM Ron Lindhoudt via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> The following WFS GetFeature POST request returns a nullpointerexception:
>
> URL: https://nedglobe-test.nedgraphicscs.nl/services/nedgr/geoserver/wfs
>
> http://www.opengis.net/wfs/2.0"; service="WFS"
> version="2.0.0" outputFormat="application/json" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd
> ">
> 
> http://www.opengis.net/fes/2.0";>
> 
> geom
> http://www.opengis.net/gml/3.2"; srsName="EPSG:28992">
> 
> 
> 
> 
> 125395.774 514996.891
> 125404.114 515001.073 125401.705 515006.106 125399.001 515004.812
> 125397.731 515007.61 125389.496 515003.872 125393.506 514995.803 125395.774
> 514996.891
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>
> 
> java.lang.NullPointerException ows:ExceptionText>
> 
>
> The Geoserver logging says:
>
> java.lang.NullPointerException
> at
> org.geotools.filter.spatial.ReprojectingFilterVisitor.reproject(ReprojectingFilterVisitor.java:412)
> at
> org.geotools.filter.spatial.ReprojectingFilterVisitor$GeometryFilterTransformer.transform(ReprojectingFilterVisitor.java:450)
> at
> org.geotools.filter.spatial.ReprojectingFilterVisitor.visit(ReprojectingFilterVisitor.java:283)
> at
> org.geotools.filter.spatial.IntersectsImpl.accept(IntersectsImpl.java:57)
> at
> org.geoserver.wfs.WFSReprojectionUtil.reprojectFilter(WFSReprojectionUtil.java:70)
> at
> org.geoserver.wfs.WFSReprojectionUtil.normalizeFilterCRS(WFSReprojectionUtil.java:90)
> at org.geoserver.wfs.GetFeature.toDataQuery(GetFeature.java:1316)
> at org.geoserver.wfs.GetFeature.run(GetFeature.java:480)
> at
> org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:114)
> at jdk.internal.reflect.GeneratedMethodAccessor693.invoke(Unknown Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> at com.sun.proxy.$Proxy101.getFeature(Unknown Source)
> at jdk.internal.reflect.GeneratedMethodAccessor692.invoke(Unknown Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:869)
> at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:271)
> 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:1043)
> 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:681)

[Geoserver-users] WFS GetFeature request with MultiPolygon returns nullpointerexception

2023-01-23 Thread Ron Lindhoudt via Geoserver-users
The following WFS GetFeature POST request returns a nullpointerexception:
URL: https://nedglobe-test.nedgraphicscs.nl/services/nedgr/geoserver/wfs
 http://www.opengis.net/wfs/2.0"; service="WFS" 
version="2.0.0" outputFormat="application/json" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://www.opengis.net/wfs/2.0 
http://schemas.opengis.net/wfs/2.0/wfs.xsd";>http://www.opengis.net/fes/2.0";>geomhttp://www.opengis.net/gml/3.2"; 
srsName="EPSG:28992">125395.774 514996.891 125404.114 
515001.073 125401.705 515006.106 125399.001 515004.812 125397.731 515007.61 
125389.496 515003.872 125393.506 514995.803 125395.774 
514996.891


java.lang.NullPointerException

The Geoserver logging says:
java.lang.NullPointerException at 
org.geotools.filter.spatial.ReprojectingFilterVisitor.reproject(ReprojectingFilterVisitor.java:412)
 at 
org.geotools.filter.spatial.ReprojectingFilterVisitor$GeometryFilterTransformer.transform(ReprojectingFilterVisitor.java:450)
 at 
org.geotools.filter.spatial.ReprojectingFilterVisitor.visit(ReprojectingFilterVisitor.java:283)
 at org.geotools.filter.spatial.IntersectsImpl.accept(IntersectsImpl.java:57) 
at 
org.geoserver.wfs.WFSReprojectionUtil.reprojectFilter(WFSReprojectionUtil.java:70)
 at 
org.geoserver.wfs.WFSReprojectionUtil.normalizeFilterCRS(WFSReprojectionUtil.java:90)
 at org.geoserver.wfs.GetFeature.toDataQuery(GetFeature.java:1316) at 
org.geoserver.wfs.GetFeature.run(GetFeature.java:480) at 
org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:114)
 at jdk.internal.reflect.GeneratedMethodAccessor693.invoke(Unknown Source) at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566) at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51) 
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 at com.sun.proxy.$Proxy101.getFeature(Unknown Source) at 
jdk.internal.reflect.GeneratedMethodAccessor692.invoke(Unknown Source) at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566) at 
org.geoserver.ows.Dispatcher.execute(Dispatcher.java:869) at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:271) 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:1043)
 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:681) at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.filters.RequestFilter.process(RequestFilter.java:205) 
at 
org.apache.catalina.filters.RemoteAddrFilter.doFilter(RemoteAddrFilter.java:60) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at 
org.apache.catalina.filters.RemoteIpFilter.doFilter(RemoteIpFilter.java:931) at 
org.apache.catalina.filters.RemoteIpFilter.doFilter(RemoteIpFilter.java:988) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:357) 
at org.apache.catalina.fi