= !MapGuide 3.1.1 Release Notes = MapGuide Open Source 3.1.1 is now available. These release notes only cover what's changed from MapGuide Open Source 3.1.0 For what's new and changed in MapGuide Open Source 3.1.0, see the [https://trac.osgeo.org/mapguide/wiki/Release/3.1/Notes 3.1 release notes] [[TOC]] == Downloads == ||Download||Size||MD5|| ||'''Windows'''|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/windows/MapGuideOpenSource-3.1.1.9378-Final-x86.exe 32-bit installer]||113,862,347||c1d8061a5b0172a8eb37af12f791d513|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/windows/MapGuideOpenSource-3.1.1.9378-Final-x64.exe 64-bit installer]||121,330,635||b1ac1a619d2bcb291344ed4bbd94fdd5|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/windows/MapGuideOpenSource-3.1.1.9378-InstantSetup-x86.exe 32-bit InstantSetup bundle]||93,660,117||e36b66b66695a7169012067c6be99ef0|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/windows/MapGuideOpenSource-3.1.1.9378-InstantSetup-x64.exe 64-bit InstantSetup bundle]||99,814,272||916e70a8025cb05a51e9d9c2e1f7e2af|| ||'''Ubuntu 14.04 (32-bit)'''|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/ubuntu14_x86/mginstallubuntu.sh Install script]||28,220||3fe6f92bab9c83af334a332e803f1c5f|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/ubuntu14_x86/mguninstallubuntu.sh Uninstall script]||1,425||c8794eba45069355203bd14522298069|| ||'''Ubuntu 14.04 (64-bit)'''|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/ubuntu14_x64/mginstallubuntu.sh Install script]||28,222||76986b722b361f91af00e34b302635b4|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/ubuntu14_x64/mguninstallubuntu.sh Uninstall script]||1,425||c8794eba45069355203bd14522298069|| ||'''CentOS 6.x (32-bit)'''|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/centos6_x86/mginstallcentos.sh Install script]||4,337||f566d9c498c7e0ed36486605910173f0|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/centos6_x86/mguninstallcentos.sh Uninstall script]||1,599||0db878a3811e3f518330a0531ff13079|| ||'''CentOS 6.x (64-bit)'''|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/centos6_x64/mginstallcentos.sh Install script]||4,339||11d606e3398a9f99e0c27e4d4033da31|| ||[http://download.osgeo.org/mapguide/releases/3.1.1/Final/centos6_x64/mguninstallcentos.sh Uninstall script]||1,599||0db878a3811e3f518330a0531ff13079|| == Installer notes == You cannot use the windows installer to in-place upgrade an existing MapGuide Open Source 3.1.0 installation, you cannot have 3.1.0 and 3.1.1 installed side-by-side with the windows installer and you must uninstall 3.1.0 before installing 3.1.1. Use the InstantSetup bundle if side-by-side installs are required. Be sure to back up any data and applications before carrying out the new installation. On linux, the install path is {{{/usr/local/mapguideopensource-3.1.1}}} and the FDO install path is {{{/usr/local/fdo-4.1.0}}}. You must uninstall 3.1.0 before installing 3.1.1. Be sure to back up any data and applications before carrying out the new installation. Before upgrading, it is recommended that you take a backup of your existing repository (whether that is through creating MGP packages with the MapGuide Site Administrator or using the provided repository backup tools/scripts) == Sample Data == This release includes a new version of the Sheboygan Sample data set demonstrating features introduced in this and recent versions of MapGuide * [http://download.osgeo.org/mapguide/releases/3.0.0/extras/Sheboygan.mgp Sheboygan.mgp] * Size: 13,604,700 bytes * md5: 351b21e2c432b493fe2f073d7ab10205 == Extra Files == The install packages for this release of MapGuide omit several USA-specific CS-Map grid data files which are only required if your spatial data uses a coordinate system that involves an NSRS datum. See [http://trac.osgeo.org/csmap/wiki/CsMapRfc7 CS-Map RFC 7] for more information. As a result, our installation packages are now up to 150 MB lighter as a result of this omission. Should you require these grid data files, you can download them here: * [http://download.osgeo.org/mapguide/releases/3.0.0/extras/CsMap_Usa_NSRS_GridFiles.zip] * Size: 147,411,504 bytes * md5: 9f90097d78f16b132a2319a885646b0d To install these files, unzip them into the `Usa` directory of your CS-Map installation (eg. C:\Program Files\OSGeo\MapGuide\CS-Map\Dictionaries\Usa) and restart your MapGuide Server == Fusion build tools == Fusion build tools is a zip file containing the build.xml and associated build tools required to "re-compile" fusionSF.js and fusionSF-compressed.js on a production fusion installation. Use the Fusion build tools if you have made patches and/or modifications to your fusion installation, and you need to build a new fusionSF.js and/or fusionSF-compressed.js In order to use the Fusion build tools, you need to have [http://ant.apache.org Apache Ant] installed. * [http://download.osgeo.org/mapguide/releases/3.1.1/Final/windows/fusion-3.1.1-buildtools.zip fusion-3.1.1-buildtools.zip] * Size: 7,186,886 bytes * md5: 0eb8caa61827d0b84e7a52be621de588 To use the Fusion build tools, extract the zip file contents into your fusion directory and navigate to this directory in the command prompt and execute the following command: {{{ ant compress }}} This will re-build fusionSF.js and fusionSF-compressed.js under fusion\lib Due to the default installation location (under Program Files), you may need to do this under a UAC-elevated command prompt or fix the directory permissions so that normal users can create/modify files. == Windows Compatibility == ||OS||32-bit||64-bit|| ||Windows 10||Yes+||Yes|| ||Windows Vista||Maybe+||Maybe+|| ||Windows 7||Yes||Yes|| ||Windows Server 2008||Yes+||Yes+|| ||Windows Server 2008 R2||N/A||Yes|| ||Windows 8||Yes1||Yes1|| ||Windows Server 2012||N/A||Yes1|| ||Windows 8.1||Maybe1||Maybe1|| + 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/.Net successfully tested on Windows 8 64-bit and Windows Server 2012. Windows 8 32-bit is similar enough to theoretically work. Apache config untested Windows RT (ie. Windows 8 on ARM devices) is not a supported platform for installing MapGuide Open Source == Changes since 3.1.1 RC == * MapGuide * #2779: Prevent tooltip content clicks from falling through in AJAX viewer, triggering normal click actions * #2778: Fix windows installer not making tcpdf cache directory writeable to IIS breaking Fusion QuickPlot on fresh install. * Fix folder permissions in Linux installer scripts so Fusion QuickPlot can work on a fresh install == Changes since 3.1.0 == === MapGuide === * Updated Web Tier components ([wiki:MapGuideRfc165]) * Apache HTTPD 2.4.29 * PHP 5.6.33 * Tomcat 7.0.85 * Fix ApiVersion being reported as 2.6 in {{{GETSITESTATUS}}} mapagent operation * Hardened various PHP scripts in the mapagent * Ubuntu install script improvements/fixes: * New flags that are applicable when {{{--headless}}} is specified: * Support {{{--no-service-install}}}: To skip automatic installation of service scripts * Support {{{--no-mgserver-start}}}: To skip auto-starting mgserver * Support {{{--no-tomcat-start}}}: To skip auto-starting tomcat * Support {{{--no-httpd-start}}}: To skip auto-starting httpd * #2760: Remove bash-isms * #2752: Fix CREATERUNTIMEMAP for raster and DWF layers * #2749: Fix bloated NuGet packages due to extra junk files slipping through packaging * #2754: Fail to stylize layer when expression in symbol definition has invalid value * #2750: Isapi mapagent crashes when server error message is too long * #2767: Add missing JSON format conversion support for various mapagent APIs * #2764: AJAX Viewer Select Within returns all features when actually no result should be found * #2582: Include bad resource identifier string in exception message if "new MgResourceIdentifer()" throws * #2480: Return -1 for {{{GetPropertyIndex}}} reader calls with bad property names instead of throwing === FDO === * [https://trac.osgeo.org/fdo/ticket/941 #941]: Fix expression function sin(int) returning invalid value * [https://trac.osgeo.org/fdo/ticket/946 #946]: Fix expression engine segfault when parsing identifiers with mixed quotes * [https://trac.osgeo.org/fdo/ticket/912 #912]: GDAL/OGR/WMS providers updated to use GDAL 2.2.3 - You can swap out the GDAL dll with an equivalent custom GDAL build from gisinternals (http://www.gisinternals.com/stable.php). Make sure you are downloading the MSVC 2015 build for this. - Updated instructions here: [wiki:MGOS311GdalProvider] - Reminder that by using drivers like ECW/MrSID/etc you are bound by their terms of use in their respective licensing agreements. - Another reminder that swapping the GDAL dll with a custom one is not supported by us. Use at your own risk/discretion. - OGR provider fixes: - [https://trac.osgeo.org/fdo/ticket/937 #937]: Better handling/support of VRT data sources - [https://trac.osgeo.org/fdo/ticket/938 #938]: Don't advertise insert/update/delete commands for read-only connections - Ensure dots in property names are replaced with tildes (~) as dot characters are illegal characters in FDO property names. - Better FDO exception error propagation from failed GDAL/OGR API calls within the provider. - New GDAL 2.x capabilities are surfaced to their FDO counterparts - int64 data types - nullable fields - default values - WFS provider fixes: - [https://trac.osgeo.org/fdo/ticket/915 #915]: Features not fully loaded - [https://trac.osgeo.org/fdo/ticket/917 #917]: Curve strings properly serialized to their GML counterparts - [https://trac.osgeo.org/fdo/ticket/932 #932]: xsd:long values no longer capped at 2147483647 if value is beyond that. - WMS provider fixes: - [https://trac.osgeo.org/fdo/ticket/931 #931]: Fix SSL connect error if connecting to a WMS server using TLS 1.2 - PostgreSQL provider fixes: - [https://trac.osgeo.org/fdo/ticket/923 #923]: Better handling of check constraint clauses (eg. '10'::integer) - [https://trac.osgeo.org/fdo/ticket/761 #761]: Fix segfaults on 64-bit Linux in geometry serialization - [https://trac.osgeo.org/fdo/ticket/943 #943]: Add support for detecting materialized views - SHP provider fixes: - Fix SHP file cannot be read if it had been opened for writing - SQL Server provider fixes: - [https://trac.osgeo.org/fdo/ticket/933 #933]: ***No longer tries to connect to and list every database on the SQL Server, only the ones your login credentials can actually access***. - [https://trac.osgeo.org/fdo/ticket/920 #920]: Computed columns now properly advertised as read-only properties in the FDO schema - [https://trac.osgeo.org/fdo/ticket/930 #930]: Allow spatial contexts for tables with dots (.) in their names to be retrieved - (Long standing) patches from Bruno Scott: - [https://trac.osgeo.org/fdo/ticket/875 #875]: Date columns not appearing in FDO schemas - [https://trac.osgeo.org/fdo/ticket/766 #766]: Use locale-independent date formatting === Fusion === - Updated to use Bing Maps instead of VirtualEarth, whose APIs were shutdown in mid-2017. A Bing Maps API key is now required to consume these services. - [https://trac.osgeo.org/fusion/ticket/658 #658]: Add missing {{{AerialsWithLabels}}} base layer type - Use HTTP POST for creating session ids - [https://trac.osgeo.org/fusion/ticket/654 #654]: Update to handle the corrected {{{CREATERUNTIMEMAP}}} response (#2752) - [https://trac.osgeo.org/fusion/ticket/656 #656]: Fix error selecting redline objects - [https://trac.osgeo.org/fusion/ticket/657 #657]: Fix search widget not working for FDO properties with spaces in their names - [https://trac.osgeo.org/fusion/ticket/660 #660]: Better gracefully handle bad app def resource ids passed in - #2772: Fix de-selecting features not updating selection pane - #2770: Fall back to selection XML based zooming for search widget if centroid of the current feature cannot be extracted - Hide group in legend tree if it is empty. - Set map initial active state in "Maps" menu. - If there are more than one base layer groups and one of them is invisible initially, the features of the layer in the group cannot be selected after show the group. - Suppress Fusion error in client when query features/get map tip - Turn off map tip by default - Fix: Features are selected when using measure tool. - Measure widget fixes: - fusion error if zoom after click 'Measure' button - If there are 2 'Measure' defined (one for distance, the other for area), when switch between the 2 buttons, the 'Unload' of previous page is always after the new page's 'activate', which results in values of some global variables e.g. isDigitizing are not correct === Other === Please [wiki:SubmitTicket report any defects]. == FDO Notes == MGOS 3.1.1 is built against the FDO 4.1 branch '''Due to unavailable build resources (the build maintainer does not have access to the ESRI SDK), this release does not include the ArcSDE FDO provider''' == Known Issues == * SQL Server Spatial: FDO Provider may render out incomplete schema XML for tables with dots (.) in their name * Ubuntu: Tomcat/Java is not optional will always be installed by the installation script whether you use it or not * Fusion: Geolocation widget will no longer work on Chrome 50+ on insecure origins (https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only?hl=en). Solution: Host the fusion application on a site over HTTPS. * Fusion: Google Street View may not load properly in Chrome (https://productforums.google.com/forum/#!topic/maps/7DiQ4FQj8ts). Workaround: Disable "Accelerated 2D canvas" in chrome flags settings. * Installing msttcorefonts for your specific distro is strongly recommended to avoid the case of "hieroglyphic" labels. You can specify the path of your msttcorefonts installation in serverconfig.ini to have MapGuide load these fonts in on startup. * Using the Linux builds of MapGuide on distributions they were not built for is not supported. If you want to run MapGuide on: * Versions of Ubuntu that is not 14.04 * CentOS 7 or higher * A different Linux distribution Then consider running MapGuide in a [https://www.docker.com/ docker container] that is based on Ubuntu 14.04 or CentOS 6.x. This installation method is not supported and is only mentioned here for informational purposes. * The 64-bit Linux builds of MapGuide are made available for testing/feedback. These builds should still be considered experimental. * The following FDO providers may or may not not be functional in 64-bit Linux builds of MapGuide * SHP (spatial indexing code not working properly in 64-bit, will cause incorrect spatial queries. Workaround: Use OGR provider) * MySQL (un-tested, please provide feedback) * PostgreSQL (un-tested, please provide feedback) * King.Oracle (un-tested, please provide feedback) * WFS (un-tested, please provide feedback) * WMS (un-tested, please provide feedback) * The following FDO providers have been validated in a 64-bit Linux environment by their respective FDO unit test suites (ie. All tests pass). Feedback on these providers in 64-bit Linux still welcome/appreciated: * SDF * SQLite * GDAL * OGR * Fusion: Bing/VirtualEarth commercial layers may conflict with Google layers if they are both specified in a Flexible Layout. If you have a Bing/VirtualEarth layer as the default, switching to a Google layer in your Fusion application will cause the Google layer to be displaced and vice versa. * #2252: It is not possible to call MgFeatureService::UpdateFeatures() with a NULL MgTransaction in the PHP API * Installer may generate a providers.xml entry for the ArcSDE provider if all providers are enabled in the "Feature Selection" dialog even if the installer does not actually bundle the ArcSDE provider. You can simply remove this entry from providers.xml after installation if this is the case. * 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-3.1.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/3.0/MgDev/Web/src/mapadmin/performanceReport_MapViewer.php#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.