[ka-Map-users] PNGs work on Windows but not on Linux

norbert billet at cebc.cnrs.fr
Mon Mar 19 08:25:09 EST 2007


Hi Melanie,

First, sorry for my english.

I don't know if your problem is exactly the same, but few days ago I have similar symptoms.

A very great guy (Thank you Eddy) helped me : First I have installed the "Firebug" extension for Firefox web browser, witch detect errors on pages. After loading my ka-map site (a white srceen ...) I use Firebug to do a "inspection". On this inspection I grab the picture URL that the browser try to load. It was a link like :
"<img width="256" height="256"
src="http://localhost/kamap/tile.php?map=gmap&t=-256&l=-512&s=25000000&g=__base__&i=png"
style="position: absolute; top: 256px; left: 0px; width: 256px;
height: 256px; visibility: visible;" id="i5"/>"

I copy the specified URL ("http://localhost/kamap/tile.php?map=gmap&t=-256&l=-512&s=25000000&g=__base__&i=png") on my browser and try to load it. an error message explain to me that the lib_gd was not able to create the output file ...

My linux server is a debian and your's is a ubuntu, witch is debian based too.
The problem was the GD library used to create picture files. The standard library installed by the standard debian packages management tool ("apt-get") is called "libgd2-dev". I solved my problem by an uninstallation of the package and a complete new installation FROM SOURCE with a fresh downloaded version of th GD library (from http://www.libgd.org). After you have to rebuild (from source) PHP and mapserver.

If you want more details, write me.

Regards,
Norbert

-----Original Message-----
From: Melanie Ritzau <MelanieRitz78 at web.de>
To: ka-map-users at lists.maptools.org
Date: Mon, 19 Mar 2007 13:04:37 +0100
Subject: [ka-Map-users] PNGs work on Windows but not on Linux

Hello List,

I have a problem that is driving me crazy. I ported a Kamap-Installation from Windows to Linux (Ubuntu 6.10 with FGS ka-map-1.0-20070123). On Windows everything is running perfectly. The Mapserver Mapfile loads from different data-sources: ECWs, PNGs and Shapefiles. Outputformat in Mapfile and Kamap is JPEG.
When I use the same Mapfile (with adjusted Pathes) on the Linux-Server everything works and is displayed except the PNGs. I am trying for many hours now but I can't get Kamap to load these PNG-files. The only PNG that shows up is the Keymap-PNG.
When I use the same Mapfile on the Linux-Server without Kamap (e.g. with a PHP-Reflector for Google Earth) all is shown correctly including the PNGs - so it must be a problem with Kamap.

What might be the reason for this ??

Thank you very, very much for any help.

Regards,
Mel
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users





________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
http://www.eset.com



More information about the ka-Map-users mailing list