Active
Project:
Rules Geocoder
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2011 at 16:21 UTC
Updated:
17 Jul 2011 at 18:39 UTC
After content is saved, the Geocoding Rule Set is scheduled - this is to be certainthe address source field is fully populated before geocoding, not sure it is necessary. In testing, the WKT Field does not get populated.
Source Text Field: full street address
Destination OL WKT Field: Same OL WKT field currently used. For Widget Type, tried both OL Hidden Value and OL Geocoder. Would prefer to use OL Geocoder just in case the address needs to be manually modified.
It seems easy and simple, but the WKT Field is never populated.
Wondering if something is wrong and how others are using it to work. Thanks.
Comments
Comment #1
itserich commentedI created a simple sample content with two fields: 1- text area 2- OpenLayers WKT
Then I created two Rules, one triggered when the content type is created and one when it is updated.
Condition- Content type
Action is to geocode:
Content- created content
Source Text- newly created text area
Destination - Geocoded Location
There is never any geocoding. When I remove the triggers, there is still no geocoding.
On my site, and I think on many sites, this would be a useful feature.
Perhaps it is a conflict with another module, I have many enabled. There are no watchdog errors. Perhaps it is due to a change within Openlayers.
If anyone has this working and could post the Content Type export and Rule export or tell me what might be wrong I would appreciate it.
Comment #2
itserich commentedComment #3
henrrrik commentedHere's an exported rule from a site with a working setup:
Comment #4
itserich commentedThank you @ henrrrik on
This Rule works fine. Thanks so much, this is a big help.
It appears to not work if the EVENT is changed from "Content is going to be saved" to "After updating existing content" which is what I was originally using.
Has anyone got Rules Geocoder workig with an event Other Than "Content is going to be saved"
Comment #5
itserich commentedSo I have done more testing with Rules Geocoder and for some reason the geocoding is not working if the trigger Event = After updating existing content.
I tried different weights for the Triggered Rule -10, 0, 10.
Tried to update the title instead of the geocoded field several times in a row, but no geocoding.
This is the result using Debug rule evaluation.
Using Event trigger Content is going to be saved has worked each time in my few tests.
Am going to try other situations such as Rule Sets, conditions, etc.
Curious if anyone else has found situations which do work and do not work. I think this is an important module if it can work with Views Bulk Operations and so on.