[mapserver-users] Layer->Transform
Tamas Szekeres
szekerest at gmail.com
Mon Jun 16 12:50:00 PDT 2008
I guess it doesn`t work with the raster layers. You should instead use
a point layer with a pixmap symbol that referes to your logo image.
Best regards,
Tamas
2008/6/16 Kenne, Bryon K. <BKenne at iso.com>:
> No Luck.
>
> I am running the latest version of MS4W. Here is my mapfile (The layer
> 'logo' is at the very bottom of the file):
>
> #
> # Start of WMS Server map file
> #
> #
> NAME ISO_WMS_server
> STATUS ON
> SIZE 400 300
> SYMBOLSET ../etc/symbols.sym
> ## ESPG:4326 extents: -WGS84
> EXTENT -182.52 14.397 -61.863 74.187
> UNITS dd
> SHAPEPATH "../iso_data"
> IMAGECOLOR 255 255 255
> FONTSET ../etc/fonts.txt
>
>
> #
> # Start of web interface definition
> #
> WEB
> #
> # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the
> root
> # of the drive where the .MAP file resides.
> #
> IMAGEPATH "/ms4w/tmp/ms_tmp/"
> IMAGEURL "/ms_tmp/"
> METADATA
> "wms_title" "ISO Server"
> "wms_onlineresource"
> "http://i63157djc1/cgi-bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs/iso_lo
> go.map"
> "wms_srs" "EPSG:4326"
> "wms_feature_info_mime_type" "text/html"
> "wms_abstract" "Cool"
> END
> END
>
> PROJECTION
> "init=epsg:4326"
> END
>
> #
> # Start of reference map
> #
> REFERENCE
> IMAGE images/keymap.png
> ## ESPG:4326 extents: -WGS84
> EXTENT -182.52 14.397 -61.863 74.187
> STATUS ON
> COLOR -1 -1 -1
> OUTLINECOLOR 255 0 0
> SIZE 120 90
> END
>
> #
> # Start of legend
> #
> LEGEND
> KEYSIZE 18 12
> LABEL
> TYPE BITMAP
> SIZE MEDIUM
> COLOR 0 0 89
> END
> STATUS ON
> END
>
> #
> # Start of scalebar
> #
> SCALEBAR
> IMAGECOLOR 255 255 255
> LABEL
> COLOR 0 0 0
> SIZE SMALL
> END
> SIZE 200 5
> COLOR 255 255 255
> BACKGROUNDCOLOR 0 0 0
> OUTLINECOLOR 0 0 0
> UNITS kilometers
> INTERVALS 5
> STATUS ON
> END
>
>
> QUERYMAP
> STYLE HILITE
> COLOR 255 0 0
> END
>
>
> #
> # Start of layer definitions
> #
>
>
> LAYER
> NAME Logo
> METADATA
> "wms_title" "Logo"
> END
> #SIZEUNITS pixels
> TRANSFORM FALSE
> DATA "la_logo.png"
> STATUS DEFAULT
> TYPE RASTER
> OFFSITE 0 0 0
> END # Layer
>
> END # Map File
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Tamas
> Szekeres
> Sent: Monday, June 16, 2008 2:32 PM
> To: Kenne, Bryon K.
> Cc: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] Layer->Transform
>
> Hi,
>
> How about using the way described in:
> http://mapserver.gis.umn.edu/development/rfc/ms-rfc-14
>
>
> Best regards,
>
> Tamas
>
>
> 2008/6/16 Kenne, Bryon K. <BKenne at iso.com>:
>> Hopefully a quick question:
>>
>>
>>
>> If I set Transform to False, the result is the png (or tif) graphic is
> drawn
>> in the upper left, as you would expect. How do I get it to draw in
> the
>> lower left? I have attempted "false ll", "ll"...can't seem to get it
> to
>> work. The graphic just disappears or the mapfile has parse error.
>>
>>
>>
>> Anybody have any suggestions?
>>
>>
>>
>> Sincerely,
>>
>>
>>
>> Bryon Kenne
>>
>> ISO - Risk Decision Services
>> 545 Washington Blvd. (18-12), Jersey City, NJ 07710-1686
>> ( (201) 469-2525; FAX (201) 469-4123
>> + mailto:bkenne at iso.com
>> Visit our web site at http://www.iso.com
>>
>>
>>
>>
>> This email is intended for the recipient only. If you are not the
> intended
>> recipient please disregard, and do not use the information for any
> purpose.
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> This email is intended for the recipient only. If you are not the intended recipient please disregard, and do not use the information for any purpose.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list