Fantastic!&nbsp;&nbsp; Good work guys!!!<br>
<br>
I noticed in the bugzilla that the buffer operation is available only
to SWIG mapscript varieties, and not yet PHP Mapscript.&nbsp; Can
someone comment on the timing of this improvement?&nbsp; Or am I
missing something in the code?<br>
<br>
It's a feature I'd love to have...some would say need to have. <br>
<br>
Cheers, and see you all soon!<br>
<br>
Liz<br><br><div><span class="gmail_quote">On 6/14/05, <b class="gmail_sendername">Daniel Morissette</b> &lt;<a href="mailto:dmorissette@dmsolutions.ca">dmorissette@dmsolutions.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
MapServer 4.6.0 has just been released, just in time for MUM3. This new<br>release represents the culmination of over two months of beta releases<br>and six months of development. Highlights of new features include:<br><br>
&nbsp;&nbsp; * GEOS support<br>&nbsp;&nbsp; * GML 3.1.0 support from WFS server<br>&nbsp;&nbsp; * Improved threading support when using various MapScript flavors<br>&nbsp;&nbsp; * SVG output support<br>&nbsp;&nbsp; * Several enhancements to Oracle Spatial support (3D data, geodetic
<br>queries, getextent and Oracle compound polygons)<br>&nbsp;&nbsp; * Unix and Windows build improvements<br>&nbsp;&nbsp; * Can now build PHP/MapScript without the PHP source (PHP regex<br>issues have been resolved)<br>&nbsp;&nbsp; * Various MapScript bug fixes and improvments (very few API changes)
<br>&nbsp;&nbsp; * Gobs of other bug fixes and improvements.<br><br>I included below a more detailed list of improvements and fixes since<br>version 4.4 (excerpt from the HISTORY.TXT).<br><br>The source package is available at<br><a href="http://mapserver.gis.umn.edu/dload.html">
http://mapserver.gis.umn.edu/dload.html</a>. Prebuilt binaries for the<br>various platforms, as well as the final version of the MapServer 4.6<br>documentation will be available shortly at the usual locations.<br><br>Congrats and thanks to all of the developers, testers and doc
<br>contributors who helped make this release possible.<br><br>Daniel<br><br><br><br>Version 4.6.0 (2005-06-14)<br>--------------------------<br><br>- Bug 1163 : Filter Encoding spatial operator is Intersects<br>&nbsp;&nbsp; and not Intersect.
<br><br>- Fixed GEOS to shapeObj for multipolgon geometries.<br><br><br>Version 4.6.0-rc1 (2005-06-09)<br>------------------------------<br><br>- Bug 1375: Fixed seg fault in mapscript caused by the USE_POINT_Z_M flag.<br>
&nbsp;&nbsp; This flag was not carried to the mapscript Makefile(s).<br><br>- Bug 1367: Fixed PHP MapScript's symbolObj-&gt;setPoints() to correctly<br>&nbsp;&nbsp; set symbolObj-&gt;sizex/sizey<br><br>- Bug 1373: Added $layerObj-&gt;removeClass() to PHP MapScript (was already
<br>&nbsp;&nbsp; in SWIG MapScript)<br><br><br>Version 4.6.0-beta3 (2005-05-27)<br>--------------------------------<br><br>- Bug 1298 : enable Attribution element in wms Capabilities XML<br><br>- Bug 1354: Added a regex wrapper, allowing MapServer to build with PHP
<br>&nbsp;&nbsp; compiled with its builtin regex<br><br>- Bug 1364: HTML legend templates: support [if] tests on &quot;group_name&quot; in<br>&nbsp;&nbsp; leg_group_html blocks, and for &quot;class_name&quot; in leg_class_html blocks.<br><br>
- Bug 1149: From WMS 1.1.1, SRS are given in individual tags in root Layer<br>&nbsp;&nbsp; element.<br><br>- First pass at properly handling XML exceptions from CONNECTIONTYPE WMS<br>&nbsp;&nbsp; layers. Still needs some work. (bug 1246)<br>
<br>- map.h/mapdraw.c: removed MAX/MIN macros in favour of MS_MAX/MS_MIN.<br><br>- Bug 1341, 1342 : Parse the unit parameter for DWithin filter request.<br>&nbsp;&nbsp; Set the layer tolerance and toleranceunit with paramaters parsed.
<br><br>- Bug 1277 : Support of multiple logical operators in Filter Encoding.<br><br>- mapwcs.c: If msDrawRasterLayerLow() fails, ensure that the error message<br>&nbsp;&nbsp; is posted as a WCS exception.<br><br>- Added experimental support for &quot;labelcache_map_edge_buffer&quot; metadata to
<br>&nbsp;&nbsp; define a buffer area with no labels around the edge of a map (bug 1353)<br><br><br>Version 4.6.0-beta2 (2005-05-11)<br>--------------------------------<br><br>- Bug 179 :&nbsp;&nbsp;add a small buffer around the cliping rectangle to
<br>&nbsp;&nbsp; avoid lines around the edges.<br><br>- Finished code to convert back and forth between GEOS geometries.<br>Buffer and<br>&nbsp;&nbsp; convex hull operations are exposed in mapscript.<br><br>- fontset.fonts hash now exposed in mapscript (bug 1345).
<br><br>- Bug 1336 : Retreive distance value for DWithin filter request<br>&nbsp;&nbsp; done with line and polygon shapes/<br><br>- Bug 985 / 1015: Don't render raster layers as classified if none of<br>&nbsp;&nbsp; the classes has an expression set (gdal renderer only).
<br><br>- Bug 1344: Fixed several issues in writing of inline SYMBOLS when saving<br>&nbsp;&nbsp; mapfile (missing quotes around CHARACTER and other string members of<br>SYMBOL<br>&nbsp;&nbsp; object, check for NULLs, and write correct identifiers for POSITION,
<br>&nbsp;&nbsp; LINECAP and LINEJOIN).<br><br><br>Version 4.6.0-beta1 (2005-04-26)<br>--------------------------------<br><br>- Bug 1305: Added support for gradient coloring in class styles<br><br>- Bug 1335 : missing call to msInitShape in function msQueryByShape
<br><br>- Bug 804 : SWF output : Make sure that the layer index is consistent<br>&nbsp;&nbsp; when saving movies if some of the layers are not drawn (because the<br>&nbsp;&nbsp; status is off or out of scale ...)<br><br>- Bug 1332 - shptreevis.c
: fixed setting of this_rec, as the output dbf<br>&nbsp;&nbsp; file was not getting any records at all.<br><br>- Fixed <a href="http://Makefile.vc">Makefile.vc</a> to make .exe files depend on the DLL, so if the DLL<br>&nbsp;&nbsp; fails to build, things will stop.&nbsp;&nbsp;Avoids the need for unnecessary
<br>&nbsp;&nbsp; cleans on win32.&nbsp;&nbsp;Also fixed the rule for MS_VERSION for mapscriptvars.<br><br>- Bug 1262 : the SERVICE parameter is now required for wms and wfs<br>&nbsp;&nbsp; GetCapbilities request. It is not required for other WMS requests.
<br>&nbsp;&nbsp; It is required for all WFS requests.<br><br>- Bug 1302 : the wfs/ows_service parameter is not used any more. The<br>&nbsp;&nbsp; service is always set to WFS for WFS layers.<br><br>- Bug 791: initialize some fields in msDBFCreate() - avoids crashes in
<br>&nbsp;&nbsp; some circumstances.<br><br>- Bug 1329 : Apply sld named layer on all layers of the same group<br><br>- Bug 1328 : support style's width parameter for line and polygon layers.<br><br>- Bug 564: Fixed old problem with labels occasionally drawn upside down
<br><br>- Bug 1325: php mapscript function $class-&gt;settext needs only 1 argument.<br><br>- Bug 1319: Fixed mutex creation (was creator-owned) in mapthread.c. win32<br>&nbsp;&nbsp; issue only.<br><br>- Bug 1103: Set the default tolerance value based on the layer type.
<br>&nbsp;&nbsp; The default is now 3 for point and line layers and 0 for all the others.<br><br>- Bug 1244: Removing Z and M parameter from pointObj by default. A new<br>&nbsp;&nbsp; compilation option is available to active those option<br>
--enable-point-z-m.<br>&nbsp;&nbsp; This gives an overall performance gain around 7 to 10%.<br><br>- Bug 1225: MapServer now requires GD 2.0.16 or more recent<br><br>- MapScript: shapeObj allocates memory for 4 value strings,<br>shapeObj.setValue
()<br>&nbsp;&nbsp; lets users set values of a shapeObj.<br><br>- MapScript: imageObj.getBytes() replaces imageObj.write() (bugs 1176,<br>1064).<br><br>- Bug 1308: Correction of SQL expression generated on wfs filters for<br>&nbsp;&nbsp; postgis/oracle layers.
<br><br>- Bug 1304: Avoid extra white space in gml:coordinates for gml:Box.<br><br>- mapogr.c: Insure that tile index reading is restarted in<br>&nbsp;&nbsp; msOGRLayerInitItemInfo() or else fastcgi repeat requests for a layer may<br>
&nbsp;&nbsp; fail on subsequent renders.<br><br>- mapogr.c: Set a real OGRPolygon spatial filter, not just an OGRLinearRing.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Otherwise GEOS enabled OGR builds will do expensive, and<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; incorrect Intersects() tests.<br><br>- mapogr.cpp / mapprimitive.c: Optimize msAddLine() and add<br>msAddLineDirectly()<br><br>- mapprimitive.c: Optimizations in msTransformShapeToPixel() (avoid
<br>division)<br><br>- map.h: Made MS_NINT inline assembly for win32, linux/i86.<br><br>- mapprimitive.c: optimized msClipPolygonRect and msClipPolylineRect for<br>&nbsp;&nbsp; case where the shape is completely inside the clip rect.
<br><br>- Add support for SVG output. See Bug 1281 for details.<br><br>- Bug 1231: use mimetype &quot;image/png; mode=24bits&quot; for 24bit png format.<br>&nbsp;&nbsp; This makes it seperately selectable by WMS.<br><br>- Bug 1206: Applied locking patch for expression parser for rasters.
<br><br>- Bug 1273: Fixed case in msProjectPoint() were in or out are NULL and<br>&nbsp;&nbsp; a failure occurs to return NULL.&nbsp;&nbsp;Fixed problem of WMS capabilities with<br>&nbsp;&nbsp; 'inf' in it.<br><br>- SLD generation bug 1150 : replacing &lt;AND&gt; tag to &lt;ogc:And&gt;
<br><br>- Fixed bug 1118 in msOWSGetLayerExtent() (mapows.c).<br><br>- Fixed ogcfilter bug #1252<br><br>- Turned all C++ (//) comments into C comments (bug 1238)<br><br>- mapproject.h/configure.in: Don't check for USE_PROJ_API_H anymore.
<br>Assume<br>&nbsp;&nbsp; we have a modern PROJ.4.<br><br>- Bug 839: Fix memory leak of font name in label cache (in mapfile.c).<br><br>- Added msForceTmpFileBase() and mapserv -tmpbase switch to allow overriding<br>&nbsp;&nbsp; temporary file naming conventions.&nbsp;&nbsp;Mainly intended to make writing
<br>&nbsp;&nbsp; testscripts using mapserv easier. FrankW.<br><br>- maporaclespatil.c: Bug fix for: #1109, #1110, #1111, #1112, #1136, #1210,<br>&nbsp;&nbsp; #1211, #1212, #1213.&nbsp;&nbsp;Support for compound polygons, fixed internal<br>sql to<br>&nbsp;&nbsp; stay more accurate for geodetic data, added the support for getextent
<br>&nbsp;&nbsp; function.&nbsp;&nbsp;Added VERSION token for layer data string.<br><br>- mapimagemap.c: Preliminary implementation of support for emitting<br>&nbsp;&nbsp; MS_SYMBOL_VECTOR symbols in msDrawMarkerSymbolIM().<br><br>- Bug 1204: Added multi-threading support in 
mapthread.c.&nbsp;&nbsp;List of<br>connections<br>&nbsp;&nbsp; is managed within a mutex lock, and connections are only allowed to<br>be used<br>&nbsp;&nbsp; by one thread at a time.<br><br>- Bug 1185 : php/mapscript : add constant MS_GD_ALPHA<br><br>
- Bug 1173: In HTML legend, added opt_flag support for layer groups.<br><br>- Bug 1179: added --with-warnings configure switch, overhauled warning<br>logic.<br><br>- Bug 1168: Improve autoscaling through classification rounding issues.
<br><br>- Fixed bug writing RGB/RGBA images via GDAL output on bigendian systems.<br><br>- Bug 1152 : Fix WMS style capabilities output for FastCGI enabled builds.<br><br>- Bug 1135 : Added support for rotating labels with the map if they were
<br>&nbsp;&nbsp; rendered with some particular angle already.<br><br>- Bug 1143 : Missing call to msInitShape.<br><br>- Fixed PHP5 support for windows : Bug 1100.<br><br>- Correct bug 1151 : generates twice a &lt;/Mark&gt; tag when generating an SLD.
<br>&nbsp;&nbsp; This was happening the style did not have a size set.<br><br>- Oracle Spatial.&nbsp;&nbsp;Fixed problem with LayerClose function.&nbsp;&nbsp;Added token NONE<br>&nbsp;&nbsp; for DATA statement.&nbsp;&nbsp;Thanks Valik with the hints about the LayerClose<br>
problem<br>&nbsp;&nbsp; and Francois with the hints about NONE token.<br><br>- numpoints and stylelength memebers of the symbol object needs to be in<br>sync<br>&nbsp;&nbsp; with the low level values after calles to setpoints ans setstyle (Bug
<br>1137).<br><br>- Use doubles instead of integers in function php3_ms_symbol_setPoints<br>&nbsp;&nbsp; (Bug 1137).<br><br>- Change the output of the expression when using a wild card for<br>&nbsp;&nbsp; PropertyIsLike (Bug 1107).<br><br>- Delete temporary sld file created on disk (Bug 1123)
<br><br>- Fixed msFreeFileCtx() to call free() instead of gdFree() as per bug 1125.<br>&nbsp;&nbsp; Also renamed gdFreeFileCtx() to msFreeFileCtx().<br><br>- Ensure error stack is cleared before accepting another call in FastCGI<br>
&nbsp;&nbsp; mode in mapserv.c.&nbsp;&nbsp;Bug 1122<br><br>- Support translation of all geometry types to points in mapogr.cpp (now<br>&nbsp;&nbsp; also supports multipolygon, multilinestring and geometrycollection.<br>&nbsp;&nbsp; bug 1124.<br><br>- Added support for passing OGR layer FILTER queries down to OGR via the
<br>&nbsp;&nbsp; SetAttributeFilter() method if prefixed with WHERE keyword.&nbsp;&nbsp;Bug 1126.<br><br>- Fixed support for SIZEUNITS based scaling of text when map is rotated.<br>&nbsp;&nbsp; Bug 1127.<br></blockquote></div><br>