Example Maps
Nicole Faust
n_faust at INFORMATIK.UNI-KL.DE
Thu Jan 27 06:58:40 PST 2005
Hello,
I've got the same problem that I couldn't display the
map in my browser.
This is the shapepath of the .MAP file:
SHAPEPATH "/home/n_faust/software/projekt/htdocs/karten"
This is the WEB section of the .MAP file:
WEB
IMAGEPATH "/home/n_faust/software/projekt/htdocs/karten/tmp/"
IMAGEURL"/karten/tmp/"
END
If I use the .PHTML files instead of the .MAP files, the mapserver
generates a output image file, which is stored in the directory named
by IMAGEURL.
The directory /home/n_faust/software/projekt/htdocs is the DocumentRoot
of Apache.
Did I made something wrong?
Regards,
Nicole
On Wed, 26 Jan 2005, Ingo Paulsen wrote:
> Hello,
>
> I fixed the problem by replacing the IMAGEURL path with IMAGEPATH entry.
> Did you take a look in your /var/www/html/tmp/ directory? Are there any
> dynamically created .png files?
>
> WEB
> IMAGEPATH "/var/www/html/tmp/"
> IMAGEURL "/var/www/html/tmp/"
> END
>
> I suppose you have installed the shapefiles in /var/www/html/data.
>
>
> Best regards
> Ingo
>
>
> > I am also using the examples, and I want to make the usa.map work but
> > it doesn't.
> > Does it work for you?
> > Did you see anything wrong?
> > I am working with:
> >
> > MapServer version 4.4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> > SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=EPPL7
> > INPUT=GDAL INPUT=SHAPEFILE
> >
> > So I think that if I have gdal it should recognize .tif files and
> > should work. But it doesn't
>
>
More information about the MapServer-users
mailing list