[Mapserver-users] missing layer

nida Khan nida at webstar.co.uk
Wed Dec 18 11:42:45 EST 2002


To add on

One diffrence I found in the data I was using before and now is the type.
Although both are line geo.
but old table its "MultilineString" and fresh table has "LineString"

Waiting for your replies
Regards
Nida.


----- Original Message ----- 
From: "nida Khan" <nida at webstar.co.uk>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, December 18, 2002 1:52 PM
Subject: [Mapserver-users] missing layer


> Hi List,
> 
> I'm having problem in viewing data from my tables. mapserver print blank
> image.
> 
> It creates a file in tmp directory, so its not permssion problem. I've
> checked the extents using Arcviewer, that seems to be fine as well.
> 
> For some reason I cant c the image but I can c the legend details!.
> here is content of my mapfile.
> I lost at this point :(.
> 
> NAME WALES
> EXTENT 145300.0 396000.0 366100.0 166000.0
> SIZE 400 400
> FONTSET "/var/www/html/wales/fonts/fonts.list"
> UNITS KILOMETERS
> 
> LEGEND
>   STATUS ON
>   LABEL
>     COLOR 0 0 0
>     SIZE MEDIUM
>     ANTIALIAS TRUE
>   END
> END
> 
> 
> SCALEBAR
>   IMAGECOLOR 250 250 250
>   OUTLINECOLOR 0 0 0
>   LABEL
>     COLOR 250 250 250
>     SIZE small
>   END
>   STYLE 1
>   SIZE 200 2
>   COLOR 200 200 200
>   UNITS KILOMETERS
>   INTERVALS 4
>   TRANSPARENT ON
> STATUS ON
> END
> 
> 
> SYMBOL
>   NAME 'circle'
>   TYPE ELLIPSE
>   POINTS 1 1 END
>   FILLED TRUE
> END
> 
> LAYER # start of the "linelayer" layer object
>   CONNECTIONTYPE postgis
>   NAME "linelayer"
>   CONNECTION "host=127.0.0.1 port=5432 user=postgres password=blah
> dbname=test"
>   DATA "wkb_geometry  from bl2000_link"
>   STATUS DEFAULT
>   TYPE LINE
>   LABELITEM "tile_ref"
>   CLASS
>     NAME "linelayer"
>     COLOR 50 200 200
>     OUTLINECOLOR 0 0 0
>     LABEL
>       POSITION CC
>       TYPE TRUETYPE
>       FONT arial
>       SIZE 6
>       OUTLINECOLOR 255 255 255
>       BACKGROUNDCOLOR 255 255 204
>       COLOR 0 0 0
>     END #End of LABEL
>   END # End of Class
>       #TEMPLATE "codepoint_template.html"
> END # end of layer object
> 
> END # end of map file
> 
> 
> Regards
> Nida.
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list