Reference Map problem

Philippe Gondek philippe.gondek at GMAIL.COM
Fri May 20 04:41:32 PDT 2005


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