<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>geocoder issue with recalculating</title>
        <link>https://interactivetools.com/forum/forum-posts.php?geocoder-issue-with-recalculating-79734</link>
        <description></description>
        <pubDate>Fri, 06 Mar 2026 12:18:07 -0800</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;geocoder-issue-with-recalculating-79734" rel="self" type="application/rss+xml" />

                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235194#post2235194</link>
          <description><![CDATA[<p>The capturing your location is just code freely available.  Send me your email and I'll get you something to look at.  tim at toledoh dot com dot au</p>
<p>The jquery stuff was free also, but I'm not sure of the details or how complex it was.</p>

<p>I'm not a coder either.  itools does all that I can't do.</p>]]></description>
          <pubDate>Thu, 16 Oct 2014 01:37:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235194#post2235194</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235193#post2235193</link>
          <description><![CDATA[<p>Hi Tim,</p>
<p>That sounds interesting, did you need to purchase additional software to provide that functionality. I am not a programmer so would need to have at  least the basic program/code in place. Do you have addresses for the sites so I can see how it works?</p>
<p>Thanks</p>
<p>Steve </p>]]></description>
          <pubDate>Thu, 16 Oct 2014 01:15:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235193#post2235193</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235192#post2235192</link>
          <description><![CDATA[<p>I've got a couple of sites that collect current location, and use this as the base to then search and display results - by distance.  Great for mobile.</p>
<p>I also saw some time ago, some jquery code that could take start / finish and I think points along the way and display results with routes / time travel by car, walking etc) it was pretty cool.</p>]]></description>
          <pubDate>Thu, 16 Oct 2014 01:08:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235192#post2235192</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235191#post2235191</link>
          <description><![CDATA[<p>Hi Claire,</p>
<p>It isnt anything hugely important at this time but as we have a website which provides information on accommodation, businesses and attractions in a holiday location I was thinking that the ability to display business information as we do already but with an added ability to be able to state how far a viewer was from any particular business or attraction or as some applications do, provide directions/google map from the viewers current location to the business or attraction being viewed would be a helpful facility to provide. Perhaps it's something you could look to adding or developing as another plugin if there is sufficient interest from other users.</p>]]></description>
          <pubDate>Thu, 16 Oct 2014 00:54:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235191#post2235191</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235186#post2235186</link>
          <description><![CDATA[<p>It is just ready to go, yes.</p>
<p>In theory a geocoder would be able to calculate the distance from the current location to the object, but as far as I know, the code to do so is not present in the plugin. It would require that the current user's lat/lng be supplied in some way, and that isn't available except from mobile devices that allow that information to each website that requests it.</p>
<p>Very doable, but the application is limited because getting the lat/lng from a non-mobile device is not really reliable. Still - what have you got in mind for this kind of functionality?</p>]]></description>
          <pubDate>Wed, 15 Oct 2014 11:24:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235186#post2235186</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235185#post2235185</link>
          <description><![CDATA[<p>Hi Claire,</p>
<p>just to advise that I have now received the amended geocoder, thank you very much, I assume it is just ready to go with the "Do not overwrite if values exist" option already set.</p>
<p>I am not a programmer but having a quick look at the phpcode it looked as though there is the facility to display distance to object from current location, is this something which can be set up without additional software etc and how is it implemented with a summary or detail page generated by cmsbuilder?</p>
<p>Thanks in advance</p>]]></description>
          <pubDate>Wed, 15 Oct 2014 01:14:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235185#post2235185</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235177#post2235177</link>
          <description><![CDATA[<p>This isn't an official update, no. This is a modified version that I created internally, and I thought may be useful for some people. Dave may decide to add it to the official version though.</p>]]></description>
          <pubDate>Tue, 14 Oct 2014 14:00:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235177#post2235177</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235147#post2235147</link>
          <description><![CDATA[<p>If you add a google map api key then the limit is much higher. Starting at roughly line 10 add the key value and then around line 125 update the $url</p>
<p>For a proper mod, the code could be improved by checking that the api key is set</p>

<p><code>// around line 10<br />// UPDATE THESE VALUES<br /> define('GEOCODER_APIKEY3','putyourkeyhere');<br /><br /> // around line 125<br /> // replace<br />     $url = "<a href="https://maps.googleapis.com/maps/api/geocode/json?sensor=false&amp;address=" rel="nofollow">https://maps.googleapis.com/maps/api/geocode/json?sensor=false&amp;address=</a>" .urlencode($address);<br /><br /> // with<br />     $url = "<a href="https://maps.googleapis.com/maps/api/geocode/json?key=" rel="nofollow">https://maps.googleapis.com/maps/api/geocode/json?key=</a>".GEOCODER_APIKEY3."&amp;sensor=false&amp;address=" .urlencode($address);</code></p>
]]></description>
          <pubDate>Mon, 06 Oct 2014 13:29:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235147#post2235147</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235145#post2235145</link>
          <description><![CDATA[<p>Hi Claire,</p>
<p>It is interesting!<br /><br />That also makes it possible to limit the requests at Google Maps?<br /><br />Is this a official update?<br />Thanks!</p>
<p>Djulia</p>
]]></description>
          <pubDate>Mon, 06 Oct 2014 09:31:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235145#post2235145</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235143#post2235143</link>
          <description><![CDATA[<p>Hi Jeff, can you open a ticket to get the modified copy of the geocoder plugin?</p>
<p>I'm sure this version will work fine for you. It'll only recalculate the lat/lng if the record is saved with empty lat/lng fields.</p>]]></description>
          <pubDate>Mon, 06 Oct 2014 08:59:55 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235143#post2235143</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235141#post2235141</link>
          <description><![CDATA[<p>I would like to see a modication to the code that prompts for overwrite if a value exists and is different from the current value.</p>]]></description>
          <pubDate>Sun, 05 Oct 2014 20:11:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235141#post2235141</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235140#post2235140</link>
          <description><![CDATA[<p>I would like to see a modication to the code that prompts for overwrite if a value exists and is different from the current value.</p>]]></description>
          <pubDate>Sun, 05 Oct 2014 20:11:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235140#post2235140</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235088#post2235088</link>
          <description><![CDATA[<p>I'm not sure if Dave will want to add this specifically to the geocoder for everyone. Different clients have different needs after all. I'll talk to him about it.</p>
<p>Tim, go ahead and open a support ticket if you want this version of the plugin.</p>]]></description>
          <pubDate>Thu, 25 Sep 2014 09:10:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235088#post2235088</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235082#post2235082</link>
          <description><![CDATA[<p>If possible - I would like to trial it also.</p>
]]></description>
          <pubDate>Wed, 24 Sep 2014 23:23:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235082#post2235082</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235081#post2235081</link>
          <description><![CDATA[<p>Hi Claire,</p>
<p>that would be great, i am leaving for vacation today  so will have left by the time you get the ticket. I will be back 13th October and will open the ticket then if thats okay.  This would be a natural update to the product to allow fine tuning of the maps, could you incorporate it into the basic product so it was available as standard so that all anyone would need to do is re- download the plugin?</p>
<p>thanks </p>
<p>Steve</p>]]></description>
          <pubDate>Wed, 24 Sep 2014 23:21:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235081#post2235081</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235062#post2235062</link>
          <description><![CDATA[<p>Hey Steve - I actually just tackled a similar issue to this recently, and I added some extra custom code to the geocoder to prevent overrides.</p>
<p>If you're still having issues with it, please open a support ticket. I'll pass my version of the plugin over to whoever picks it up and you can try it out.</p>]]></description>
          <pubDate>Wed, 24 Sep 2014 12:18:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235062#post2235062</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235047#post2235047</link>
          <description><![CDATA[<p>Thanks Tim,</p>
<p>I will give it a try, logically it makes sense so fingers crossed. :-)</p>
<p>Steve</p>]]></description>
          <pubDate>Tue, 23 Sep 2014 22:42:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235047#post2235047</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235046#post2235046</link>
          <description><![CDATA[<p>I'm no programmer either, but I think this could work.</p>
<p>&lt;?php if ($record['lat2']): ($record['latitude'] = $record['latitude']); ?&gt;&lt;?php endif ?&gt;<br />&lt;?php if ($record['long2']): ($record['longitude'] = $record['longitude']); ?&gt;&lt;?php endif ?&gt; </p>
<p>And put it in the &lt;head&gt; before the &lt;script&gt;</p>]]></description>
          <pubDate>Tue, 23 Sep 2014 22:03:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235046#post2235046</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235044#post2235044</link>
          <description><![CDATA[<p>Hi, Thanks for taking the time to help with this.</p>
<p>What you say makes sense, I understand the logic behind that, unfortunately I am not a php programmer, would it be as simple as using the code you have indicated and replicating it for longitude and inserting the two elements below the existing geocoder code script which from memory is in the head of the detail viewer. Would it require any additional code anywhere and would it make any difference where the code was placed? Presumably it has to go after the existing code has allocated the normal values So that they are overwritten by the new lat2 and long2 values.</p>
<p>Is the code you have suggested the actual code/syntax that would work if I set the two new fields as lat2 and long2</p>
<p>Thanks again for your help, it is appreciated.</p>]]></description>
          <pubDate>Tue, 23 Sep 2014 20:01:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235044#post2235044</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235041#post2235041</link>
          <description><![CDATA[<p>This would be handy, as many times for some reason google does not identify the correct location.</p>
<p>Maybe its as simple as creating 2 additional fields: lat2 and long2.  Then have some kind of &lt;?php if $lat2; $lattitude= $lat2; ?&gt; so if there is an entry in the additional fields, even though the geocoding updates the lattiude fields, the lat2 field overrides it on the page?</p>]]></description>
          <pubDate>Tue, 23 Sep 2014 15:26:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235041#post2235041</guid>
        </item>
                <item>
          <title>geocoder issue with recalculating</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235032#post2235032</link>
          <description><![CDATA[<p>Hi all,</p>
<p>We have been using geocoder without any issues for a short while but have run into a small issue, we have one client who isnt happy because the google map displays a competitors holiday park on google maps rather than their own due to them sharing the same postcode. I thought a resolution to this would be to manually adjust the latitude and longitude values however as soon as the record is saved geocoder recalculates based upon the postcode and replaces the manually input coordinates with those calculated for the postcode. I tried removing the postcode and address details which are used by geocoder but we still get an ovewrwriting of the coordinates.</p>
<p>The only way I could resolve this was to manually edit the sql database for this record and change the coordinates but as soon as the record is changed it will revert back to the old values.</p>
<p>Is there any way to prevent the coordinates being recalculated once they have been set or other method to enforce specific coordinates?</p>
<p>If not already possible I feel this would be a very helpful addition to the plugin as it is feasible that many businesses may wish to fine tune their map display by manually altering the latitude and longitude values especially in industries such as hotels and accommodation.</p>
<p>Thanks in advance for any help with this..</p>]]></description>
          <pubDate>Mon, 22 Sep 2014 23:15:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235032#post2235032</guid>
        </item>
              </channel>
    </rss>
  