[mapserver-users] cgi-error: End of script output before headers mapserv
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Wed Jan 22 08:06:50 PST 2020
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 GetCap...
>
> Le mer. 22 janv. 2020 à 16:43, Jeff McKenna
> <jmckenna at gatewaygeomatics.com <mailto: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>
> <mailto: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 <mailto:mapserver-users at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
Viele Grüße,
Jörg Thomsen
--
------------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-Schulungen
bei der www.foss-academy.com
------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Fon: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
More information about the MapServer-users
mailing list