= !MapGuide 2.5 Release Notes = MapGuide Open Source 2.5 Preview release is now available (for Windows only) * Milestone: [http://trac.osgeo.org/mapguide/milestone/2.5 2.5] * [http://trac.osgeo.org/mapguide/query?status=closed&group=component&resolution=fixed&milestone=2.5&order=status Resolved Tickets] [[TOC]] == Installation == Windows 32 bit installer: * [http://download.osgeo.org/mapguide/releases/2.5.0/Test/MapGuideOpenSource-2.5.0.7308-Preview-x86.exe MapGuideOpenSource-2.5.0.7308-Preview-x86.exe] * Size: 142,072,903 bytes * md5: 73c0fd393c35f15166dc6df88d5a326d Windows 64 bit installer: * [http://download.osgeo.org/mapguide/releases/2.5.0/Test/MapGuideOpenSource-2.5.0.7308-Preview-x64.exe MapGuideOpenSource-2.5.0.7308-Preview-x64.exe] * Size: 147,167,422 bytes * md5: 8c1fa1dcb58603d87e3162e21b5547fe == Windows Compatibility == ||||32-bit||64-bit|| ||Windows XP SP3||Yes||Maybe*|| ||Windows Server 2003||Yes||Maybe*|| ||Windows Vista||Maybe+||Maybe+|| ||Windows 7||Yes||Yes|| ||Windows Server 2008||Yes+||Yes+|| ||Windows Server 2008 R2||N/A||Yes|| ||Windows 8||Partial1||Partial1|| ||Windows Server 2012||N/A||Partial1|| + Not tested, but similar enough to Windows 7 to theoretically work * IIS configuration will probably not work. Apache config should work due to its self-contained nature 1 IIS configuration does not work, manual configuration allows for install ([wiki:ConfigureGuide24Windows Install MapGuide 2.4 on IIS]). Apache config untested Windows RT (ie. Windows 8 on ARM devices) is not a supported platform for installing MapGuide Open Source == Major New Items == * PDF-based QuickPlot for Fusion ([wiki:MapGuideRfc124 RFC 124]) * Google Street View widget for Fusion ([wiki:MapGuideRfc125 RFC 125]) * Support for user coordinate system dictionaries ([wiki:MapGuideRfc127 RFC 127]) * Integrated IDE API documentation support for Java/.net ([wiki:MapGuideRfc129 RFC 129]) * New enhanced Java wrapper API ([wiki:MapGuideRfc129 RFC 129]) * Streamed HTTP feature/data/SQL query results ([wiki:MapGuideRfc130 RFC 130]) * Various AJAX Viewer UI and functionality improvements Thanks to the ever growing team of developers who are contributing to make the !MapGuide Open Source project a more self-sustaining project. Please [wiki:SubmitTicket report any defects]. == FDO Compatibility == MGOS 2.5 is compatible with FDO 3.8. This preview release is built against the FDO 3.8 beta 1 binary SDK. Key items in FDO 3.8 of benefit to MapGuide include: * SQL Server provider fixes: * Flipped coordinates for geometry columns * Defects in post-insert processing, that made MgFeatureService::UpdateFeatures un-usable for SQL Server provider. * Proper intersection filter testing in ODBC provider. * GDAL raster provider with resampling support. [http://trac.osgeo.org/fdo/wiki/FDORfc65 FDO RFC 65] * Large file support in SDF/SQLite FDO providers (where size > 2^31^ bytes) == Installer notes == Installing MGOS 2.5 (via the windows installer) alongside MGOS 2.4 or older releases '''is not a currently supported configuration'''. Consider using the MgInstantSetup bundle instead if you desire side-by-side installation The installer '''does not''' currently support IIS Express as an IIS configuration option. Please observe the updated software requirements if you are using .net and/or IIS configuration: * IIS (all versions) require FastCGI for IIS to be installed. * For IIS6 and below, download and install the FastCGI extension from [http://www.iis.net/download/FastCGI this link] * For IIS7 and above, you can install FastCGI by enabling the CGI feature of your IIS installation. See [http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis/#EnableFastCGI this link] for more information. * The supported .net Framework version for the MapGuide .net API is '''4.0'''. You must have this version of the .net Framework installed before proceeding with installation. Java configuration requires Java 6 (1.6.0) or higher. The MgInstantSetup bundles only work with '''IIS7 or higher''' if you choose to use this web server. You must still satisfy the .net and FastCGI software requirements required for this configuration. To assist new MapGuide users and developers, the installer also now bundles the following optional components: * .net/PHP/Java viewer samples * MapGuide Developer's Guide in HTML format with updated content * .net/PHP/Java Developer's Guide Samples All bundled samples require the [http://download.osgeo.org/mapguide/releases/2.0.2/samples/Sheboygan.mgp Sheboygan dataset] to be loaded into the MapGuide Server. Finally, due to coordinate system dictionary paths no longer tied to a global environment variable (RFC 122) a mandatory system reboot after installation is '''no longer required''' for all supported versions of Windows. However, a restart of Apache and/or IIS may be required for PHP to work. For the InstantSetup bundles, the MgInstantSetup utility requires .net Framework 3.5 to run. This is in addition to whatever existing software requirements imposed by this release of MapGuide Open Source. For Tomcat configuration, the installer currently does not install Tomcat as a service (#953). You will have to do this manually post-installation. Also ensure that you install the JVM of the same bitness as your installation of MapGuide. For example, you will get a {{{java.lang.UnsatisfiedLinkError}}} if you attempt to run a Tomcat from a 32-bit MapGuide installation on a 64-bit JVM. If you have both 32 and 64-bit JVMs installed, you must ensure that the Tomcat bundled with MapGuide is using the correct one. Tomcat will generally use the one indicated by the {{{JAVA_HOME}}} environment variable, so this may have to be set and/or overridden. == Known Issues == * 2.4 still used as the major.minor version number in various parts of the MapGuide installation * Ubuntu: Install script may put duplicate FDO provider entries into providers.xml if the file already exists (eg. From a previous installation) * CentOS: SELinux security settings will prevent MapGuide from loading FDO and other shared libraries. The CentOS install script will fix the security contexts of the so files within these extracted tarballs that it will download. * CentOS: mgserver may throw double-free errors on service startup or server shutdown. Should not affect server behaviour. * The Performance Profiler on Linux may not work due to insufficient permissions to save the generated report files. To fix this, ensure the directory {{{/usr/local/mapguideopensource-2.5.0/webserverextensions/www/mapadmin/profilingmapxml}}} on linux has sufficient write permissions for the user account that the PHP executable runs under. * For an InstantSetup-based install with an Apache configuration, the Performance Profiler is [http://trac.osgeo.org/mapguide/browser/branches/2.5/MgDev/Web/src/mapadmin/performanceReport_MapViewer.php?rev=6771#L43 hard-coded to always use mapviewerjava if it exists for displaying the map viewer] for capturing extents for profiling. If you did not choose a Java configuration you will get the ajaxviewer.jsp source instead of the expected map viewer. To resolve this, delete the mapviewerjava directory * Uninstallation can leave "ghost" IIS virtual directories behind, which currently is any virtual directory / application you create inside the mapguide virtual directory that '''was not created by the installer''' These "ghost" directories may impact on future installations. To ensure these "ghost" directories are completely gone after uninstallation, use the appcmd.exe utility to remove these virtual directories. You can find out what virtual directories are still there by running {{{appcmd.exe list vdir}}} * PHP Viewer and Developer's Guide samples will not work if the PHP viewer feature is not enabled. Likewise for .net and Java. Nothing in the installer will prevent you from making such a choice. * For the IIS configuration or Apache configuration with a custom http port, you will have to update the WFS and WMS server name configuration properties via the MapGuide Site Administrator after installation if you intend to use such features. This is currently set to localhost:8008 for both. * We have used a non-standard binary build of Apache/PHP to produce this installer, as a result some PHP extensions and Apache modules may not be available. == API changes and notes ==#ApiChanges * The previously internal MgSelectionBase::GenerateFilters API is now available for public use * #1012: New ExpandLayerInLegend and ExpandGroupInLegend APIs for the AJAX viewer. * #2141: MgRenderingOptions supports a new behavior mask value (RenderBaseLayers = 8). If this value is logically OR'ed into the behavior property, the RenderDynamicOverlay API will include tiled base layers as part of the rendered image. * #655: MgLayerGroup now includes SetExpandInLegend() to the MapGuide API. Usage of this API with the (deprecated) DWF viewer is not supported.