• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Geocode scheduled task

  • Views Views: 10,057
  • Last updated Last updated:
  • Introduction​


    The geocode plugin allows you to use Googles geocode API to find and store coordinates for a set of addresses. This can be useful when you import in a data set and wish to update a Google Map element for all of the imported records.

    This scheduled task plugin will only run if the Fabrik Cron System Plug-in is installed.

    Options Address​


    cron-geocode-address.png

    • Map element - The google map element which will be used to store the geo-coded location
    • The rest of this sections Options enable you to define which element's in your list contain which parts of the address to geocode.

    Options​


    cron-geocode-options.png

    • Geocode when - When to apply a geocode.
      • Empty or Default - will only geocode if the map element is empty or has the 'Empty Value' (as specified below)
      • Empty - will only geocode a row if the map element value is literally empty.
      • Always - will geocode regardless of value of the map element. NOTE - if you are using a 'Batch Limit', do not use 'Always' for this setting, as this will cause each run to simply re-encode the same batch.
    • Empty value - Only used if 'Empty or Default' is selected for 'Geocode When'. The value in the Map Element which should be considered to mean empty, i.e. this row needs encoding. Needs to be of the form (lat,long):zoom, with no spaces
    • Zoom level - Google Maps zoom level to use for the encoded map Elements.
    • Batch limit - OPTIONAL - set a limit on the number of rows to process on each run of the plugin, to avoid hitting Google limits on geocode operations. If not specified, all rows will be processed
    • Delay - OPTIONAL - delay (in milliseconds) between geocoding requests to Google. If you are seeing errors in the Fabrik log about Google limits, try setting this to a few hundred.
Back
Top