<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mobile and gis dev notes &#187; mapinfo</title>
	<atom:link href="http:///wordpress/category/gis-general/mapinfo/feed/" rel="self" type="application/rss+xml" />
	<link>/wordpress</link>
	<description>by rupert</description>
	<lastBuildDate>Fri, 10 Feb 2012 05:27:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mapinfo8 MySQL5 Connection</title>
		<link>/wordpress/2007/02/linking-mysql5-with-mapinfo8/</link>
		<comments>/wordpress/2007/02/linking-mysql5-with-mapinfo8/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 09:03:14 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[mapinfo]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">/wordpress/?p=37</guid>
		<description><![CDATA[I only tried this using point objects. 1. Download and install MyODBC3.5.1 2. Create database mapinfotest 3. Create the mapinfo_mapcatalog table as follows: CREATE TABLE `mapinfo_mapcatalog` ( `SpatialType` float NOT NULL default '0', `TableName` char(32) NOT NULL default '', `OwnerName` char(32) NOT NULL default '', `SpatialColumn` char(32) NOT NULL default '', `DB_X_LL` float NOT NULL [...]]]></description>
			<content:encoded><![CDATA[<p>I only tried this using point objects.</p>
<p>1. Download and install <a href="http://dev.mysql.com/downloads/connector/odbc/3.51.html">MyODBC3.5.1</a></p>
<p>2. Create database mapinfotest</p>
<p>3. Create the mapinfo_mapcatalog table as follows:<br />
<code><br />
CREATE TABLE `mapinfo_mapcatalog` (<br />
`SpatialType` float NOT NULL default '0',<br />
`TableName` char(32) NOT NULL default '',<br />
`OwnerName` char(32) NOT NULL default '',<br />
`SpatialColumn` char(32) NOT NULL default '',<br />
`DB_X_LL` float NOT NULL default '0',<br />
`DB_Y_LL` float NOT NULL default '0',<br />
`DB_X_UR` float NOT NULL default '0',<br />
`DB_Y_UR` float NOT NULL default '0',<br />
`CoordinateSystem` char(254) NOT NULL,<br />
`Symbol` char(254) NOT NULL default '',<br />
`XColumnName` char(32) NOT NULL default '',<br />
`YColumnName` char(32) NOT NULL default '',<br />
PRIMARY KEY  (`TableName`,`OwnerName`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
</code></p>
<p>4. create a sample table with two (2) decimal columns for the latitude and longitude.<br />
<code><br />
CREATE TABLE `poi_orig2` (<br />
`poiid` decimal(10,0) unsigned NOT NULL default '0',<br />
`id` char(10) NOT NULL default '',<br />
`py_name` char(255) character set utf8 default NULL,<br />
`latitude` decimal(20,8) default '0.00000000',<br />
`longitude` decimal(20,8) default '0.00000000',<br />
PRIMARY KEY  (`poiid`,`id`)<br />
)<br />
</code></p>
<p>5. Open Mapinfo 8<br />
6. File -&gt; Open DBMS Connection<br />
<img src="/wordpress/images/mapinfo_odbc.png" /></p>
<p>7. Table &gt; Maintenance &gt; Make DBMS Table Mappable<br />
<img src="/wordpress/images/mapinfo_mappable_window.png" /></p>
<p>Fill up the necessary values for the x,y and the index column.<br />
<img src="/wordpress/images/mapinfo_mappable_window_2.png" /></p>
<p>You need to choose an index column so Mapinfo could update the record/s in MySQL, normally it would be an ID. Once successful you should be able to see the success window&#8230;</p>
<p><img src="/wordpress/images/mapinfo_mappable_window_3.png" /></p>
<p>8. Open the table<br />
<img src="/wordpress/images/mapinfo_mappable_window_4.png" /></p>
<p>Click on the upper right corner to open a dbms connection. After selecting the datasource (mine is system) then it would give you a list of tables to choose from.</p>
<p><img src="/wordpress/images/mapinfo_mappable_window_5.png" /></p>
]]></content:encoded>
			<wfw:commentRss>/wordpress/2007/02/linking-mysql5-with-mapinfo8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

