[mapserver-users] Output Image Name

Varunesh Mishra varunesh.mishra at gmail.com
Tue Feb 22 00:20:47 PST 2011


hey

Currently my mapserver is creating image name randomly, what changes do I
have to do in my mapscript so that it uses output image name given by me.
Please help as soon as possible

Varunesh

*My map script is given below*

MAP
NAME "img"
SIZE 400 300
CONFIG "PROJ_LIB" "/usr/share/proj/"
PROJECTION
    "proj=longlat"
    "ellps=WGS84"
    "datum=WGS84"
    "no_defs"
END
SYMBOLSET "/var/www/ganga/symbol.sym"
IMAGECOLOR 249 245 200
IMAGETYPE png
WEB
   TEMPLATE "/var/www/ganga/test.html"
   IMAGEPATH "/var/www/ganga/output/"
   IMAGEURL "output/"
   METADATA

       "wms_srs" "EPSG:4326"

   END
END
EXTENT 78.050000 26.610000 80.270000 29.040000
LAYER
  NAME my_shapefile
  TYPE POINT
  DATA "/var/www/ganga/dolphin.shp"
  STATUS default
  CLASS
    STYLE
        SYMBOL "circle"
        SIZE 7
    END
    NAME "dolphin"
    COLOR 0 0 0
    OUTLINECOLOR 0 0 0
   END
   PROJECTION

        "init=epsg:4326"

    END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110222/acf9d2e3/attachment.htm>


More information about the MapServer-users mailing list