<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>Just tried exporting the Postgis table with ogr2ogr to GML. It works fine without any issue. All characters and geom seem fine.</p>
<p>Any ideas?</p>
<p>Thanks,</p>
<p>Andreas</p>
<p><br /></p>
<p>On 2018-11-14 15:07, Carlo A. Bertelli (Charta s.r.l.) wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Just my two cents:
<div>* try to understand if there are issues with charsets, sometimes you focus on geometries and don't remember to check for lesser things;</div>
<div>* try to use ogr2ogr to try the conversion. What happens converting your datasource directly to GML3?</div>
<div>c</div>
<br />
<div class="gmail_quote">
<div dir="ltr">On Wed, Nov 14, 2018 at 2:37 PM Andreas Neumann <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi René and David,</p>
<p>Thank you for your replies. Interesting to see that GeoJSON works, but GMLv3 fails.</p>
<p>In my Apache webserver log I find the following error:</p>
<p>[Wed Nov 14 14:32:54.580958 2018] [fcgid:error] [pid 13453] mod_fcgid: process /var/www/cgi-bin/qgis_mapserv.fcgi(22829) exit(communication error), get unexpected signal 11</p>
<p>I also checked the geometries of the concenred table in Postgis for validity. All geometries seem to be valid.</p>
<p>Do you have any idea what I could do? Or do you think the issue will be solved in QGIS 3.x master?</p>
<p>Thanks,</p>
<p>Andreas</p>
<p>On 2018-11-13 22:37, René-Luc Dhont wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>Hi Andreas,</p>
<p>QGIS Server segfaults when it try to build the GML for a Feature</p>
<p>The request works for GeoJSON format <a class="m_-3574029156926175783moz-txt-link-freetext" href="https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GeoJSON" target="_blank" rel="noopener noreferrer">https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GeoJSON</a></p>
René-Luc<br /> <br />
<div class="m_-3574029156926175783moz-cite-prefix">Le 13/11/2018 à 14:32, Andreas Neumann a écrit :</div>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>Hi,</p>
<p>I am trying to publish a WFS Service through QGIS Server 2.18.</p>
<p>However, the result I get back from GetFeature errors out.</p>
<p>The XML stream starts correctly and after a while there is an HTML error snipped and as a result a non-wellformed XML response.</p>
<p>this is my URL:</p>
<p><a href="https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GML3" target="_blank" rel="noopener noreferrer">https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&TYPENAME=zg.gewaessernetz&SRSNAME=EPSG:2056&OUTPUTFORMAT=GML3</a></p>
<p>Sometimes it works, but most of the time it fails.</p>
<p>Any ideas of what might be wrong?</p>
<p>Is QGIS Server 3.x more reliable regarding serving WFS?</p>
<p>Thanks,</p>
<p>Andreas</p>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
<div> </div>
-- <br />
<div class="gmail_signature" dir="ltr">--------------------------------------------------------------------------<br />Carlo A. Bertelli<br />   Charta servizi e sistemi per il territorio e la storia ambientale srl <br />          Dipendenze del palazzo Doria, <br />          vc. alla Chiesa della Maddalena 9/2 16124      Genova (Italy)<br />          tel./fax +39(0)10 2475439  +39 0108566195  mobile:+39 393 1590711<br />   e-mail: <a href="mailto:bertelli@chartasrl.eu">bertelli@chartasrl.eu</a>      <a href="http://www.chartasrl.eu" target="_blank" rel="noopener noreferrer">http://www.chartasrl.eu</a><br />--------------------------------------------------------------------------<br /><br /><br /><br /></div>
</div>
</blockquote>
<p><br /></p>

</body></html>