[ka-Map-dev] [Bug 1379] New: labels truncated at tile boundaries

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Mar 23 08:36:45 EST 2006


           Summary: labels truncated at tile boundaries
           Product: ka-Map
           Version: 0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: ka-map-dev at lists.maptools.org
        ReportedBy: pspencer at dmsolutions.ca
                CC: dmorissette at mapgears.com

Ramesh has kindly provided a very stripped down example which reproduces this problem. I've tried it 
on both my laptop (macosx mapserver 4.8) and a linux server (mapserver 4.9 cvs 2006-03-22) with the 
same result.  I'll attach a zip file containing the shape file and map file after I add the bug.

Using ka-Map latest CVS, extract test.zip in parallel with ka-Map and add the following entry to 
config.php (note this is using the new syntax for declaring map file entries in config.php so make sure 
you have updated config.php from config.dist.php)

$aszTest = array (
  	'title' => 'test', 
  	'path' => "../../test/test.map",
	'scales' => array(200000, 100000, 50000, 25000, 12000, 6000),
    'format' => "PNG"

and add the following to $aszMapFiles:

'test' => $aszTest

You may need to adjust the map file to provide a valid fontset and font (I tested with Vera)

Zoom/pan to keep the one and only label in the center.  At a couple of scales, you will notice the label 
is truncated on the left hand side.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the ka-Map-dev mailing list