[ms4w-users] Mapserver for Windows
padmini godavarthi
godavarthi.padmini at gmail.com
Tue Oct 7 05:24:23 EDT 2008
Hi
Im using Mapserver for windows. I have a problem while displaying the
shapefile on image button. iam not able to see the shape file on image
button,but the shape file was loaded on image control(It displays the num
of layers are 1) if any body is having idea regarding this problem help me
Here is the my mapfille
---------------------
#
# Start of map file
#
MAP
DATAPATTERN "the_geom"
NAME GARFIELD
STATUS ON
SIZE 500 400
EXTENT -633771.227805 1060738.573036 152927.340425 1689379.870746
# EXTENT 633771.227805 1060738.573036 152927.340425 1689379.870746
# EXTENT -233771.227805 860738.573036 62927.340425 1089375.870749
UNITS METERS
SHAPEPATH ""
IMAGECOLOR 218 227 240
IMAGETYPE png
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGBA
EXTENSION "png"
#TRANSPARENT ON
END
OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END
PROJECTION # ALBERS OK
proj=latlong
datum=WGS84
ellps=WGS84
no_defs
END
WEB
#EMPTY "C:\Inetpub\wwwroot\WebSite2\mapCLOnorecords.htm"
#TEMPLATE "C:\Inetpub\wwwroot\WebSite2\mapCLOmap.htm"
#TEMPLATE "http://localhost/clogis/clomap/mapCLOmap_basic.htm"
#TEMPLATE "http://localhost/clogis/clomap/mapBasic.htm"
#MAXSCALE 4460025.787354
IMAGEPATH "C:\Inetpub\wwwroot\MapserverSampleapp\output\"
IMAGEURL "/MapserverSampleapp/output/"
END
##############
### LAYERS ###
##############
### COUNTIES ###
LAYER
NAME linedata
TYPE LINE
STATUS DEFAULT
DATA linedata
# EXTENT -633771.227805 1060738.573036 152927.340425
1689379.870746
PROJECTION #GEOGRAPHIC NAD83
proj=latlong
ellps=WGS84
datum=WGS84
no_defs
END
METADATA
id "1"
END
END
SCALEBAR
LABEL
COLOR 0 0 0
ANTIALIAS true
SIZE small
END
POSITION lr
INTERVALS 5
STATUS embed
SIZE 144 15
STYLE 1
UNITS miles
BACKGROUNDCOLOR 255 0 0
# IMAGECOLOR 255 255 255
COLOR 128 128 128
OUTLINECOLOR 0 0 255
TRANSPARENT ON
END
LEGEND
STATUS on
IMAGECOLOR 230 230 230
LABEL
TYPE truetype
FONT "arial"
COLOR 0 0 0
SIZE 10
ANTIALIAS true
END
END
END
Thanks and Regards
Padmini.
--
View this message in context: http://www.nabble.com/Mapserver-for-Windows-tp19854467p19854467.html
Sent from the ms4w-users mailing list archive at Nabble.com.
More information about the ms4w-users
mailing list