Release Notes: Mapinfo Pro
Release Notes: Mapinfo Pro
Version 15.2.2
Release Notes
Contents:
MapInfo Pro is a cumulative Maintenance Release update that also include updates supplied with
MapInfo Pro 15.2.1.
This document provides information on new and enhanced features that are introduced into MapInfo
Pro. It also provides information about resolved issues and known issues that are important to
MapInfo Pro users.
Your computer must be connected to the Internet to download the MapInfo Pro Maintenance Release.
You may install this Maintenance Release provided any of the following products are installed:
English version of MapInfo Pro 15.2
Non-English version of MapInfo Pro 15.2.1
MapInfo Pro Runtime 15.2.1
Note: Non-English version of MapInfo Pro 15.2.1 already includes the patch updates provided with
MapInfo Pro 15.2.1 Maintenance Release.
Note: There is a change in the Extensibility API that might cause an Add-in to fail execution if it
was written in a previous release. The LayoutFrameChangedEventArgs class now has
the FrameID property renamed to FrameIndex to identify more accurately what the property
represents. You are recommended to check your Add-ins for usage of the property FrameID,
and replace it with FrameIndex.
Note: MapInfo Pro users with customized Ribbon will lose these customizations with this
maintenance release update. If you want to maintain the ribbon customization, follow the
following steps:
1. Browse to the folder:
C:\Users\username\AppData\Local\MapInfo\MapInfo\Professional\1520
(where username is the Windows user)
2. You will find a file named MapInfoPro.RibbonState.<Culture Code>.xml (where culture
code is a two letter code depending upon the operating system culture). You can use the
MapBasic SystemInfo() function with the attribute 23, to get the two-letter culture code
for your operating system.
3. Copy the name of the file and delete it from the folder.
4. You will find a file named MapInfoPro.RibbonState.xml at same location. Rename this
file with the copied name.
5. Open the renamed file and add the VersionName="1520" attribute inside the
RibbonStateParams XML element.
6. Restart MapInfo Pro, and you should get the customization back.
This section is for the system administrator installing this Maintenance Release using a command
line, and the network system administrator installing this Maintenance Release across the network
using a Microsoft Patch (MSP) file.
The MSP file for the MapInfo Pro Maintenance Release updates the English release of MapInfo Pro
15.2.
Note: The MSP file for the MapInfo Pro Maintenance Release does not update:
Non-English version of MapInfo Pro 15.2.1
MapInfo Pro Runtime 15.2.1
Where:
/p = applies the latest patch
You may see a prompt for permission to continue. Click Allow or OK to proceed (if you do not
respond and the message times-out, then the upgrade is unsuccessful).
You can upgrade silently by adding a silent parameter switch to the command, such as /qb, /qn, /qr,
or /q. For example:
Where:
/qb = to see a basic progress dialog box during the installation
To run the MapInfo Pro Maintenance Release installer in silent mode, from a command prompt
change directories (cd command) to where the Maintenance Release .exe file is, and then type:
MapInfoPro15.2.2MaintenanceRelease.exe /s /v"SILINST=True"
Where:
/s = runs the setup.exe silently
/v = passes the parameter "SILINST=True" to suppress the GUI.
A progress dialog box may display during the installation.
You may see a prompt for permission to continue. Click Allow or OK to proceed.
This section lists the updates made since the release of MapInfo Pro 15.2.1.
GeoPackage Support
MapInfo Pro now has support for GeoPackage (GPKG) format files. You can now open GeoPackage
tables in MapInfo Pro.
Support for GeoPackage tables is similar to that for SQLite table support in MapInfo Pro.
Steps to access GeoPackage tables:
1. On the HOME tab, in the File group, from the Open list, click Table to open the Open dialog
box.
2. In the Open dialog box, from the Files of type list, select GeoPackage (*.gpkg).
3. From the Look in list, select the folder location of the GeoPackage that you want to access.
4. From the list of files, select the GeoPackage to open.
5. In Select One or More Tables to Open dialog box, select the tables within the GeoPackage
that you want to open.
6. You can change the style using the Style command, or can also set a different destination path
using the Options command.
7. Click OK to open the selected tables.
If the SRSID for any of the selected table within the GeoPackage is not defined (for example: 0 for
undefined Geographic, or 1 for undefined Cartesian), then MapInfo Pro will prompt you for the
Projection to use for the table. The selected projection will then be written into the TAB file metadata
as a coordinate system or CoordSys clause, so that MapInfo Pro can use them in future sessions
without having to prompt for the projection again.
If there is no CoordSys clause in the table metadata, MapInfo Pro uses the FME engine from Safe
Software Inc. (for example: Open Universal Data) to convert a tables WKT representation, as stored
in the GeoPackage Spatial Reference System table (gpkg_spatial_ref_sys), to a Coordsys clause.
When opening a GeoPackage table, if the WKT is unavailable, or if it cannot be converted into a
CoordSys clause, then MapInfo Pro will prompt for the projection. Similarly, when saving a MapInfo
table as a GeoPackage table, MapInfo Pro also uses FME to convert the MapInfo CoordSys to
WKT, and a new entry is added to the GeoPackage Spatial Reference System table.
Note: When saving a MapInfo table to a GeoPackage, if it could not generate a valid WKT for the
CoordSys, the table creation will fail.
When saving a Non-Earth table to a GeoPackage, MapInfo Pro will prompt you to specify the
Non-Earth coordinate system (CoordSys) and specific bounds to use and stores that information in
the TAB file. If you use the MapBasic Commit Table statement to save a Non-Earth table to a
GeoPackage, you must specify the CoordSys clause with specific bounds. Before calling the
Commit Table statement, obtain the Non-Earth table CoordSys Clause using the TableInfo function.
As an example, TableInfo(tablename, TAB_INFO_COORDSYS_CLAUSE). If you use the Save
Copy As command in MapInfo Pro, then obtain this information in the MapBasic Window by typing
Print TableInfo(tablename, 29). Do this before saving and enter the bounds values in the
dialog when prompted.
If a MapInfo Native or NativeX table that does not have any metadata content in the TAB file is
saved to a GeoPackage, MapInfo Pro will treat them as Read-Only. This issue should not be
encountered very often as most TAB files typically do have metadata entries within them. For being
able to have write access to such tables, you are required to simply edit the GeoPackage TAB file
to remove the "\IsReadOnly" = "TRUE" metadata entry or change it to FALSE.
You can register a GeoPackage table using MapBasic, see Register Table Statement for details.
When a GeoPackage table is registered, MapInfo Pro does not write any index or field definition to
the associated TAB file. MapInfo Pro does not create indexes on GeoPackage tables by default as
these indexes can quickly get out of synchronization with the one contained within the GeoPackage
file. The Modify Table Structure dialog box will also have the Index check box grayed out for the
GeoPackage table. You can issue the Create Index statement from the MapBasic window in
MapInfo Pro to create indexes for fields within the GeoPackage table. After creating indexes, the
field definitions and indexes will be written to the TAB file. You can remove the index from the
GeoPackage table by issuing the Drop Index statement from the MapBasic window in MapInfo
Pro.
Handling of GeoPackage Files with Character Fields of Width Zero or Greater than 254
When opening a GeoPackage table, MapInfo Pro searches for character fields in the table with
either a width of zero (0) or that exceed 254. MapInfo Pro then sets those table columns to "read-only"
in order to prevent truncation of data, and displays the information with a pop-up notification window
that closes automatically after a few seconds.
Gridline Updates
The GRIDLINES tab on the MapInfo Pro ribbon now includes:
Label Format - This has two options for Latitude/Longitude gridlines:
N,E,S,W - Formats the gridline labels to use compass point designations, which denote the world
hemisphere that they are found in.
-90 to 90 - Uses negative and positive number values to denote world hemispheres.
Label Placement - This selects which side of the map to display labels:
All Sides Labels display on all sides of the map. This is the default selection.
Top & Left Labels display on the top and left sides of the map.
Bottom & Right Labels display on the bottom and right sides of the map.
<Table>
<DefaultBlockSizeNative>512</DefaultBlockSizeNative>
<DefaultBlockSizeNativeX>16834</DefaultBlockSizeNativeX>
</Table>
If the value specified is less than 512, it rounds up to 512. Block size should be a minimum of 512,
otherwise it will be rounded to nearest value divisible by 512.
If section above is not specified in preferences.xml file, MapInfo Pro will default to a block size of
16834.
Note: Preferences set by updating the Preferences.xml file does not apply to the currently running
session of MapInfo Pro.
To enable WFS 2.0 support, remove the comment characters from the line.
You are recommended not to make any further change in this line.
When WFS support is enabled by removing the comment characters from the line, if a server is set
to Automatic Version Negotiation, then MapInfo Pro will work with the highest version level that the
server supports. If the server supports WFS 2.0, then MapInfo Pro will automatically use the v2.0
protocol with the server. If the server does not support WFS 2.0, but does support WFS 1.1, then
MapInfo Pro will automatically work with the server using the v1.1 protocol. If the server does not
support WFS 2.0 or 1.1 but does support WFS 1.0, then MapInfo Pro will automatically communicate
with the server using the v1.0 protocol.
If you no longer want to work with WFS 2.0, then either add back the comment characters around
the line (as earlier) or delete the line completely.
Limitation
MapInfo Pro currently does not support functionalities that are new to WFS 2.0 - most notably
stored queries.
This section lists the updates made since the release of MapBasic 15.2.1.
If the Type is defined with the optional Align[n] keyword, MapInfo Pro will align the members on the
n-byte boundary, in order to match the packing specification of the target DLL. If Align[n] is not
specified, MapInfo Pro will use a default data alignment: 8 bytes for 64-bit platform or 4 bytes for
32-bit platform.
Note: This is different from the previous recommendation that you should build custom DLLs with
a 1-byte alignment (/Zp1). This change is made to better support DLLs built on 64-bit platforms
as well as the default Windows API calls, while still accommodating a custom struct packing.
Struct alignment issues are manifest by corrupted struct data members, passed in/out of the DLL
call. So, in order to successfully integrate a MapBasic program with a custom DLL, you should either:
Modify the MapBasic struct declaration to specify the alignment value to match that of the DLL
(for example: Align1); or
Rebuild the DLL using the default struct member alignment (/Zp).
The Align[n] keyword in the Type statement is analogous to the MSVC /Zp[n] compiler option for
struct member alignment, or the Microsoft specific align(#) modifier for defining a struct.
or
nBytes is a value that may range from zero (0) to 32767. If the value specified is less than 512, it
rounds up to 512. Block size should be a minimum of 512, otherwise it will be rounded to the nearest
value divisible by 512.
default value is a block size of 16834.
Example:
The following example will set block size preference of 30720 for Native tables created in the current
session of MapInfo Pro:
The following example will set default block size preference of 16834 for NativeX tables created in
the current session of MapInfo Pro:
GeoPackageTableName is the name of the table within a GeoPackage file. A GeoPackage file may
contain more than one table.
Example:
SESSION_INFO_DEFAULT_NATIVE_BLOCKSIZE 5 String result that returns the block size that will be used for
creating maps in MapInfo (Native) Tab file format.
SESSION_INFO_DEFAULT_NATIVEX_BLOCKSIZE 6 String result that returns the block size that will be used for
creating maps in MapInfo Extended (NativeX) Tab file format.
SYS_INFO_MIRIBBONSTATE_VERSION 25 Integer: returns the current MapInfo Pro ribbon state version.
information. You can obtain the count of available database connections by calling the TableInfo()
function with the TAB_INFO_CONNECTIONS_COUNT attribute.
If an invalid connectionIndex is supplied, an error will occur when executing the command.
connectionInfoCode is a code indicating the type of information to return. Presently, we have only
one supported connectionInfoCode - TABLE_CONNECTION_INFO_NUMBER. Executing the
TableConnectionInfo() function with this code will return the connection number.
You can use the connection number to get more information about the connection by using the
Server_ConnectInfo() function. For more details refer to the Server_ConnectInfo() function in
MapBasic Reference or MapBasic Help.
Example:
The following example will return the connection number for the first database connection of the
open table.
TableConnectionInfo(tableAlias, 1, 1)
The following example will return the connection number for the second database connection of the
open table.
TableConnectionInfo(tableAlias, 2, 1)
Example:
The following example will return the name of the first schema of the table.
TableSchemaInfo(tableAlias, 1, 1)
The following example will return the name of the second schema of the table.
TableSchemaInfo(tableAlias, 2, 1)
This release introduces minor updates and performance improvements to MapInfo Pro Advanced.
You will experience performance improvements while performing operations and analysis on raster
data.
Underview Support
MapInfo Pro Advanced has introduced a new display resampling methods for enhancing and
smoothing image data when you zoom in beyond the resolution of the source file.
Earlier, when you zoom in at a raster beyond 100% you see pixelated edges, as displayed below.
Now, with the new Display Resampling Methods enabled, raster images will maintain a smooth
and high quality appearance even if you zoom in beyond the resolution of the individual pixels, as
displayed below.
The Underview support has been added to this maintenance release as a preview feature and
this is disabled by default. If you wish to try this new feature you can enable it from the Raster
Preferences dialog box. On the PRO tab, click Options, and then click Preferences to open the
Raster Preferences dialog box. On the Display tab, select the Enable block access check box
and choose the required resampling methods from the drop-down list. We suggest using Cubic
Spline (Global) resample method for most of the dataset.
If you wish to disable this feature for a specific raster file you can do so using the Advanced Color
properties. On the Color dialog box, click More Options and choose None from the Display
Resampling Method.
MapInfo Pro:
MIPRO-21266 If a user sets Reprojection settings for Image Processing by selecting Options under
the PRO tab, and a Map window is created by adding a raster layer, the reprojection
sometimes does not work properly causing the image to display without any reprojection.
Resolution: Fixed.
MIPRO-45935 Unable to reopen workspace when temporary column was added before applying query
and saved as workspace.
Resolution: Fixed.
MIPRO-47756 Toggling of Automatic Labels On or Off does not work for workspaces that are in MapInfo
Workspace Format (MWS).
Resolution: Fixed.
MIPRO-53662, MIPRO-27256 MapInfo Pro commands like Split, Erase Target, or Erase Outside Target does not
work properly with user data created by some third party applications.
Resolution: Fixed.
MIPRO-56013 In MapInfo Pro, interleaved object in a cosmetic layer does not appear. This issue was
with MapInfo Pro since version 10.5.
Resolution: Fixed. Starting with MapInfo Pro 15.2.2, interleaved objects will be visible
in cosmetic layers.
MIPRO-58616 Quality of an image degrades in MapInfo Pro when image frame is resized to smaller in
a Layout Designer.
Resolution: Fixed.
MIPRO-58673 In MapInfo Pro, saving of Live database connected tables into Native format keeps the
connection information in its metadata.
Resolutiom: Fixed.
MIPRO-59563 Opening a workspace with custom labels and pie charts displays a Map window without
the map layer and with labels located in the upper left of the window.
Resolution: Fixed.
MIPRO-59753 For WFS servers that support both Within and DWithin spatial operators in row filters,
only DWithin is available in the list of operators.
Resolution: Fixed. If the WFS server supports both Within and DWithin, both will now
appear in the list of operators.
MIPRO-59921 Mismatch between map and legend when transparency is used in a Layout window.
Resolution: Fixed.
The difference is because of how legend sample swatches are drawn and how the objects
are drawn in map frames in a Layout window. Starting with MapInfo Pro 15.2.2, the
appearance has been improved for legend swatches that has transparent background
and translucent layers.
However, if these translucent swatches overlap other items in the layout, the items
underneath will not be visible in the printed output. If you wish to have the legend sample
blend with the underlying items, you can run the Set Designer Legend statement with
Antialias clause to turn anti-alias on or off.
Turning anti-alias on will produce legend swatches that are smoother in appearance. It
will also allow the legend sample to blend with the underlying items if the legend sample
is from a layer with translucency turned on.
MIPRO-62171 When saving a workspace Map window as an image, or printing it as PDF, an extra label
line may appear in the output which is not visible in the MapInfo Pro Map window.
Resolution: Fixed.
MIPRO-64188, MIPRO-72879 Date fields from WFS servers were not handled correctly resulting in blank (null) date
values in MapInfo Pro.
Resolution: Fixed.
MIPRO-64264 When a Layout frame is overlapped by a map frame having transparent background and
with translucency more than zero (0), the frame content gets erased where there is
overlap in the printed output.
Resolution: Fixed.
MIPRO-64280 MapInfo Pro crashes when reopening a workspace (WOR) file that was saved with a
query table in a tab group.
Resolution: Fixed.
MIPRO-65030 If a map is opened with no view in MapInfo Pro, the Launcher button in the lower right
corner of the Selection group on the MAP or TABLE tab is disabled.
Resolution: Fixed.
MIPRO-65092 The MapBasic Set Window statement does not work in MapInfo Pro with the choices,
Position, Height and Width. The Set Window statement syntax that does not work is
below:
Resolution: Fixed. This issue was fixed and the statement is working properly since the
release of MapInfo Pro.
MIPRO-65233 When exporting a Layout window with custom size, the layout area in the output does
not scale to the image size.
Resolution: Fixed.
MIPRO-65623 MapInfo Pro does not support opening of layers from a WMS server with default
projection.
Resolution: Fixed. Support for the WMS coordinate reference system, OSGEO:41001
has been restored. It is recognized as Mercator WGS84.
MIPRO-66027 For regions that are composed of multiple exterior polygons, MapInfo Pro displays an
error while processing a GML returned from a WFS server.
Resolution: Fixed.
MIPRO-66123 MapInfo Pro Hotlink command option has problem with some relative path formats. For
example, the Hotlink tool misinterprets the relative path if it has only one character
before the "\".
Resolution: Fixed.
MIPRO-68123 Info tool sometimes does not work when an Oracle table is loaded as a LIVE table.
Resolution: Fixed.
MIPRO-70858 MapInfo Pro gives error when Grid Maker tool is used in systems with Danish locale.
In Danish locale numeric system, "." is used as a decimal separator. MapInfo Pro
misinterprets this and gives error.
Resolution: Fixed.
MIPRO-71494 Unable to set non-black transparency color via the Adjust Image Styles dialog.
Resolution: Fixed.
MIPRO-71906 Copying data from one table to another creates a pending edit on the original table.
Resolution: Fixed.
MIPRO-72139 MapInfo Pro crashes when opening XLS files that has extended formatting.
Resolution: Fixed.
MIPRO-73176 MapInfo Pro does not allow multiple instances of the application to run properly in parallel.
Startup of the application runs in sequential order. For example: the second instance of
the application waits for the first to finish, before it starts.
Resolution: Fixed. MapInfo Pro now has improved startup time.
MIPRO-73358 Incorrect coordinates assigned when reading an ESRI raster ASCII grid.
Incorrect coordinates were being assigned to data when the accompanying projection
file specifies a Transverse projection. This had the result of the grid data not being placed
correctly.
Resolution: Fixed.
MIPRO-73892 WFS server URLs with embedded user id and password does not work with MapInfo
Pro, but works with QGIS.
Resolution: Fixed.
MIPRO-74444 Cannot set background to transparent using the Style Override command option in the
Layer Properties dialog box, if auto detecting transparent color.
Resolution: Fixed. The Select Color button in the Adjust Image Styles dialog box is
now disabled when a transparent background color in the image is auto detected. This
makes it clear that the auto detected color cannot be overridden via this dialog.
MIPRO-75099, MIPRO-75515 Performing some operations (for example: Update Column, or Combine) on tables with
indexed character columns having character width of greater than 128 could cause
MapInfo Pro to close unexpectedly if the Smart Index preference was set to Auto or
On.
Resolution: Fixed.
MIPRO-75133 MapInfo Pro does not show in full screen when screen orientation is changed to portrait.
Resolution: Fixed.
MIPRO-75531 When saving a map as workspace (WOR), MapInfo Pro does not saves the image
processing settings when there are no raster layers in the map.
Resolution: Fixed.
MIPRO-76414 The Global Geocoding client of MapInfo Pro is causing memory leakage. The memory
leakage becomes significant when large set of records are geocoded.
Resolution: Fixed.
MIPRO-76444 The MapInfo Pro help system that installs with the software shows incorrect Replace
Layer Style check box description.
Resolution: Fixed. See Replace Layer Style check box functionality when creating
Ranged and Individual Value thematic maps for details.
MapBasic:
MIPRO-34833 MapBasic AreaOverlap() function gives error when used over objects that are not closed
(such as points and lines).
Resolution: Fixed.
MIPRO-40604 MapBasic displays error when linking an MBP file, if it has extra blank space in between
entries.
Resolution: Fixed.
MIRAST-10318
MapInfo Raster is not picking the Category / Sub Category of the coordinate string
correctly for the British National Grid.
Resolution: Fixed.
Known Issues
4. Install the 64-bit version of Microsoft Access Database Engine 2010 (called
AccessDatabaseEngine_x64.exe).
a) Open a command prompt window with Administrator privileges. In the system folder
C:\Windows\System32, right-click on cmd.exe and select Run as Administrator.
b) At the command prompt, change directories to the AccessDatabaseEngine_x64.exe file
(type cd C:\Users\myname\Downloads and press Enter).
c) At the command prompt, type AccessDatabaseEngine_x64.exe /passive and press
Enter.
5. If you have a 32-bit version of Microsoft Office 2007, 2010, or 2013 installed, then delete or
rename its mso.dll registry key.
a) Open the Registry Editor window. On the Microsoft Start menu, type regedit in the Search
field, and then click regedit.exe.
b) In the Registry Editor window, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths.
c) If there is a mso.dll value, either delete it or rename it.
If you do not delete or rename the file, then may see a reconfigure message when you open
a Microsoft Office application.
Both 32-bit and 64-bit drivers are now installed on your system, and you can open Access 2013
and Excel 2013 files in both 32-bit and 64-bit versions of MapInfo Pro.
Documentation Corrections
The documents that were installed with MapInfo Pro 15.2 has the following corrections.
Set Map
[ Window window_id ]
[ Image
[ Reprojection { None | Always | Auto } ]
[ Resampling { CubicConvolution | NearestNeighbor } ] ]
Replace Layer Style Functionality when Creating Ranged and Individual Value Thematic Maps
When creating Ranged and Individual thematic maps, the Customize Range Styles and Customize
Individual Styles dialog boxes provide options to control whether or not to draw layers under the
theme. These dialog boxes has a check box option for Replace Layer Style. The MapInfo Pro help
system that installs with the software has incorrect description for this option. The correct desctiption
is below:
If this check box is selected, the layer(s) under the theme are not drawn. If this check box is cleared,
the layer(s) under the theme are drawn, which enables multi-variable theme support.
This section lists the updates made since the release of MapInfo Pro 15.2.
New Features
MapInfo Pro:
MIPRO-71550 MapInfo Pro displays error while editing an indexed logical field in a native table.
Resolution: Fixed.
www.pitneybowes.com