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

Johannes Paul johannespaul92 at gmail.com
Wed Jan 22 07:51:55 PST 2020


Yes no warnings in my GetCap...

Le mer. 22 janv. 2020 à 16:43, Jeff McKenna <jmckenna at gatewaygeomatics.com>
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:28 a.m., Johannes Paul wrote:
> > 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
> > <jmckenna at gatewaygeomatics.com <mailto:jmckenna at 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
> >      >
> >
> >
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200122/2589d144/attachment-0001.html>


More information about the mapserver-users mailing list