[mapserver-users] Display GeoTIFF raster data
Stefan Stern
mail2stern at gmx.net
Wed Jul 31 08:13:00 PDT 2002
Hi,
So far I create the images 'on fly' and call them in a source tag of a
html file:
####
<img border="1"
src="/cgi-bin/mapserv?map=/home/userdirk/public_html/URGENT/subset.map&mode=map">
####
cheers,
Dirk
Hankley, Chip wrote:
>Is that you're entire mapfile? If so, you seem to be missing some critical
>pieces:
>
>First off, you need a WEB segment that tells Mapserver where to put the
>images... so something like:
>
>WEB
> TEMPLATE my_template.html
> IMAGEPATH "C:\Inetpub\wwwroot\tmp\"
> IMAGEURL "/tmp/"
>END
>
>I don't think this is necessary, but it's a good idea to specify the
>mapunits in your header section:
>
>UNITS meters
>
>Once this is in place, you should see *something* appear in your /tmp (or
>whatever name you set up) directory when MapServer executes. Your image may
>not render for some other reason... but at least you should be seeing a
>blank PNG or GIF or JPEG or whatever flavor of image you specify show up in
>that directory. My hunch is that is NOT happening now.
>
>Chip
>
>
More information about the MapServer-users
mailing list