Closed (outdated)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2010 at 15:37 UTC
Updated:
19 Jul 2016 at 13:08 UTC
Jump to comment: Most recent
Comments
Comment #1
yesct commentedtagging and marked as a duplicate of #798484: nodes not creating geocode data (if the issue is different, just repost and say why).
Comment #2
zdean commentedThat issue was filed under the Dev version, this one is rc-1. My assumption was that the same problem under different versions required separate issue tickets.
Comment #3
jdwfly commentedI can confirm this under the rc1 and the latest dev. The longitude and latitude fields are not getting populated with the data from the geocode.
Comment #4
yesct commentedMaybe in some projects... but the pattern in location lately is for someone to post a problem in 3.0, for someone to suggest dev has a fix, for someone to test and see if dev indeed has the fix. Then if the problem is fixed in dev, to mark the issue fixed/closed. If it is not fixed in dev, to proceed to try and make the fix against dev.
So really, we need to know if it is a problem in dev.
Comment #5
zdean commentedI originally marked this incorrectly as against the 3.0-rc1 instead of 3.1-rc1.
Comment #6
jdwfly commentedYes, latest dev version is broken.
By the way I am using the location cck field.
Comment #7
zdean commentedjdwfly...the dev has another ticket at #798484: nodes not creating geocode data...you should reopen that one...
Comment #8
bba99 commentedI'm not sure where to post this or if it is relevant.
I am adding nodes using Node Import and suddenly the newly important nodes didn't show up in my proximity search. After a ton of head scratching I figured out the long / lat weren't being created. I found that to make it work I had to use the full state name instead of the two letter abbreviation.
Comment #9
jdwfly commentedFor anyone else that might stumble upon this I was able to fix my issue after reading much of the source code of this module and after having to jump through many hoops to get gmap geocoding working. I didn't have to modify any source code to do it, but there are several configuration options that must be set in order for this to work.
It doesn't seem that JIT geocoding is working, but I haven't done any troubleshooting on why it doesn't work yet.
@zdean
If the problem exists in dev then the issue goes against dev not against the certain version. Then it gets fixed in dev and a new release will be made. If the problem doesn't exist in dev then it is fixed and you either need to use dev or wait for a new release. That is standard drupal practice in these queues. This problem happens to exist in both dev and 6.x-3.1-rc1 and so it should be marked against the dev. I am going to leave it to you since it is your issue and I don't seem to have this problem anymore. You might want to provide more information about your setup (modules using, configuration options, etc.). I might be able to help you if you provide more information.
Comment #10
zdean commented@jdwfly...thanks for the explanation. I've been chastised on these boards for not posting to the right version, so I just wanted to make sure I was following procedure. I'm ok with your explanation so have now changed it back to dev.
I would appreciate hearing what steps you took to fix this. I've got a very long list of modules and, of course, the many configuration pages for gmap/location...I'm not sure where to start in terms of giving you what you need to help diagnose that. Maybe learning about your steps would be helpful to get it resolved generally for everyone.
Thanks....
Comment #11
zdean commented@jdwfly...could you please provide some insight as to what configuration settings you had to adjust to make this work?
Thanks.
Comment #12
Spikezz commented@jdwfly. Would definitely be useful to understand the config steps. We could probably add that later in the documentation which seems to be in need of updates.
Comment #13
zdean commentedI would be willing to sponsor this if someone has any ideas about how to fix it...
Comment #14
yesct commentedtagging (adding key word bounty so someone might find this issue)
Comment #15
Spikezz commentedI created Documentation on how to get this to work. Please check out http://drupal.org/node/817592 and let me know your comments. This worked for me, hopefully I didn't miss any steps. Hope this helps newcomers to the Location module to get up to speed an running quicker.
Do I get the bounty? :-)
Comment #16
zdean commented@Spikezz...thanks for this step-by-step...it will definitely be helpful to newcomers. Unfortunately, this thread is from people that have followed these steps but can't get geocode data for the nodes...the bounty is still alive :-)
Comment #17
zdean commentedComment #18
yesct commentedzdean, why did you remove the location bounties tag? Someone in location, looking to do paid work will have a hard time finding this without it... ?
Comment #19
zdean commentedI played around with the configurations again, and it seems to be working for me again. I'm not sure exactly what fixed it.
This has happened before where it was working and then it stopped working...so I'm waiting to continue testing and to narrow down which of the config changes made the difference. It's on a live site, so I'm having to work carefully not to make a bigger mess.
Comment #20
yesct commentedok, post back when you have more info on how to reproduce the issue. thanks for sticking with this and keeping us updated.
Comment #21
jboeger commentedI'm having the same problem. My first node (of type Tour Date) is the only one that would generate coordinates. Same with first user. Other nodes and users not appearing on gmap.
Comment #22
jboeger commentedBeen working on this for 2 days, and just moments after posting I fixed it: in the content type settings, make sure to allow coordinates.
Comment #23
yesct commenteddid something change that made it necessary to add allowing coordinates? for example, did it work before an upgrade to dev, where before allowing coordinates was not selected?
Comment #24
jboeger commentedstopped working again! Something is broken. I'm using latest location and gmap dev versions on a fresh install.
Comment #25
yesct commentedthe official release just came out. I know this has been going on for a while, but please try the new official release on a new blank test site, and document the tests to reproduce the problem and post back. Thanks.
Comment #26
kerberos commentedHere's what happens to us:
A new node gets saved fine with geo-coding because it is entered with the full state name, e.g.
City: New York
State: New York
when it gets saved, that info is stored as:
City: New York
State: NY
If a node like this hasn't already been geocoded, it will fail to geo-code it with the abbreviated state name. Change the state name to New York and save, geo-coding works fine. I didn't try dev yet, this is with the most recent release. Was this fixed in dev?
-Daniel
My Gym and Trainer
Comment #27
ccheu commentedDear all,
Not sure if you have seen this. Have a look:
http://drupal.org/node/899624
I think this is the same problem, but I do not know if the suggested code will help. Can someone take a look and tell me if it is relevant or I've just sent you on a wild goose chase. :)
Look forward to hearing from you. Cheers!
Regards,
Chang
Comment #28
grasmash commentedI'm still experiencing this issue in dev. Geocoding only works if you create a node, delete its location, and then specify the location again.
Comment #29
grasmash commentedUpdate -- After removing the base_url variable from my settings.php file, this began working.
This leads me to believe that location (and in my case gmap_location) is making a request for lat and long, but that the geocoding information isn't making it back. This could stem from hosting problems or Drupal's configuration.
Kind of vague, I know, but it's a starting point.
Comment #30
legolasboClosing old D6 issues as D6 is end of life