Reference Map problem
Ethan Alpert
ealpert at DIGITALGLOBE.COM
Fri May 20 09:14:19 PDT 2005
Ok found this message.
To me it seems that msImageLoadGD() can't find or read your regions.png.
Does it exist? Does your web server have read access to it?
-e
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Philippe Gondek
Sent: Friday, May 20, 2005 5:42 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Reference Map problem
Hi List,
I try to render a reference map!!!
but I have an error:
Fatal error: [MapServer Error]: msImageLoadGD():
(/var/www/htdocs/miam/tmp/regions.png) in
/var/www/localhost/htdocs/miam/monscript.php on line 161
Here is my error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$mapref->set("image","/var/www/htdocs/miam/tmp/regions.png");
$mapref->extent->minx = $xmin; |
$mapref->extent->miny = $ymin; | the same as the extent of the
reference map
$mapref->extent->maxx = $xmax; |
$mapref->extent->maxy = $ymax; |
.
.
.
// Genere la carte de reference $image3=$map->drawReferenceMap();
$ScaleBar_url = $image3->saveWebImage();
What is the right way to draw a reference map...
Thanks...
More information about the MapServer-users
mailing list