Happy New Year, All, Appended below is a short map file containing two layers: points and grid lines. The projection used by the map as well as the two layers is "Web Mercator".
When drawn with "drawmap.exe" from MapServer 5.6.3, all points and grid lines are shown. Using "drawmap.exe" from 5.7-development, the points are not shown. The 5.7-development "drawmap.exe", with associated DLLs, was downloaded from http://vbkto.dyndns.org/sdk/ on 12/15/2010. I'm using the "release-1600-gdal-mapserver.zip" file created for VS2010/Win32. The same point omission occurs if I use the "mapObj" from mapscript_csharp.dll, load the map file, and execute a "Draw" to generate an output byte array. Is there an error in this map file? Is the difference an artifact of changes planned for 6.0, and if so, where might I find relevant documentation? Thanks, - Phil Anzel (Web Soil Survey developer for USDA/NRCS) ...start of map file... MAP OUTPUTFORMAT NAME 'pnga' MIMETYPE 'image/pnga' DRIVER 'AGG/PNG' EXTENSION 'png' IMAGEMODE 'RGBA' TRANSPARENT TRUE FORMATOPTION 'INTERLACE=OFF' END STATUS ON SIZE 827 511 EXTENT -7908630.38 5546155.24 -7903127.77 5548526.51 UNITS METERS IMAGECOLOR 255 255 255 PROJECTION 'proj=merc' 'a=6378137' 'b=6378137' 'lat_ts=0.0' 'lon_0=0.0' 'x_0=0.0' 'y_0=0' 'k=1.0' 'units=m' 'nadgri...@null' 'north' 'no_defs' END LAYER layer name 'Corner_points' PROJECTION 'proj=merc' 'a=6378137' 'b=6378137' 'lat_ts=0.0' 'lon_0=0.0' 'x_0=0.0' 'y_0=0' 'k=1.0' 'units=m' 'nadgri...@null' 'north' 'no_defs' END # Web Mercator status on type point feature points -7905423.21336607 5547493.76482495 -7905423.21336607 5546270.77237239 -7904200.22091351 5547493.76482495 -7904200.22091351 5546270.77237239 end # end of points end # end of feature class style color 255 0 0 size 7 end # end of style end #end of class end # end of layer layer name 'grid-WM' PROJECTION 'proj=merc' 'a=6378137' 'b=6378137' 'lat_ts=0.0' 'lon_0=0.0' 'x_0=0.0' 'y_0=0' 'k=1.0' 'units=m' 'nadgri...@null' 'north' 'no_defs' END # Web Mercator status on type line class color 0 0 0 end # of class grid labelformat '%9.0f' minarcs 2 maxarcs 6 end # of grid end # of layer 'grid-WM' END # end of MAP ...end of map file... _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users