Closed (outdated)
Project:
Geocoder
Version:
7.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2014 at 15:01 UTC
Updated:
6 Mar 2018 at 12:22 UTC
Jump to comment: Most recent
Hi
I have been working on project that utilises the computed field module to get long/latitude then using the geocorder to reverse those coordinate to the actual address on the google map. With other field i have managed except computed field.
Please find attached 
Thank you
Comments
Comment #1
ebal1 commentedComment #2
pcbudde commentedCan you share your code used in the computed field to reverse the coordinates?
Comment #3
ebal1 commentedI having issue like this: https://www.drupal.org/node1970288/1970288.
Its does not create point for the country or point. What i have realised is that if a field is a computed field then its used in " Geocode from field" its does not work at work but for other field work ie title and body.
Comment #4
ebal1 commented@pcbudde even if just make something like this in :
$entity_field[0]['value'] = "POINT (-74.4602393 40.5169617)"; and its computed field , if you try to use Geocode from field to display that point nothing is showing up. I have spend sometimes on this
Comment #5
simon georges commentedDid you test the patch in #1679926: Geocoding from computed field after node edit doesn't work?
Comment #6
ebal1 commented@Simon Georges I used that but still getting the same error
Comment #7
simon georges commentedOk, thanks for the feedback.
Comment #8
ebal1 commented@Simon Georges i did used the patch that you suggested and follow the discussion threads, now i manage to get the geocorder working but for the first time when i create node its does not create the map, as soon as i edit it shows up everything successfully. I need to investigate the presave function.
Comment #9
simon georges commentedThat's a start! If you find what's missing on geocoder's size, we'll commit a patch. Thanks for your feedback!
Comment #10
ebal1 commentedComment #11
simon georges commentedComment #12
pol