Hi,

below you called mapserv with mode=map, have you also tried with the original 
failing query you used for your WMS?
Is your original request reproducible, i.e. it fails every time or only 
sometimes? 

greets

-----Ursprüngliche Nachricht-----
Von: mapserver-users [mailto:mapserver-users-boun...@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 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 /tmp/test.png 
-all_debug 5 -e -9.1433 38.7460 -9.1406 38.7487 &> /tmp/shp2img_log.txt
and it looks fine to me...


On Wed, 22 Jan 2020 at 15:28, Jeff McKenna <jmcke...@gatewaygeomatics.com> 
wrote:


        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
        > 'error'-messages look quite OK.
        > 
        > Jörg
        > 
        > 
        > Am 22.01.20 um 15:12 schrieb 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 remove all "WARNING" 
messages.
        >>
        >> -jeff
        >>
        >>
        >>
        > 
        > 
        > Viele Grüße,
        > Jörg Thomsen
        > 
        
        
        -- 
        Jeff McKenna
        MapServer Consulting and Training Services
        https://gatewaygeomatics.com/
        _______________________________________________
        mapserver-users mailing list
        mapserver-users@lists.osgeo.org
        https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to