Trying to setup GIF overlays on GeoTIFF

Dennis Megarry dennis at MEGARRY.COM
Sat Jun 18 20:12:25 PDT 2005


Just tried and no go.. I can turn off the GeoTIFF layers and the GIF simply
will not show..   :(

Dennis

----- Original Message ----- 
From: "Prashanth Ram" <pram123 at GMAIL.COM>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Saturday, June 18, 2005 11:02 PM
Subject: Re: [UMN_MAPSERVER-USERS] Trying to setup GIF overlays on GeoTIFF


Dennis:
   Have you tried changing the status statement from ON to DEFAULT?
-Prashanth

-- 
HTMLX.com
Mapserver Hosting, Mapscript Hosting, PHP Hosting
PostgreSQL w/PostGIS extension enabled Hosting


On 6/18/05, Dennis Megarry <dennis at megarry.com> wrote:
> I have some GIF files with associated world file (gfw).
>
> What I'm trying to do is use them as overlays for my GeoTIFF's but I can
> not seem to get them to appear..  Can anyone tell me if my map files is
the
> error?
>
> MAP
>   NAME "OHIO"
>   STATUS ON
>   EXTENT -440189.399 -273483.916 318655.347 242390.102
>   SIZE 800 500
>   SHAPEPATH "./data"
>   SYMBOLSET "./etc/symbols.sym"
>   FONTSET "./etc/fonts.txt"
>   IMAGETYPE PNG
>   IMAGECOLOR 255 255 255
>   UNITS METERS
>   WEB
>     MINSCALE 112459
>     MAXSCALE 1e+07
>     IMAGEPATH "/tmp/ms_tmp/"
>     IMAGEURL "/ms_tmp/"
>     METADATA
>     END
>   END
>   QUERYMAP
>     STATUS OFF
>     SIZE -1 -1
>     COLOR 255 0 0
>     STYLE HILITE
>   END
>   LEGEND
>     STATUS ON
>     IMAGECOLOR 255 255 255
>     POSITION LL
>     KEYSIZE 18 12
>     KEYSPACING 5 5
>     TEMPLATE "/opt/fgs/apps/maplab-
> 2.2/htdocs/mapbrowser/legend_template.html"
>     LABEL
>       TYPE BITMAP
>       SIZE MEDIUM
>       OFFSET 0 0
>       BUFFER 0
>       MINDISTANCE -1
>       MINFEATURESIZE -1
>       COLOR 0 0 89
>       PARTIALS TRUE
>       FORCE FALSE
>     END
>   END
>   SCALEBAR
>     STATUS ON
>     COLOR 255 255 255
>     OUTLINECOLOR 0 0 0
>     BACKGROUNDCOLOR 0 0 0
>     IMAGECOLOR 255 255 255
>     UNITS KILOMETERS
>     INTERVALS 5
>     SIZE 150 5
>     STYLE 0
>     POSITION LL
>     LABEL
>       TYPE BITMAP
>       SIZE SMALL
>       OFFSET 0 0
>       BUFFER 0
>       MINDISTANCE -1
>       MINFEATURESIZE -1
>       COLOR 0 0 0
>       PARTIALS TRUE
>       FORCE FALSE
>     END
>   END
>   OUTPUTFORMAT
>     NAME "png"
>     MIMETYPE "image/png"
>     DRIVER "GD/PNG"
>     EXTENSION "png"
>     IMAGEMODE PC256
>     TRANSPARENT FALSE
>   END
>   LAYER
>     NAME "OHIO_North"
>     STATUS ON
>     DATA "OHIO_North.tif"
>     TYPE RASTER
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "DESCRIPTION"    "MAP/OHIO North"
>     END
>   END
>   LAYER
>     NAME "OHIO_South"
>     STATUS ON
>     DATA "OHIO_South.tif"
>     TYPE RASTER
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "DESCRIPTION"    "MAP/OHIO South"
>     END
>   END
>   LAYER
>     NAME "OHIO_0"
>     STATUS ON
>     DATA "OHIO_0.gif"
>     TYPE RASTER
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "DESCRIPTION"    "Weather/Ohio"
>     END
>   END
> END
>
>
> Dennis
>



More information about the MapServer-users mailing list