Example Maps

David Fawcett David.Fawcett at STATE.MN.US
Wed Jan 26 09:32:34 EST 2005


Jose Luis,

IMAGEURL is a URL, not a path.  I don't work on nix that much, but my
guess is that based on your path, it would be something like "/tmp/" or
"/html/temp/"

David.


See refernce
http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#web

David J. Fawcett
MN Office of Environmental Assistance

>>> Jose Luis Gonzalez <joseluismapserver at YAHOO.ES> 1/26/2005 5:03:09
AM >>>
I have the .tif and shape files and the results (.png) files in the
same directory.
The only thing is that the IMAGEURL path I put is as in  the example:
not with the complete path. I will try it putting all the path, but I am
not very sure it will work.

I suspect that it doesn't find the correct files that mapserver needs
to process .tiff files. I compiled it as you seee with gdal, but I am
not very sure if  he really can get it. I don't know if he can really
manage those type of files.

Thank you

Jose Luis

Ingo Paulsen <paulseni at UNI-DUESSELDORF.DE> 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