Re: [mapserver-users] OGR GeoJSON stream output not working with FCGI

2015-02-10 Thread Even Rouault
Le mardi 10 février 2015 12:32:41, Tuikku Anttila a écrit :
 Hi,
 
 I am trying to get GeoJSON to work as a WFS output format, using an OGR
 outputformat with FORMATOPTION storage=stream. With CGI, it works fine,
 but with FastCGI the response appears in the apache error log and I get an
 empty response in the browser. It works if I have FORMATOPTION
 STORAGE=filesystem instead of stream set in the OUTPUTFORMAT block.
 
 I am running Mapserver 6.4.1, have tried GDAL 1.10.1 and 1.11.1. I have
 tried this on Ubuntu Server 14.04 and CentOS 6.6, and with both Apache
 mod_fcgid and Nginx spawn-fcgi. Everything seems to work, but the output
 does not show in the browser, just in the server logs. What could I be
 missing?

Tuikku,

This is issue https://github.com/mapserver/mapserver/pull/4858

It has been workarounded in MapServer 6.4.2 by switching to storage=memory 
instead with FCGI, and properly fixed in master (if used with GDAL trunk 
2.0dev)

Regards,

Even

 
 Regards,
 
 Tuikku Anttila

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] OGR GeoJSON stream output not working with FCGI

2015-02-10 Thread Tuikku Anttila
Hi,

I am trying to get GeoJSON to work as a WFS output format, using an OGR
outputformat with FORMATOPTION storage=stream. With CGI, it works fine,
but with FastCGI the response appears in the apache error log and I get an
empty response in the browser. It works if I have FORMATOPTION
STORAGE=filesystem instead of stream set in the OUTPUTFORMAT block.

I am running Mapserver 6.4.1, have tried GDAL 1.10.1 and 1.11.1. I have
tried this on Ubuntu Server 14.04 and CentOS 6.6, and with both Apache
mod_fcgid and Nginx spawn-fcgi. Everything seems to work, but the output
does not show in the browser, just in the server logs. What could I be
missing?

Regards,

Tuikku Anttila
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users