Shape layer is not shown. Please help

Baris YILMAZ baris_999 at YAHOO.COM
Wed Mar 1 09:45:56 EST 2006


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
      PARTIALS 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
      PARTIALS 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  makes sharing a breeze. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060301/a93a8f29/attachment.html


More information about the mapserver-users mailing list