Re: [Geoserver-users] [EXTERNAL] - RE: WPS gs:Clip Topology Exception

2022-03-31 Thread Oscar Wu
eryone for reading my question and thank you Dominique for your suggestions. Regards, Oscar From: Oscar Wu Sent: March 24, 2022 4:29 PM To: Bessette-Halsema, Dominique E ; geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] [EXTERNAL] - RE: WPS g

Re: [Geoserver-users] [EXTERNAL] - RE: WPS gs:Clip Topology Exception

2022-03-24 Thread Oscar Wu
Hi Dominique, Thanks again for the help. I check the CRS of my clipping polygon using geometry.getSRID() it returned 0. Knowing this I added the SRID of 3005 using geometry.setSRID(3005) in my custom WPS to have it match with the other input. However, I'm still seeing the same Topology

Re: [Geoserver-users] [EXTERNAL] - RE: WPS gs:Clip Topology Exception

2022-03-24 Thread Bessette-Halsema, Dominique E via Geoserver-users
There are several ways to set the CRS in the Geometry, but this probably wont fix your problem. I just worry that the code is setting your Geometry to the default EPSG and that's why it cant figure it out. Also there are some Geometry limits, like crossing the antemeridian. If you are

Re: [Geoserver-users] [EXTERNAL] - RE: WPS gs:Clip Topology Exception

2022-03-24 Thread Oscar Wu
Hi Dominique, Thank you very much for the suggestion. I tried to explicitly define the EPSG in the getFeature request by adding srsName=EPSG:3005 to the url. The clipping geometry has no place to add SRS as it is only a geometry not a feature. However, I have made sure the coordinates in the