[Mapserver-users] Can't set the status of a layer to be on.

pond bear pond_bear at hotmail.com
Tue Jun 10 13:50:30 PDT 2003


When I set the status of a layer to be default, it shows. But when I set the 
status of the layer to be ON, it disappears. Does anybody know the reason? 
Here is my mapfile:


NAME UMAC
SIZE 658 300
#EXTENT -104.349976 45.824193 -96.408106 49.111218
EXTENT -1398289 -441075 779057 576298
#EXTENT -312640 104632 265792 452180
IMAGECOLOR 255 255 255
SHAPEPATH "../shape/"

PROJECTION
  "proj=laea"
  "ellps=WGS84"
  "lat_0=45"
  "lon_0=-100"
  "x_0=0"
  "y_0=0"
END

WEB
  TEMPLATE "lowerframe.html"
  IMAGEPATH "/usr/local/apache2/htdocs/tmp/"
  IMAGEURL "/tmp/"
END


LAYER # counties
  NAME "counties"
  DATA counties
  #MAXSCALE 8200000
  STATUS default
  TYPE POLYGON
  CLASS
    OUTLINECOLOR 111 111 111
  END
END


LAYER # States
  NAME "States"
  DATA states
  STATUS default
  TYPE POLYGON
  CLASS
    OUTLINECOLOR 0 0 0
  END
END

LAYER # interstate
  NAME "interstate"
  DATA interstate
  STATUS default
  TYPE LINE
  CLASS
    OUTLINECOLOR 0 128 0
  END
END

LAYER # river
  NAME "river"
  DATA rivers
  STATUS default
  TYPE LINE
  CLASS
    OUTLINECOLOR 0 0 128
  END
END

LAYER # cities
  NAME "cities"
  DATA cities
  STATUS on
  TYPE point
  CLASS
    OUTLINECOLOR 255 0 0
  END
END

END

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail




More information about the MapServer-users mailing list