TutorialMapServer mapfile problem
Jacolin Yves
yjacolin at FREE.FR
Fri Oct 5 00:06:28 PDT 2007
Hi,
It could be a wrong IMAGEURL parameter value :
IMAGEURL "http://localhost/"
Y.
Le Friday 05 October 2007 06:52:58 Hayden Fisher, vous avez écrit :
> Hi All,
>
>
>
> Figured out that it was a mapfile problem however not sure exactly
> what's wrong with it. Could someone take a quick gander, any help
> appreciated.
>
>
>
> MAP
>
> NAME "Zone Samples"
>
> SHAPEPATH "C:\Inetpub\wwwroot\TutorialMapServer\Data"
>
> SIZE 400 400
>
> STATUS ON
>
> EXTENT 1143759 4417539 1146436 4420390
>
> UNITS METERS
>
> FONTSET "fonts\fonts.list"
>
> WEB
>
> IMAGEPATH "C:\Inetpub\wwwroot\TutorialMapServer\temp"
>
> IMAGEURL "C:\Inetpub\wwwroot\TutorialMapServer\temp"
>
> END
>
>
>
> SYMBOL
>
> NAME "circle"
>
> TYPE ellipse
>
> FILLED true
>
> POINTS
>
> 1 1
>
> END
>
> END
>
>
>
> LAYER
>
> NAME "compfun"
>
> TYPE POLYGON
>
> STATUS ON
>
> DATA "compfun"
>
> CLASS
>
> STYLE
>
> COLOR 255 235 190
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> END
>
> END
>
>
>
> LAYER
>
> NAME "zone"
>
> TYPE POLYGON
>
> STATUS ON
>
> DATA "zone"
>
> CLASSITEM "COD"
>
> LABELITEM "NUMLOTT"
>
> CLASS
>
> EXPRESSION ([COD]=103)
>
> STYLE
>
> COLOR 230 50 0
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> END
>
> CLASS
>
> EXPRESSION ([COD]=105 OR [COD]=106 OR
> [COD]=107 OR [COD]=108 OR [COD]=102)
>
> STYLE
>
> COLOR 255 235 230
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> LABEL
>
> COLOR 0 0 0
>
> FONT verdana
>
> TYPE TRUETYPE
>
> SIZE 7
>
> POSITION CC
>
> END
>
> END
>
> CLASS
>
> EXPRESSION ([COD]=109 OR [COD]=101)
>
> STYLE
>
> COLOR 255 196 171
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> END
>
> CLASS
>
> STYLE
>
> COLOR 225 225 225
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> END
>
> END
>
>
>
> LAYER
>
> NAME "vestizioni"
>
> TYPE LINE
>
> STATUS ON
>
> DATA "vestizioni"
>
> CLASS
>
> STYLE
>
> COLOR 0 0 0
>
> SYMBOL 0
>
> END
>
> END
>
> END
>
>
>
> LAYER
>
> NAME "POI"
>
> TYPE POINT
>
> STATUS ON
>
> DATA "POI"
>
> LABELITEM "POI_TIME"
>
> CLASS
>
> SIZE 10
>
> STYLE
>
> COLOR 255 0 0
>
> OUTLINECOLOR 0 0 0
>
> SYMBOL "circle"
>
> END
>
> TEXT ([POI_USER], [POI_TIME])
>
> LABEL
>
> COLOR 255 0 0
>
> FONT verdana
>
> TYPE TRUETYPE
>
> SIZE 7
>
> POSITION LC
>
> WRAP " "
>
> END
>
> END
>
> END
>
> END
>
>
>
>
>
>
>
> Regards,
>
> Hayden Fisher
>
> ________________________________
>
> From: Hayden Fisher
> Sent: Friday, 5 October 2007 12:21 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: TutorialMapServer
>
>
>
> Hi All,
>
>
>
> I have built the site and it is working shows controls nicely, however
> the map is not displaying just unloaded image icon. Have placed in dlls
> into bin directory and this appears to be referencing correctly.
>
>
>
> What could possibly be wrong?
>
>
>
> Regards,
>
> Hayden Fisher
--
Yves Jacolin
---
http://softlibre.gloobe.org
More information about the MapServer-users
mailing list