VS: [UMN_MAPSERVER-USERS] Shape layer is not shown. Please help

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Wed Mar 1 10:07:23 EST 2006


Hi,
 
I suppose your extents are OK, so the next that comes to my mind is that possibly you do not have enough information in your mapfile about how you would like to present your points. It might be helpful to add something to your CLASS object, like COLOR with some r g b values, or maybe a STYLE object in here:
 CLASS 
        NAME "Brunnen"
    END


________________________________

Lähettäjä: UMN MapServer Users List puolesta: Baris YILMAZ
Lähetetty: ke 1.3.2006 16:45
Vastaanottaja: MAPSERVER-USERS at LISTS.UMN.EDU
Aihe: [UMN_MAPSERVER-USERS] Shape layer is not shown. Please help


Hi,

I have a map file, which has two layers, one a raster layer, and the other a shapefile. But the raster layer is shown whereas the layer Brunnen (shapefile) is not shown. Can anyone help? I checked the path of the shape file and it is ok.. Can anyone help me please? Is there anything missing in the layer definitions of the layer "Brunnen"? My shapefile contains just cross symbols. 

Thank you.
Baris


Below my mapfile;

MAP
  EXTENT 3439438.15784499212000 5501464.74457754190000 3440160.4830 5511464.6416
  IMAGECOLOR 240 240 240
  IMAGETYPE png
  SHAPEPATH "C:/ms4w/apps/Data/KartenSHP/GWMshp/"
  SIZE 500 400
  STATUS ON
  UNITS METERS
  NAME "Hessischer Ried"

  OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "GD/PNG"
    EXTENSION "png"
    IMAGEMODE "PC256"
    TRANSPARENT FALSE
  END

  PROJECTION
    "proj=lcc"
    "lat_1=32"
    "lat_2=44"
    "lat_0=38"
    "lon_0=-100"
    "x_0=0"
    "y_0=0"
    "ellps=GRS80"
    "datum=NAD83"
  END
  LEGEND
      IMAGECOLOR 255 255 255
    KEYSIZE 20 10
    KEYSPACING 5 5
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIAL S TRUE
    END
    POSITION LL
    STATUS EMBED
    TEMPLATE "C:/ms4w/apps/maplab-2.2.1/htdocs/mapbrowser/legend_template.html"
  END

  QUERYMAP
      COLOR 255 255 0
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END

  SCALEBAR
      COLOR 0 0 0
    IMAGECOLOR 255 255 255
    INTERVALS 4
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIA LS TRUE
    END
    POSITION LL
    SIZE 200 3
    STATUS OFF
    STYLE 0
    UNITS MILES
  END

  WEB
    IMAGEPATH "C:/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
      METADATA
      END
    QUERYFORMAT text/html
  END

  LAYER
    DATA "C:\ms4w\apps\Data\KartenSHP\Karten\TK25\60xx\6015SI_96.tif"
      METADATA
      END
    NAME "Ried"
    SIZEUNITS METERS
    STATUS ON
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
  END

  LAYER
    NAME "Brunnen"
    STATUS DEFAULT
     DATA "Brunnen"
    TYPE POINT
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCEUNITS PIXELS
     METADATA
    END
    PROJECTION
           "proj=lcc"
          "lat_1=32"
        "lat_2=44"
        "lat_0=38"
        "lon_0=-100"
        "x_0=0"
        "y_0=0"
        "ellps=GRS80"
        "datum=NAD83"
    END
    CLASS 
        NAME "Brunnen"
    END
 END


END



________________________________

Yahoo! Mail
Bring photos to life! New PhotoMail <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com> makes sharing a breeze. 



More information about the mapserver-users mailing list