<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "OpenGTS with Geonames"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "OpenGTS with Geonames"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>OpenGTS with Geonames</title>
				<description><![CDATA[ Hi,

I use OpenGTS (that is a open serive for gps: http://www.opengts.org/) And with this, i use Geonames for get the reverse-geocode tool. But i have a couple problems for configuration Geonames in OpenGTS. 

OpenGTS ask me:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
    &lt;!-- =============================================
     === Geonames Reverse-Geocode Provider &#40;default disabled&#41;
     === - This reverse-geocoding uses the services provided by 'GeoNames.org' &#91;http://www.geonames.org&#93;
     === - Geonames also provides a commercial-use reverse-geocoding service that guarantees a faster and 
     ===   more reliable response time.  More information is available at the following link:
     ===      http://www.geonames.org/commercial-webservices.html
     ===   Or contact them at the following email address:
     ===      services@geonames.org
     ===   &#40;Make sure you let them know you are using it with 'OpenGTS'!&#41;
     --&gt;
    &lt;ReverseGeocodeProvider name="geonames" 
        active="${Domain.ReverseGeocodeProvider.active=true}"
        class="org.opengts.geocoder.geonames.GeoNames"
        key=""
        rtPropPrefix="Domain.ReverseGeocodeProvider."&gt;
        &lt;Property key="radiusKM"&gt;1.0&lt;/Property&gt;
        &lt;Property key="host"&gt;ws.geonames.org&lt;/Property&gt;
        &lt;Property key="postalFailover"&gt;false&lt;/Property&gt; &lt;!-- findNearbyPostalCodes --&gt;
        &lt;Property key="streetFailover"&gt;false&lt;/Property&gt; &lt;!-- findNearbyStreetsOSM --&gt;
        &lt;!--
         === - Set the following properties to appropriate values when purchasing the 
         ===   Geonames Commercial reverse-geocoding service.
         === - Geonames may also require a "username" for the free service as well.
         --&gt;
        &lt;Property key="failoverHost"&gt;&lt;/Property&gt;
        &lt;Property key="username"&gt;jeremylf&lt;/Property&gt;
        &lt;Property key="token"&gt;&lt;/Property&gt;
        &lt;Property key="alwaysFast"&gt;false&lt;/Property&gt;
    &lt;/ReverseGeocodeProvider&gt;
</pre>
		</div>


But when i use this i get this error:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&#91;INFO_|12/01 14:20:14|ServerSocketThread$ServerSessionThread.handleClientSession:2416&#93; Remote client port: /190.113.210.130:40365 &#91;to /192.168.1.69:31000&#93;
&#91;INFO_|12/01 14:20:14|AbstractClientPacketHandler.printSessionStart:241&#93; Begin TCP session &#40;ClientSession_000&#41;: 190.113.210.130
&#91;INFO_|12/01 14:20:14|DMTPClientPacketHandler.sessionStarted:126&#93; Begin Duplex communication: 190.113.210.130
&#91;INFO_|12/01 14:20:15|Transport.loadDeviceByTransportID:1666&#93; Located Device 'fastpatrol/hyundai_31d4' &#40;using default Device transport&#41;
&#91;INFO_|12/01 14:20:22|DeviceID.&lt;init&gt;:172&#93; &#91;Tue Dec 01 14:20:22 COT 2015&#93; Loaded device: fastpatrol/hyundai_31d4
&#91;INFO_|12/01 14:20:22|Nominatim.getAddressReverseGeocode:163&#93; Address URL: http://open.mapquestapi.com/nominatim/v1/reverse?format=xml&limit=1&accept-language=es&addressdetails=1&zoom=18&email=&lat=-12.16024&lon=-76.98900
&#91;INFO_|12/01 14:20:22|ServerSocketThread$ServerSessionThread.handleClientSession:2524&#93; TCP Resp Asc: $E0A0
$E0FF
&#91;ERROR|12/01 14:20:22|Nominatim.GetXMLDocument:393&#93; IO error: org.opengts.util.HTMLTools$HttpIOException: Server returned HTTP response code: 403 for URL: http://open.mapquestapi.com/nominatim/v1/reverse?format=xml&limit=1&accept-language=es&addressdetails=1&zoom=18&email=&lat=-12.16024&lon=-76.98900
&#91;INFO_|12/01 14:20:22|EventData.updateAddress:2747&#93; No RG Address found &#91;nominatim&#93;: -12.16024/-76.98900
&#91;ERROR|12/01 14:20:24|ServerSocketThread$ServerSessionThread._readPacket:3367&#93; ReadPacket error - java.net.SocketException: Connection reset
&#91;ERROR|12/01 14:20:24|ServerSocketThread$ServerSessionThread.handleClientSession:2623&#93; Connection closed
&#91;INFO_|12/01 14:20:24|ServerSocketThread$ServerSessionThread.handleClientSession:2638&#93; End of TCP session &#91;10840 ms&#93; &#40;error/warning&#41; ...
&#91;WARN_|12/01 14:20:24|DMTPClientPacketHandler.sessionTerminated:142&#93; Session terminating with errors
&#91;INFO_|12/01 14:20:24|DMTPClientPacketHandler.sessionTerminated:159&#93; End Duplex communication: 190.113.210.130
</pre>
		</div>


So, what i do wrong? My account in Geonames is arleady active for use free service.


Thanks! And sorry for my poor english  :D ]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/26070.page#35140</guid>
				<link>http://forum.geonames.org/gforum/posts/list/26070.page#35140</link>
				<pubDate><![CDATA[Wed, 9 Dec 2015 22:43:38]]> GMT</pubDate>
				<author><![CDATA[ jeremylf]]></author>
			</item>
	</channel>
</rss>