Fw: [Mapserver-users] missing layer

Lowell Filak lfilak at medinaco.org
Thu Dec 19 07:11:44 PST 2002


Maybe a few things that may help:
Did you already check the webserver error log?
Did you already try including a log in a web object in the mapfile?
Did you already test the setup with a shapefile as opposed to a postgis connection?
Did you already double checked the extents of the layer to make sure they match the extents specified in the mapfile?
Lowell F.

The following message was sent by "nida Khan" <nida at webstar.co.uk> on Thu, 19 Dec 2002 11:32:15 -0000.

> Anyone have any idea what could be the reason for this particular
> problem?????
> 
> I really appreciate any input!!!!
> 
> Desperate for a solution
> Regards
> Nida.
> 
> 
> 
> > 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
> 
> _______________________________________________
> 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