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

2020-01-24 Thread Johannes Paul
t; > > > *Lähettäjä:* mapserver-users > *Puolesta > *Johannes Paul > *Lähetetty:* torstai 23. tammikuuta 2020 21.56 > *Vastaanottaja:* Brian > *Kopio:* mapserver-users@lists.osgeo.org > *Aihe:* Re: [mapserver-users] cgi-error: End of script output before > he

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

2020-01-24 Thread Rahkonen Jukka (MML)
: Re: [mapserver-users] cgi-error: End of script output before headers mapserv Hi Brian, I'm not usinage fcgi on my side, and it is not related to file permission or bad cgi script. I've tried to work on my Osm postgis tables, and made the geom valid, like Jukka said, but it didn't change anything

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

2020-01-23 Thread Eichner, Andreas - SID
...@lists.osgeo.org] Im Auftrag von Johannes Paul Gesendet: Mittwoch, 22. Januar 2020 16:29 An: Jeff McKenna; Jörg Thomsen (WhereGroup) Cc: mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] cgi-error: End of script output before headers mapserv Thanks for your help. 1. the mapserv

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

2020-01-23 Thread Johannes Paul
e dependent layer group in the mapfile etc. >> >> >> >> If the issue is due to bad geometry and you use PostGIS you may find it >> with ST_IsValid and ST_IsValidReason, and correct with ST_MakeValid. >> >> >> >> -Jukka Rahkonen- >> >

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

2020-01-23 Thread Brian
; -Jukka Rahkonen- > > > > *Lähettäjä:* mapserver-users > *Puolesta > *Johannes Paul > *Lähetetty:* keskiviikko 22. tammikuuta 2020 13.02 > *Vastaanottaja:* mapserver-users@lists.osgeo.org > *Aihe:* [mapserver-users] cgi-error: End of script output before headers > mapser

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

2020-01-22 Thread Rahkonen Jukka (MML)
, and correct with ST_MakeValid. -Jukka Rahkonen- Lähettäjä: mapserver-users Puolesta Johannes Paul Lähetetty: keskiviikko 22. tammikuuta 2020 13.02 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] cgi-error: End of script output before headers mapserv Hello, my mapserver

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

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

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

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

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=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

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

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

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

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: