one layer doesn't show up???

w m wokar1 at YAHOO.COM
Fri Mar 11 00:45:52 EST 2005


Hi,
i have a mapfile which returns no errors whatsoever.
all the layers work except one, the hotspot layer. if i turn all the other layers off, the hotspot layer still doesnt show up. its type point.  it returns no errors only returns a white page if hotspot layer is the only layer turned on.  i did ogr info and everything is fine. i created this shp file myself in postgresql by using pgsql2shp

i have no clue wat the problem is.....

u can check out the map here http://132.205.108.60/cgi-bin/mapserv?map=tut4.map&mode=map

thank You
wokar

NAME P1EX1
EXTENT -73.992437 45.138200 -73.174263 45.861800
# EXTENT -97.238976 41.619778 -82.122902 49.38562
#EXTENT 407.997812 4103475.750 443135.000 415.250
#EXTENT 407.997812 4103475.750 443135.000 4157027.250
#EXTENT -4362443.743696 3864199.098181 2916998.546244 9336805.43055
#EXTENT -79.533992 44.991472 -61.467212 54.869379

SIZE  600 700
SHAPEPATH "/var/www/cgi-bin/montreal/"
WEB
                IMAGEPATH "/var/www/html/tmp/"
                IMAGEURL "/tmp/"
        END

LAYER # start of the "land" layer object
         NAME "land"
        DATA V0LLand
        STATUS DEFAULT
        TYPE POLYGON
        CLASS
        COLOR 56 234 254
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object



LAYER # start of the "cropland" layer object
         NAME "cropland"
        DATA V0CCroplands
        STATUS DEFAULT
        TYPE POLYGON
        CLASS
        COLOR 213 172 13
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object

LAYER # start of the "grass" layer object
         NAME "grass"
        DATA V0GGrasslands
        STATUS DEFAULT
        TYPE POLYGON
        CLASS
        COLOR -255 120 60
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object


LAYER # start of the "trees" layer object
         NAME "trees"
        DATA V0TTrees
        STATUS DEFAULT
        TYPE POLYGON
        CLASS
        COLOR 101 177 105
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
 LAYER # start of the "rivers" layer object
         NAME "rivers"
        DATA V0WWaterCourses
        STATUS DEFAULT
        TYPE LINE
        CLASS
        COLOR 102 215 238
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "inland water bodies" layer object
         NAME "water bodies"
        DATA V0IInlandWaterBodies
        STATUS DEFAULT
        TYPE LINE
        CLASS
        COLOR 0 0 222
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object

LAYER # start of the "majorroads" layer object
         NAME "majorroads"
        DATA V0MMajorRoads
        STATUS DEFAULT
        TYPE LINE
        CLASS
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "urban areas" layer object
         NAME "urban areas"
        DATA V0UUrbanAreas
        STATUS DEFAULT
        TYPE POLYGON
        CLASS
        COLOR 136 137 142
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object

LAYER # start of the "bridges" layer object
         NAME "bridges"
        DATA V0BBridges
        STATUS DEFAULT
        TYPE LINE
        CLASS
        COLOR 237 251 60
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "hotspots" layer object
         NAME "hotspots"
        DATA Hotspots
        STATUS DEFAULT
        TYPE POINT
        CLASS
        COLOR  255 255 255
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "Airport1" layer object
         NAME "Airport1"
        DATA Airports1
        STATUS DEFAULT
        TYPE POINT
CLASS
        COLOR 237 251 60
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "hotspots" layer object
         NAME "hotspots"
        DATA Hotspots
        STATUS DEFAULT
        TYPE POINT
        CLASS
        COLOR  255 255 255
        OUTLINECOLOR 0 0 0

END # end of class object
END # end of layer object
LAYER # start of the "Airport1" layer object
         NAME "Airport1"
        DATA Airports1
        STATUS DEFAULT
        TYPE POINT
        CLASS
        COLOR 249 0 0
        OUTLINECOLOR 0 0 0
END # end of class object
END # end of layer object

#LAYER # start of the "hotspots" layer object
 #        NAME "hotspots"
  #      DATA Hotspots
    #    STATUS DEFAULT
      #  TYPE POINT
      #  CLASS
       # COLOR  255 255 255
       # OUTLINECOLOR 0 0 0

#END # end of class object
#END # end of layer object
END # end of map file





---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050310/674a3042/attachment.html


More information about the mapserver-users mailing list