[mapserver-users] Re: Shape File not appearing

knasia knasia at poczta.fm
Tue Dec 20 01:25:09 EST 2011


My mapfile generates tile which is empty (white).

My mapfile contains a code which is beneath:

MAP
 NAME name	
 STATUS ON
 OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  TRANSPARENT ON
  IMAGEMODE RGB
  EXTENSION "png"
 END
 SIZE 256 256
 EXTENT         -97.238976 41.619778 -82.122902 49.385620
UNITS METERS
SHAPEPATH "/pathToShapes/shapes/"

 WEB
 TEMPLATE "myPage.php"
	IMAGEPATH "/path/"
	IMAGEURL "validURL"
  END

  QUERYMAP
  SIZE 256 256
  STATUS ON
  STYLE HILITE
  COLOR 255 0 0
 END

	LAYER
		NAME map1
			PROJECTION
				"init=epsg:4326"
			END
			TYPE LINE
			STATUS ON
			DATA "waterways" 
			CLASS
				NAME "test"
				OUTLINECOLOR 0 0 0
			END
	
	END #end of layer
 END
END


My shapefiles are in folder shapes and there are 3 files:
waterways.shp
waterways.shx
waterways.dbf

Could you help?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Shape-File-not-appearing-tp6896942p7110856.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list