celati Laurent <laurent.cel...@gmail.com> 15:40 (il y a 26 minutes) À *Jan*, *Brad*, geoserver-users Thanks for your replies. @Brad Hards <br...@frogmouth.net> @JukkaRahkonen According to you, the problem could comes rather from qgis client or/and geoserver ? @ *Jan Tjalling van der Wal * OK, i will make a test for check geometry aspects. It's really strange because the data is displaying well when i load it directly from postgis via qgis. No problem also with WMS. This big problem appears only with WFS. Hoping find where the issue comes from. THanks.
Le ven. 6 août 2021 à 13:00, Wal, Jan Tjalling van der < jan_tjalling.vander...@wur.nl> a écrit : > Hello Laurent, > > > > There is an error about ‘invalid geometry’ encountered by GeoServer when > rendering the WFS. > > > > You could try loading from PostgreSQL/PostGIS into QGIS and run a tool > from processing. > > Processing >Vector geometry, Fix geometries. > > Once fixed export and overwrite the existing data in Postgres (using QGIS > Database > Database Manager). > > Or create a new table in Postgres and define a new WFS-layer in GeoServer. > > > > If an invalid geometry is the cause I would expect these actions to fix > the problem. > > From your original post I understand that you have sufficient access to > the Postgres-DB to perform these actions. > > > > Kind regards, > > > > *Jan Tjalling van der Wal* > > > > jan_tjalling.vander...@wur.nl > > > > Tel. +31 (0)317-4 87147 # > > GSM +31(0)626120915 (privé) # > > # Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00 > > > > > > *From:* celati Laurent <laurent.cel...@gmail.com> > *Sent:* 06 August 2021 12:15 > *To:* Brad Hards <br...@frogmouth.net> > *Cc:* geoserver-users <geoserver-users@lists.sourceforge.net> > *Subject:* Re: [Geoserver-users] Problem with wfs display (postgis > geometry?) > > > > Thanks for your reply. > > For the client, i use qgis desktop soft. > > > > Please find below the qgis log appearing during the wfs loading : > > > > 2021-08-06T10:31:19 WARNING Le téléchargement des entités à > échoué: Error transferring > https://sig-geo-prd.andra.fr/geoserver/ign_bd_topo/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=ign_bd_topo:surface_hydrographique&TYPENAME=ign_bd_topo:surface_hydrographique&STARTINDEX=0&COUNT=1000000&SRSNAME=urn:ogc:def:crs:EPSG::2154&BBOX=-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,urn:ogc:def:crs:EPSG::2154 > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsig-geo-prd.andra.fr%2Fgeoserver%2Fign_bd_topo%2Fwfs%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D2.0.0%26TYPENAMES%3Dign_bd_topo%3Asurface_hydrographique%26TYPENAME%3Dign_bd_topo%3Asurface_hydrographique%26STARTINDEX%3D0%26COUNT%3D1000000%26SRSNAME%3Durn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A2154%26BBOX%3D-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368%2C-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368%2C179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368%2C179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368%2Curn%3Aogc%3Adef%3Acrs%3AEPSG%3A%3A2154&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612587480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AxQNuwOokzGMXOF%2BLk3WK%2BMYobre8PyKP8z%2FAyAUg8g%3D&reserved=0> > - server replied: > > > > When i paste the previous URL into a webpage i get : > > > > This XML file does not appear to have any style information associated > with it. The document tree is shown below. > > <ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612597476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TcaDPHgwNappIBa7GrPRlVT0J%2BmvxSfrJ9GN%2F3ltiso%3D&reserved=0> > " xmlns:ows="http://www.opengis.net/ows/1.1 > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opengis.net%2Fows%2F1.1&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612597476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0JR6qyhf%2FzDCz5yiBo2Geu%2BaKOFVShWB5mchJpwjTOQ%3D&reserved=0> > " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612607469%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=g90sXersH7XbngwrNenNh%2BY5jjrqoOVsRm3Y7HWWG4I%3D&reserved=0> > " version="2.0.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opengis.net%2Fows%2F1.1&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612607469%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JuL1mFZMu%2B83Klln7M2SLhYz00dLr7rDsEiyy%2BrPsao%3D&reserved=0> > https://sig-geo-prd.andra.fr/geoserver/schemas/ows/1.1.0/owsAll.xsd > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsig-geo-prd.andra.fr%2Fgeoserver%2Fschemas%2Fows%2F1.1.0%2FowsAll.xsd&data=04%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C38c263dbd2f54dab5e2408d958c41e62%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637638421612617470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M%2BygI1xgk%2F4Cw6J5WlrFOIjw1KJe555Ao1nOI%2BbyHYU%3D&reserved=0> > "> > > <ows:Exception exceptionCode="NoApplicableCode"> > > <ows:ExceptionText>java.lang.RuntimeException: java.io.IOException > java.io.IOExceptionERREUR: parse error - invalid geometry Indice : > "POLYGON ((-I" <-- parse error at position 12 within geometry > </ows:ExceptionText> > > </ows:Exception> > > </ows:ExceptionReport> > > > > > > > > Le ven. 6 août 2021 à 11:54, Brad Hards <br...@frogmouth.net> a écrit : > > On Friday, 6 August 2021 7:48:18 PM AEST celati Laurent wrote: > > > i work with postgis and geoserver. *2.18.1. and qgis client.* > > > For some data, no problem when i load the data directly from postgis db > via > > > qgis. > > > No problem too with the display WMS. However, there is problem with WFS. > > > > What is the WFS query you are making? > > > > Brad > > > >
_______________________________________________ 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