YES! I find it odd that points are the only type that require a separately defined symbol in order to see a graphical product.I was able to draw polygons and lines without this extra step. But thanks so much for pointing this out, now I can draw all my data!
Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 > From: [email protected] > To: [email protected]; [email protected] > Subject: Re: [mapserver-users] Still can't draw points > Date: Mon, 5 Aug 2013 19:12:21 +0000 > > Hi, > > You have still not defined the symbol "square" that you want to used for > drawing. > Here comes a quick and not polished example that I have modified from your > mapfile. It shows points for me with OpenJUMP with my data "roskis.shp". > > > > MAP > DEBUG 5 > CONFIG "MS_ERRORFILE" "c:\ms4w\tmp\points_error.txt" > CONFIG "PROJ_LIB" "C:/ms4w/proj/nad" > EXTENT -180 -90 180 90 > #IMAGECOLOR 153 179 204 > IMAGETYPE PNG24 > SHAPEPATH "c:\ms4w\tmp" > #FONTSET data/fonts/fonts.list > UNITS DD > SIZE 1000 500 # Added > > PROJECTION > "init=epsg:4326" > END > > OUTPUTFORMAT > NAME png > DRIVER "AGG/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" > END > > WEB > METADATA > "ows_enable_request" "*" > "wms_bbox_extended" "true" > "wms_srs" "EPSG:4326" > "wms_onlineresource" > "http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\apps\points.map" > "wms_title" "Draw points example" > END > END > SYMBOL > NAME 'CIRCLE' > TYPE ellipse > FILLED true > POINTS > 1 1 > END > END > > LAYER > NAME "city" > TYPE POINT > STATUS DEFAULT > DATA "c:\data\osm\waste_baskets.shp" > METADATA > "wms_srs" "EPSG:4326" > END > CLASS > STYLE > SYMBOL "CIRCLE" > SIZE 10 > COLOR 255 1 1 > OUTLINECOLOR 0 0 0 > END > END > END > END > > -Jukka Rahkonen- > > ________________________________ > Lähettäjä: [email protected] > [[email protected]] käyttäjän Michael McInnis > [[email protected]] puolesta > Lähetetty: 5. elokuuta 2013 21:05 > Vastaanottaja: [email protected] > Aihe: [mapserver-users] Still can't draw points > > > > Dear mapserver-users, > > > This is a follow on question to my post friday. I made some changes suggested > by Brent Fraser > > but still haven't had a graphical success. I think something very basic is > wrong with my set up for points. > > Here is my new attempt, which still fails. I looked in the error log and it > seems to be treating the SYMBOL 'square' as a shapefile and says "unable to > open file". > > Thanks > > MAP > DEBUG 5 > CONFIG "MS_ERRORFILE" "/media/D_Drive/www/gis/logs/error_file.log" > EXTENT -180 -90 180 90 > #IMAGECOLOR 153 179 204 > IMAGETYPE PNG24 > SHAPEPATH data/ > FONTSET data/fonts/fonts.list > UNITS DD > SIZE 1000 500 # Added > > PROJECTION > "+proj=longlat +ellps=WGS84" > END > > OUTPUTFORMAT > NAME png > DRIVER "AGG/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" > END > > WEB > IMAGEPATH "/media/D_Drive/www/gis/tmp/" > IMAGEURL "gis/tmp/" > END > > LAYER > NAME "city" > TYPE POINT > STATUS DEFAULT > DATA "CityALL" > CLASS > STYLE > SYMBOL "square" > SIZE 10 > COLOR 255 1 1 > OUTLINECOLOR 0 0 0 > END > END > END > END > > Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
