[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[Mapserver-users] bug on PHPDynLegend wiki post?
- Subject: [Mapserver-users] bug on PHPDynLegend wiki post?
- From: cpurvis@asg.sc.edu (Charlton Purvis)
- Date: Thu, 1 May 2003 13:54:35 -0400
Hi, Chip:
Infinite thanks for your dynamic legend PHP post
(http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPDynLegend). It's
great!
I have one thought, though.
You draw the map . . .
$img = $map->draw();
$url = $img->saveWebImage(MS_PNG, $map->transparent, $map->interlace,
50);
. . . at the very beginning of your .php -- before you run down the
legend checkboxes where you turn layers on and off.
Shouldn't this be toward the end, say, near the . . .
include($path_to_legend . "legend.php");
. . . line after you've set the layers in the $map?
I might be missing something, but w/o moving the draw(), all I got was
whatever the .map file defined.
Again, thanks, and apologies if I've goofed.
Charlton
Charlton Purvis
(803) 777-8858 : voice
(803) 777-8833 : fax
cpurvis@sc.edu
Advanced Solutions Group
Department of Physics and Astronomy
University of South Carolina
Columbia, SC 29208
From Prashant Desai" <prashant.desai@maptext.com Thu May 1 18:54:02 2003
From: Prashant Desai" <prashant.desai@maptext.com (Prashant Desai)
Date: Thu, 1 May 2003 13:54:02 -0400
Subject: [Mapserver-users] TrueType Symbols
References: <13858AA1A74F30419F319ACB66A9D1221F42BD@mercator.topozone.com>
Message-ID: <000701c3100a$a6e8d520$0f00a8c0@MT15>
Hi,
Is there a known problem in using TrueType symbols in MapServer version
3.6.4?
The symbol definition in my mapfile is given below. I tried to debug and
found that it is successfully able to recognize type ELLIPSE and VECTOR, but
when it comes to TRUETYPE, it stores 0 in the symbol->type
Any help on this will be appreciated.
Regards,
SYMBOL
NAME "circle"
TYPE ELLIPSE
POINTS 1 1 END
FILLED TRUE
END
SYMBOL
NAME "triangle"
TYPE vector
POINTS
0 2
1 0
2 2
0 2
END
END
SYMBOL
NAME "s1"
TYPE TRUETYPE
FONT arial
FILLED true
ANTIALIAS true
CHARACTER "A"
END