 <?xml-stylesheet type="text/css" href="https://www.esdm.co.uk/Data/style/rss1.css" ?> <?xml-stylesheet type="text/xsl" href="https://www.esdm.co.uk/Data/style/rss1.xsl" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
  <channel>
    <title>The knowledge base blog</title>
    <link>https://www.esdm.co.uk/knowledge</link>
    <description />
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>mojoPortal Blog Module</generator>
    <language>en-GB</language>
    <ttl>120</ttl>
    <atom:link href="https://www.esdm.co.uk/Blog/RSS.aspx?p=138~108~1" rel="self" type="application/rss+xml" />
    <itunes:owner />
    <itunes:explicit>no</itunes:explicit>
    <item>
      <title>MapInfo Pro requests node-locked activation method rather than Licence server details when activating a concurrent licence</title>
      <description><![CDATA[<p>This issue may occur where users have been switched from using node-locked to concurrent MapInfo licences.</p>

<p>Although the served version of MapInfo is installed, when MapInfo is run the dialog for activation asks for the serial number and access code as for a node-locked licence, instead of the licence server name and port number.</p>

<p>This issue is caused by registry keys in HKEY_USERS pointing to the node-locked licence that are conflicting with registry keys in HKEY_LOCAL_MACHINE pointing to the concurrent licence.</p>

<p>To fix this issue:</p>

<ol>
	<li>Ensure that if a node-locked licence was activated it has been transferred back to Pitney Bowes, then close MapInfo.</li>
	<li>Open Registry Editor and go to Edit &gt; Find and search for MINWES.</li>
	<li>Back up the registry using File &gt; Export.</li>
	<li>Remove the folder in HKEY_USERS that contains this key for the affected version e.g. HKEY_USERS\{UserID}\Software\MapInfo\MapInfo\Professional\1250.</li>
	<li>Run MapInfo to check it is now using the concurrent licence.</li>
</ol>

<p>&nbsp;</p>

<p>&nbsp;</p>
<br /><a href='https://www.esdm.co.uk/mapinfo-pro-requests-node-locked-activation-method-for-concurrent-licence'>Claire Lush</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/mapinfo-pro-requests-node-locked-activation-method-for-concurrent-licence'>...</a>]]></description>
      <link>https://www.esdm.co.uk/mapinfo-pro-requests-node-locked-activation-method-for-concurrent-licence</link>
      <author>claire.lush@idoxgroup.com (Claire Lush)</author>
      <comments>https://www.esdm.co.uk/mapinfo-pro-requests-node-locked-activation-method-for-concurrent-licence</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/mapinfo-pro-requests-node-locked-activation-method-for-concurrent-licence</guid>
      <pubDate>Wed, 12 Nov 2014 11:36:00 GMT</pubDate>
    </item>
    <item>
      <title>How to set up a MapInfo DBMS table from SQL Server without a DSN</title>
      <description><![CDATA[<p>A quick note to say that it is definitely possible to&nbsp;use a SQL Server spatial table in MapInfo Professional without an ODBC&nbsp;DSN. There's not much about this on the web, and the normal methods of opening SQL Server tables&nbsp;all seem to want a DSN. Here's a resulting .TAB file (this assumes you have the table or view configured in the MAPINFO.MAPINFO_MAPCATALOG table):</p>

<p>&nbsp;</p>

<p><code>!table<br />
!version 1000<br />
!charset WindowsLatin1</code></p>

<p><code>Definition Table<br />
&nbsp; Type ODBC<br />
begin_metadata<br />
"\IsReadOnly" = "FALSE"<br />
"\MapInfo" = ""<br />
"\MapInfo\TableID" = "2e88f9e5-7d4c-4645-b824-4ef6b5102c9e"<br />
"\DATALINK" = ""<br />
"\DATALINK\Query" = "Select *&nbsp; From ""myDatabase"".""dbo"".""myTableOrView"""<br />
"\DATALINK\ConnectionString" = "Description=aDescription;DRIVER=SQL Server;SERVER=myServer;Trusted_Connection=Yes;APP=MapInfo Professional®;WSID=blah;DATABASE=myDatabase"<br />
"\DATALINK\ToolKit" = "ODBC"<br />
"\CACHE" = "OFF"<br />
"\MBRSEARCH" = "ON"<br />
end_metadata</code></p>
<br /><a href='https://www.esdm.co.uk/how-to-set-up-a-mapinfo-dbms-table-from-sql-server-without-a-dsn'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/how-to-set-up-a-mapinfo-dbms-table-from-sql-server-without-a-dsn'>...</a>]]></description>
      <link>https://www.esdm.co.uk/how-to-set-up-a-mapinfo-dbms-table-from-sql-server-without-a-dsn</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/how-to-set-up-a-mapinfo-dbms-table-from-sql-server-without-a-dsn</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/how-to-set-up-a-mapinfo-dbms-table-from-sql-server-without-a-dsn</guid>
      <pubDate>Thu, 14 Nov 2013 18:41:00 GMT</pubDate>
    </item>
    <item>
      <title>MapInfo automatic node generation (aka stream digitizing)</title>
      <description><![CDATA[<div class="heading"><em>Originally posted by Timothy Derbyshire.</em></div>

<div class="heading">You can press the N key on the keyboard to activate MapInfo's AutoNode function - this means that&nbsp;you&nbsp;can click once to start plotting your line, and then the line will follow wherever you put the cursor, with MapInfo placing nodes automatically.</div>

<div class="heading">This can be confusing if you turn it on accidentally. If you do, just press the N key to turn it off.</div>
<br /><a href='https://www.esdm.co.uk/mapinfo-automatic-node-generation-aka-stream-digitizing'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/mapinfo-automatic-node-generation-aka-stream-digitizing'>...</a>]]></description>
      <link>https://www.esdm.co.uk/mapinfo-automatic-node-generation-aka-stream-digitizing</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/mapinfo-automatic-node-generation-aka-stream-digitizing</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/mapinfo-automatic-node-generation-aka-stream-digitizing</guid>
      <pubDate>Fri, 04 Oct 2013 13:18:51 GMT</pubDate>
    </item>
    <item>
      <title>British National Grid in MapInfo</title>
      <description><![CDATA[<p>
	A problem frequently encountered with sharing data between MapInfo and ArcGIS is that the British National Grid projection used by ArcGIS is accurate to 1 mm, whilst the standard projection used by MapInfo is not. This can be an issue, as boundary data that matches Ordnance Survey MasterMap data in MapInfo will appear to be poorly mapped (albeit by a just a few cm) when compared with MasterMap data in ArcGIS.</p>
<p>
	In order to resolve this, MapInfo introduced a 1 mm accuracy projection, which can be found under <em>Projection... </em>when you create a table or save a copy of an existing table. However, this is not a default option, so even when saving a copy of data already in the 1 mm precision projection MapInfo will automatically default to the standard projection. This makes it very easy to accidentally reduce the quality of your data if you forget to actively select the 1 mm precision projection.</p>
<p>
	Fortunately there is a relatively simple way to ensure that MapInfo always defaults to the 1 mm projection:</p>
<ul>
	<li>
		Navigate to the MapInfo folder under program files (e.g. C:\Program Files (x86)\MapInfo\Professional).</li>
	<li>
		Locate the MAPINFOW.PRJ file.<img alt="The MapInfo Choose Projection dialogue, altered so that the British National Grid projection defaults to 1 mm accuracy" src="https://www.esdm.co.uk/Data/Sites/1/media/knowledgebase/gisknowledge/alteredchooseprojectiondialogue.png" style="width: 447px; height: 365px; float: right;" title="Altered MapInfo Choose Projection dialogue" /></li>
	<li>
		Backup the MAPINFOW.PRJ file, in case you make a mistake.</li>
	<li>
		Open the MAPINFOW.PRJ file in a text editor (e.g. notepad).</li>
	<li>
		Search for ‘British’, which will find a section of text that looks like this:</li>
</ul>
<p style="margin-left: 80px;">
	"--- British Coordinate Systems ---"<br />
	"British National Grid\p27700", 8, 79, 7, -2, 49, 0.9996012717, 400000, -100000<br />
	"British National Grid (1 mm accuracy)", 2008, 79, 7, -2, 49,0.9996012717, 400000, -100000, 0, 0, 2000000, 2000000<br />
	"British OSGRS80 Grid", 8, 33, 7, -2, 49, 0.9996012717, 400000, -100000</p>
<ul>
	<li>
		Move the third line of this text up one so that it becomes the second:</li>
</ul>
<p style="margin-left: 80px;">
	"--- British Coordinate Systems ---"<br />
	"British National Grid (1 mm accuracy)", 2008, 79, 7, -2, 49,0.9996012717, 400000, -100000, 0, 0, 2000000, 2000000<br />
	"British National Grid\p27700", 8, 79, 7, -2, 49, 0.9996012717, 400000, -100000<br />
	"British OSGRS80 Grid", 8, 33, 7, -2, 49, 0.9996012717, 400000, -100000</p>
<p>
	This change moves the 1 mm accuracy projection to the top of the <em>Category Members </em>selector under the British Coordinate Systems <em>Category </em>in the <em>Choose Projection </em>dialogue box of MapInfo, automatically making it the default option (as shown in the picture). If you want to use the standard projection then you just need to select 'British National Grid [EPSG: 27700]' from the dialogue instead.</p>
<p>
	&nbsp;</p>
<br /><a href='https://www.esdm.co.uk/british-national-grid-in-mapinfo'>Mike Lush</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/british-national-grid-in-mapinfo'>...</a>]]></description>
      <link>https://www.esdm.co.uk/british-national-grid-in-mapinfo</link>
      <author>mike.lush@idoxgroup.com (Mike Lush)</author>
      <comments>https://www.esdm.co.uk/british-national-grid-in-mapinfo</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/british-national-grid-in-mapinfo</guid>
      <pubDate>Wed, 28 Nov 2012 11:36:00 GMT</pubDate>
    </item>
    <item>
      <title>When a new installation of MapInfo Pro prompts for MAPINFOW.FNT etc</title>
      <description><![CDATA[<p>
	On starting MapInfo Pro, it prompts for the location of&nbsp;MAPINFOW.FNT (and a few similar files). A file search shows that these files do not exist on the machine.&nbsp;</p>
<p>
	This typically occurs when an Administrator installs MapInfo Professional and then logs off the machine without running the program at least once (it is the first run as admin that installs these files). The easiest solution is to have the user go to the MapInfo\Professional\AddUser folder (for example C:\Program Files (x86)\MapInfo\Professional\AddUser)&nbsp;and run the "MapInfo Professional User.msi" file found there and then re-start MapInfo Professional.</p>
<br /><a href='https://www.esdm.co.uk/when-a-new-installation-of-mapinfo-pro-prompts-for-mapinfowfnt-etc'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/when-a-new-installation-of-mapinfo-pro-prompts-for-mapinfowfnt-etc'>...</a>]]></description>
      <link>https://www.esdm.co.uk/when-a-new-installation-of-mapinfo-pro-prompts-for-mapinfowfnt-etc</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/when-a-new-installation-of-mapinfo-pro-prompts-for-mapinfowfnt-etc</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/when-a-new-installation-of-mapinfo-pro-prompts-for-mapinfowfnt-etc</guid>
      <pubDate>Fri, 03 Aug 2012 08:38:00 GMT</pubDate>
    </item>
    <item>
      <title>Notes on importing spatial data into SQL Server 2008</title>
      <description><![CDATA[<p>
	There are a variety of ways to do this, but often you will hit issues with data validity.</p>
<ul>
	<li>
		If you have our ArcGIS Maplink product (or ArcSquirrel) then loading data in using this into a temporary SQL table is probably best as it will do a reasonable amount of checking.</li>
	<li>
		MapInfo has its own SQL loader tool ("Easy Loader" - find it in the Tool Manager)</li>
	<li>
		If you are just using open source you can use OGR2OGR</li>
</ul>
<p>
	ogr2ogr -overwrite -f "MSSQLSpatial" "MSSQL:server=MyServer;database=MyDatabase;Trusted_Connection=yes;" "C:\Temp\MyShapeFile.shp" -a_srs "EPSG:27700"</p>
<p>
	Once the data is in SQL there can still be issues:</p>
<h2>
	Incorrect SRID</h2>
<ul>
	<li>
		Make sure you specified the correct SRID when the data was loaded (if you didn’t specify it – it may well be 0). You can check this with the SQL: SELECT geom.STSrid from SitesGeom Where geom.STSrid &lt;&gt; 27700</li>
</ul>
<h2>
	Invalid ring</h2>
<ul>
	<li>
		You may also have invalid ring geometries – a good post on this is <a href="http://blogs.msdn.com/b/edkatibah/archive/2008/08/19/working-with-invalid-data-and-the-sql-server-2008-geography-data-type-part-1b.aspx"><font color="#0066cc">http://blogs.msdn.com/b/edkatibah/archive/2008/08/19/working-with-invalid-data-and-the-sql-server-2008-geography-data-type-part-1b.aspx</font></a> but the key SQL command is:</li>
</ul>
<p>
	UPDATE foo SET geom = geom.STUnion(geom.STStartPoint());</p>
<h2>
	Invalid geometries</h2>
<p>
	UPDATE foo SET geom = geom.MakeValid()</p>
<h2>
	SRID not imported</h2>
<p>
	Import geometry data into temp SQL table (e.g. foo) – with tempGeom column</p>
<p>
	Then try to populate a geometry column from the WKB of the validated column:</p>
<p>
	ALTER TABLE foo ADD geomFinal geometry;</p>
<p>
	SET geomFinal = geometry::STGeomFromWKB(geomTemp.STAsBinary(), 27700)</p>
<br /><a href='https://www.esdm.co.uk/notes-on-importing-spatial-data-into-sql-server-2008'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/notes-on-importing-spatial-data-into-sql-server-2008'>...</a>]]></description>
      <link>https://www.esdm.co.uk/notes-on-importing-spatial-data-into-sql-server-2008</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/notes-on-importing-spatial-data-into-sql-server-2008</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/notes-on-importing-spatial-data-into-sql-server-2008</guid>
      <pubDate>Thu, 17 Nov 2011 09:24:00 GMT</pubDate>
    </item>
    <item>
      <title>Where to find the Ordnance Survey registration files</title>
      <description><![CDATA[<p>The registration files (world files and tab files) for all Ordnance Survey raster datasets can be downloaded from: <p><a title="http://www.ordnancesurvey.co.uk/oswebsite/products/geo-referencing.html" href="http://www.ordnancesurvey.co.uk/oswebsite/products/geo-referencing.html" target="_blank">http://www.ordnancesurvey.co.uk/oswebsite/products/geo-referencing.html</a> <p>These are available as *.tfw "world files" for ArcGIS<sup>®</sup>, or *.tab files for MapInfo Professional<sup>®</sup></p><br /><a href='https://www.esdm.co.uk/where-to-find-the-ordnance-survey-registration-files'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/where-to-find-the-ordnance-survey-registration-files'>...</a>]]></description>
      <link>https://www.esdm.co.uk/where-to-find-the-ordnance-survey-registration-files</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/where-to-find-the-ordnance-survey-registration-files</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/where-to-find-the-ordnance-survey-registration-files</guid>
      <pubDate>Tue, 15 Nov 2011 14:21:04 GMT</pubDate>
    </item>
    <item>
      <title>Using ECWs without world files in MapInfo</title>
      <description><![CDATA[<p>If you have ECW map images without world files, they may work fine in ArcGIS but MapInfo won't put them in the right place as it can't read the header information in the ECW. You could opening them individually in MapImagery to generate tabs, but this is very time consuming.</p>

<p>We have written a custom MapBasic app for this purpose: for ESDM staff this is located in 3rdPartyApps\TABs_from_ECW [this being a pretty dumb place for it, as it is not a 3rdPartyApp, Ed]. Instructions are in the text file in the zip.</p>

<p>If you are not Exegesis staff, and find yourself in this situation, please <a href="https://www.esdm.co.uk/contact">contact us</a> for help.</p>
<br /><a href='https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo-1'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo-1'>...</a>]]></description>
      <link>https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo-1</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo-1</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo-1</guid>
      <pubDate>Sat, 12 Nov 2011 18:51:00 GMT</pubDate>
    </item>
    <item>
      <title>Using ECWs without world files in MapInfo</title>
      <description><![CDATA[<p>If you have ECW map images without world files, they may work fine in ArcGIS but MapInfo won't put them in the right place as it can't read the header information in the ECW. You could opening them individually in MapImagery to generate tabs, but this is very time consuming. <p>We have written a custom MapBasic app for this purpose: this is located in 3rdPartyApps\TABs_from_ECW. <p>Instructions are in the text file in the zip. <p>If you are not exeGesIS staff, and find yourself in this situation, please <a href="http://www.esdm.no-ip.co.uk/contact">contact us</a> for help.</p><br /><a href='https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo'>...</a>]]></description>
      <link>https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/using-ecws-without-world-files-in-mapinfo</guid>
      <pubDate>Fri, 30 Sep 2011 14:16:00 GMT</pubDate>
    </item>
    <item>
      <title>How to run Mapbasic code whenever a .tab file is opened</title>
      <description><![CDATA[<div>
	Mapbasic code can be run whenever a .tab file is opened by inserting code in the .tab file just after the header.</div>
<div>
	e.g.</div>
<div>
	...</div>
<div>
	<p>
		!charset WindowsLatin1</p>
	<p>
		Run Application "C:\TestProgram.mbx"</p>
	<p>
		Definition Table</p>
	<p>
		...</p>
</div>
<p>
	&nbsp;</p>
<br /><a href='https://www.esdm.co.uk/how-to-run-mapbasic-code-whenever-a-tab-file-is-opened'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/how-to-run-mapbasic-code-whenever-a-tab-file-is-opened'>...</a>]]></description>
      <link>https://www.esdm.co.uk/how-to-run-mapbasic-code-whenever-a-tab-file-is-opened</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/how-to-run-mapbasic-code-whenever-a-tab-file-is-opened</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/how-to-run-mapbasic-code-whenever-a-tab-file-is-opened</guid>
      <pubDate>Tue, 31 Oct 2006 15:48:36 GMT</pubDate>
    </item>
    <item>
      <title>How to check what geometry types are present in a MapInfo table</title>
      <description><![CDATA[<div>
	How to check what geometry types are present in a MapInfo table</div>
<div>
	<p>
		In MapInfo Pro, the following query will summarize the contents of a layer by geometry type:</p>
</div>
<div>
	(type this into the MapBasic window, or use the SQL builder)</div>
<div>
	&nbsp;</div>
<div>
	<p>
		Select str$(obj), Count(*) from MyTable group by 1 into Selection</p>
	<p>
		Browse * From Selection</p>
	<p>
		&nbsp;</p>
	Str$(Obj) returns a text string such as "Polyline" or "Region".</div>
<p>
	&nbsp;</p>
<br /><a href='https://www.esdm.co.uk/how-to-check-what-geometry-types-are-present-in-a-mapinfo-table'>Crispin Flower</a>&nbsp;&nbsp;<a href='https://www.esdm.co.uk/how-to-check-what-geometry-types-are-present-in-a-mapinfo-table'>...</a>]]></description>
      <link>https://www.esdm.co.uk/how-to-check-what-geometry-types-are-present-in-a-mapinfo-table</link>
      <author>crispin.flower@idoxgroup.com (Crispin Flower)</author>
      <comments>https://www.esdm.co.uk/how-to-check-what-geometry-types-are-present-in-a-mapinfo-table</comments>
      <guid isPermaLink="true">https://www.esdm.co.uk/how-to-check-what-geometry-types-are-present-in-a-mapinfo-table</guid>
      <pubDate>Tue, 16 May 2006 13:25:57 GMT</pubDate>
    </item>
  </channel>
</rss>