[ka-Map-users] Help, I can't figure this out

Paul Spencer pspencer at dmsolutions.ca
Tue Jun 6 12:45:50 EDT 2006


Yikes!  That is horrible.  I do note, however, that the file sizes  
are substantially different.  Did you forget to use PNG24 in your  
config file?  This is required for antialiased lines.

Cheers

Paul

On 6-Jun-06, at 12:31 PM, Stephen Woodbridge wrote:

> I'm trying to upgraded to a new version of ka-map cvs and my maps  
> look horrible. See attached bad.png and good.png. I was running ka- 
> map_20060208 and I have installed yesterdays cvs.
>
> 1) Same server, same software, same mapfile
> 2) Directorys are
>    /u/www/ka-map                <- old
>    /u/www/include/config.php    <- old
>    /u/tile-cache/mapfile        <- old
>
>    /u/www/t/ka-map              <- new
>    /u/www/t/include/config.php  <- new
>    /u/tile-cache/mapfile2       <- new
>
> 3) I diff'ed tile.php and the only non-comment changes are:
>
> swoodbridge at tile01:/u/www$ diff -w ka-map/tile.php t/ka-map/tile.php
> 68,70d35
> < /* bug 1253 - root permissions required to delete cached files */
> < $orig_umask = umask(0);
> <
> 215c180
> < //            $oMap->outputformat->set("transparent", MS_ON );
> ---
> >             $oMap->outputformat->set("transparent", MS_ON );
> 242c207
> < //                    imagecolortransparent( $oTile,$nTransparent);
> ---
> >                     imagecolortransparent( $oTile,$nTransparent);
> 293,296d257
> <
> < /* bug 1253 - root permissions required to delete cached files */
> < umask($orig_umask);
> <
>
> 4) I tried commenting out the lines above but not change.
>
> The symptoms are that the image is not anti-aliased and the wide  
> roads look like they have nicks in them.
>
> Has anyone run into this? Any ideas? I have gone through my list of  
> differential diagnosis and come up empty. My intuition thinks this  
> is a php/mapscript issue except I'm pretty sure that the two ka-map  
> instances are running the same version since this is a pretty clean  
> system and does not have any other versions hanging around.
>
> System files that might come into play from "locate php4":
>
> /etc/apache2/mods-available/php4.conf
> /etc/apache2/mods-available/php4.load
> /etc/apache2/mods-enabled/php4.conf
> /etc/apache2/mods-enabled/php4.load
> /etc/cron.d/php4
> /etc/php4
> /etc/php4/apache2
> /etc/php4/apache2/php.ini
> /etc/php4/cgi
> /etc/php4/cgi/php.ini
> /etc/php4/cli
> /etc/php4/cli/php.ini
> /usr/bin/php4
> /usr/bin/php4-cgi
> /usr/lib/apache2/modules/libphp4.so
> /usr/lib/cgi-bin/php4
> /usr/lib/php4
> /usr/lib/php4/20020429
> /usr/lib/php4/20020429/gd.so
> /usr/lib/php4/20020429/php_mapscript.so
> /usr/lib/php4/libexec
> /usr/lib/php4/maxlifetime
> <bad.png>
> <good.png>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list