<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Using allCountries Data Dump"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Using allCountries Data Dump"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Using allCountries Data Dump</title>
				<description><![CDATA[ Yesterday I downloaded the allCountries dump and inserted it into a mysql db.  However, when I query it using lat and lng points that are successful with the geonames web service, my local query returns nothing.
For instance, this query:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
 SELECT *
FROM `geonames`
WHERE `latitude` = 43.0946
AND `longitude` = - 79.0261
LIMIT 0 , 30 
</pre>
		</div>
returned no results.
Thinking that the web service must perform some sort of truncate operation on its input, so I tried this:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
 SELECT *
FROM `geonames`
WHERE `latitude` LIKE '43'
AND `longitude` LIKE '-79'
LIMIT 0 , 30 
</pre>
		</div>
Still no results.  When I feed that point to the web service, It returns Niagara Falls, NY, USA.

Can somebody help me understand what I am doing wrong?

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1080.page#4731</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1080.page#4731</link>
				<pubDate><![CDATA[Sat, 4 Oct 2008 05:28:10]]> GMT</pubDate>
				<author><![CDATA[ smith7800]]></author>
			</item>
			<item>
				<title>Re:Using allCountries Data Dump</title>
				<description><![CDATA[ For nearby queries you should use the spatial functions and operators of your database system.

This thread has more information about mysql:
http://forum.geonames.org/gforum/posts/list/692.page

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1080.page#4733</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1080.page#4733</link>
				<pubDate><![CDATA[Sun, 5 Oct 2008 12:06:33]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>