AW: [UMN_MAPSERVER-USERS] Errorlog/errormessages? (problem is drawReferenceMap)
Frank Broniewski
Frank.Broniewski at MNHA.ETAT.LU
Thu Mar 10 01:23:40 PST 2005
I'm not sure, but do you have a Reference Map Object in your Mapfile?
Otherwise, your code is not complete. I do something like this to draw
my referencemap:
function DrawKeymap(&$MapObj) {
/*
Draws the Keymap for orientation purposes
*/
$image = $MapObj->drawReferenceMap();
$image_url = $image->saveWebImage();
// echo "<input type=\"image\" src=\"".$image_url."\"
name=\"keymap\">";
echo "<img src=\"".$image_url."\" name=\"keymap\" alt=\"Keymap\">";
}
Frank Broniewski
Musée National d'Histoire et d'Art
Section Préhistoire / Projet EPC
Tél: +352 260 281-21
241, Rue de Luxembourg
L-8077 Bertrange
-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Im
Auftrag von Ragnvald Larsen
Gesendet: Donnerstag, 10. März 2005 09:46
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: [UMN_MAPSERVER-USERS] Errorlog/errormessages? (problem is
drawReferenceMap)
I am having troubles with making a referencemap using this:
$referencemap=$map->drawReferenceMap();
The real map is already made - perfectly. So it is only when I try to
make a reference-map things go bad and the output aborts.
Trying to solve this myself I was looking for an error-log, but it
simply is not there. Where do I turn it on?
- - - - -
This is my Mapscript configuration:
MapServer Version MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
PHP MapScript Version ($Revision: 1.220.2.2 $ $Date: 2004/12/19
22:17:59
$)
GD version: bundled (2.0.28 compatible)
- - - - -
Any suggestions?
Ragnvald Larsen
TAWIRI, Tanzania
More information about the MapServer-users
mailing list