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 3.1 release notes


32-bit installer113,862,347c1d8061a5b0172a8eb37af12f791d513
64-bit installer121,330,635b1ac1a619d2bcb291344ed4bbd94fdd5
32-bit InstantSetup bundle93,660,117e36b66b66695a7169012067c6be99ef0
64-bit InstantSetup bundle99,814,272916e70a8025cb05a51e9d9c2e1f7e2af
Ubuntu 14.04 (32-bit)
Install script28,2203fe6f92bab9c83af334a332e803f1c5f
Uninstall script1,425c8794eba45069355203bd14522298069
Ubuntu 14.04 (64-bit)
Install script28,22276986b722b361f91af00e34b302635b4
Uninstall script1,425c8794eba45069355203bd14522298069
CentOS 6.x (32-bit)
Install script4,337f566d9c498c7e0ed36486605910173f0
Uninstall script1,5990db878a3811e3f518330a0531ff13079
CentOS 6.x (64-bit)
Install script4,33911d606e3398a9f99e0c27e4d4033da31
Uninstall script1,5990db878a3811e3f518330a0531ff13079


Various post-release patches for MapGuide, Fusion and FDO can be found here.

  • Fusion with Google Maps fix
    • This is a release of Fusion (made after the 3.1.1 release) that includes a fix for Array.prototype.find with the current iteration of Google Maps API
    • Extract and overwrite your existing Fusion installation
  • King Oracle FDO provider for Oracle 12c
    • These providers have been built against the Oracle 12c instant client SDK (the ones included with the install packages are built against 11g)
      • Make sure to replace your 11g version of OCI.dll and friends with 12c equivalents.
    • These providers are un-tested. Please report any defects
    • Download

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

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 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:

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 Apache Ant installed.

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

Windows 10Yes+Yes
Windows VistaMaybe+Maybe+
Windows 7YesYes
Windows Server 2008Yes+Yes+
Windows Server 2008 R2N/AYes
Windows 8Yes1Yes1
Windows Server 2012N/AYes1
Windows Server 2016N/AYes
Windows 8.1Maybe1Maybe1

+ 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


  • Updated Web Tier components (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


  • #941: Fix expression function sin(int) returning invalid value
  • #946: Fix expression engine segfault when parsing identifiers with mixed quotes
  • #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 ( Make sure you are downloading the MSVC 2015 build for this.
    • Updated instructions here: 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:
    • #937: Better handling/support of VRT data sources
    • #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:
    • #915: Features not fully loaded
    • #917: Curve strings properly serialized to their GML counterparts
    • #932: xsd:long values no longer capped at 2147483647 if value is beyond that.
  • WMS provider fixes:
    • #931: Fix SSL connect error if connecting to a WMS server using TLS 1.2
  • PostgreSQL provider fixes:
    • #923: Better handling of check constraint clauses (eg. '10'::integer)
    • #761: Fix segfaults on 64-bit Linux in geometry serialization
    • #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:
    • #933: *No longer tries to connect to and list every database on the SQL Server, only the ones your login credentials can actually access*.
    • #920: Computed columns now properly advertised as read-only properties in the FDO schema
    • #930: Allow spatial contexts for tables with dots (.) in their names to be retrieved
    • (Long standing) patches from Bruno Scott:
      • #875: Date columns not appearing in FDO schemas
      • #766: Use locale-independent date formatting


  • 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.
    • #658: Add missing AerialsWithLabels base layer type
  • Use HTTP POST for creating session ids
  • #654: Update to handle the corrected CREATERUNTIMEMAP response (#2752)
  • #656: Fix error selecting redline objects
  • #657: Fix search widget not working for FDO properties with spaces in their names
  • #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


Please 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 ( Solution: Host the fusion application on a site over HTTPS.
  • Fusion: Google Street View may not load properly in Chrome (!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 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 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.
Last modified 6 years ago Last modified on Apr 10, 2018, 5:53:40 AM
Note: See TracWiki for help on using the wiki.