Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Rahkonen Jukka (MML)
Hi, I would suspect data, especially because it seems to be OSM data. Perhaps some invalid polygon again. You use &layers=default and I suppose that it means all the layers from your mapfile together. In that case I would try to catch the failing layer by adding layers one by one and in groups

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread lars . schylberg
Hi, Some ideas to look into. How is the EXTENT specified in the MAPFILE and in what coordinate system. In the METADATA section in which order are wms_srs specified. What does extent look like in the getcapabilities report if You add: "wms_bbox_extended" "true" Hope this helps to debug further

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Johannes Paul
Yes i do have a working url having 5 digits coordinates Jo Le mer. 22 janv. 2020 à 17:06, Jörg Thomsen (WhereGroup) < joerg.thom...@wheregroup.com> a écrit : > I still have no idea, but a question: > > Do you see any pattern in working vs. not working bboxes? In your > example it workes wirth 4-

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread WhereGroup
I still have no idea, but a question: Do you see any pattern in working vs. not working bboxes? In your example it workes wirth 4-digit coordinates and does not with 5-digit coordinates. Does ist never work with 5 digits? Jörg Am 22.01.20 um 16:51 schrieb Johannes Paul: > Yes no warnings in my

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Jeff McKenna
Next I recommend upgrading to the latest stable release: MapServer 7.4.3, GDAL 2.4.4, PROJ 5.2.0 -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2020-01-22 11:51 a.m., Johannes Paul wrote: Yes no warnings in my GetCap... Le mer. 22 janv.

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Johannes Paul
Yes no warnings in my GetCap... Le mer. 22 janv. 2020 à 16:43, Jeff McKenna a écrit : > and you removed all "WARNING" messages from your GetCapabilities response? > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > https://gatewaygeomatics.com/ > > > On 2020-01-22 11

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Jeff McKenna
and you removed all "WARNING" messages from your GetCapabilities response? -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ On 2020-01-22 11:28 a.m., Johannes Paul wrote: Thanks for your help. 1. the mapserv cgi command line gave me a proper png

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Johannes Paul
Thanks for your help. 1. the mapserv cgi command line gave me a proper png (./mapserv -nh "QUERY_STRING=map=/var/www/html/osm-transp-en-default.map&mode=map" > /tmp/test.png) 2. i turned on CPL_DEBUG in my mapfile but it doesn't help 3. i ran : shp2img -m /var/www/html/osm-transp-en-default.map -o

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Jeff McKenna
The more tests the better :) -jeff On 2020-01-22 10:21 a.m., Jörg Thomsen (WhereGroup) wrote: Hello Jeff, is shp2img exactly the same as mapserv? (My thought was to use the same executable the webserver calls) Jo, did you get a proper result (image) from your command line request? the 'erro

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread WhereGroup
Hello Jeff, is shp2img exactly the same as mapserv? (My thought was to use the same executable the webserver calls) Jo, did you get a proper result (image) from your command line request? the 'error'-messages look quite OK. Jörg Am 22.01.20 um 15:12 schrieb Jeff McKenna: > Hi Jo, > > Are you

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Jeff McKenna
Also, if the underlying data is PostGIS, you should check the exact query being made against your PostGIS database (see the "CPL_DEBUG" setting at https://mapserver.org/fr/optimization/debugging.html ). Once you get the exact query being sent to PostGIS, you can then connect to your database w

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Jeff McKenna
Hi Jo, Are you passing the problem extents to the shp2img utility? Such as: shp2img -m osm-transp-en-default.map -e -9.1433 38.7460 -9.1406 38.7487 -o ttt.png -all_debug 5 If that doesn't help, then I would start from the beginning: execute a GetCapabilities request and make sure you remo

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Johannes Paul
Thanks for your answer. I get the following error output using the command line: [Wed Jan 22 06:53:21 2020].530550 CGI Request 1 on process 5157 [Wed Jan 22 06:53:21 2020].534249 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Wed Jan 22 06:53:21 2020].534288 msDrawMap(): WMS/WFS s

Re: [mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread WhereGroup
Hello Jo, I don't know this error as parameter-dependent... Do you get any error-output on the command line? https://mapserver.org/cgi/mapserv.html Jörg Am 22.01.20 um 12:01 schrieb Johannes Paul: > Hello, > my mapserver is having a very strange behaviour, which I can't explain, > nor debug. >

[mapserver-users] cgi-error: End of script output before headers mapserv

2020-01-22 Thread Johannes Paul
Hello, my mapserver is having a very strange behaviour, which I can't explain, nor debug. I'm using mapserver 7.0.0 along with apache http server 2.4.6. Most of the time, the server is working just fine, i.e. when I request a typical URL, I get my image back: http://10.0.0.22/cgi-bin/mapserv?map=