Capture location information in Gravity Forms by geocoding user's input into other form fields.
Author: | Michael Moore / Luminfire.com (profile at wordpress.org) |
WordPress version required: | 4.4.1 |
WordPress version tested: | 4.7.2 |
Plugin version: | 0.0.1 |
Added to WordPress repository: | 04-03-2017 |
Last updated: | 08-02-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://luminfire.com |
Total downloads: | 2 807 |
Active installs: | 70+ |
Click to start download
|
Screenshots
Brilliant Geocoder for Gravity Forms watches for changes to the form, then finds a location based on those fields.
Brilliant Geocoder for Gravity Forms comes with support for three geocoders. To use Geocod.io or Google Maps API, you will need to visit the Gravity Forms settings and enter your API keys.
On individual form settings pages you can select which geocoder to use for the current form. Only geocoders with required API key will appear in this list.
The fields that appear in the Geocoding Source Fields section will dependo on which geocoder engine you've selected on the form's settings page. The geocoder fields you associate with source fields will be sent to the geocoder service. In this screenshot only a single field is needed.
Other geocoding engines may need separate street, city and other fields to geocode correctly.
You have a lot of control over what you display to the user. The default is to display a map which will show the geocoded location with a marker. You can also choose to show a GeoJSON Text area (which may only be for advanced users) or a pair of latitude and longitude text fields.
Here's what the three inputs will look like to the user. The map is at the top, then the GeoJSON, then the Latitude and Longitude.
Alternatively you could hide the geocoding interface from the user completely. It will still work and submit correctly, it just won't be visible.
Geocoded results are stored as GeoJSON but, for convenience, just the coordinates are show on the entry listing page.
On the full entry view page the map and the GeoJSON are shown.
When editing existing form submissions, the map, GeoJSON and latitude and longitude fields are all interlinked. You can change any of them and the other two will update. You can also edit the associated input fields and the geocoding will be updated as you would expect.
FAQ
Where are the Terms of Service for the Geocoding Services?
What data is sent to the geocoding service when I geocode?
Whatever fields you select as a geocoding source in Gravity Forms will be sent
to the geocoding service. This would typically means that address details
entered into the form will be sent to the geocoding service for processing.
Your API key and/or any other parameters required by the service’s terms of service
will also be sent.
Please review the Terms of Service of the service you select for details on
how your submitted data is stored or used.
How can I run spatial queries?
If you create users or posts, and set a meta value to the value of a Brilliant
Geocoder field, that value will be stored as spatial metadata.
Brilliant Geocoder for Gravity Forms uses WP-GeoMeta internally. For sample
queries, please see the WP-GeoMeta documentation.
Where can I get help with GIS and WordPress?
For commercial support you can contact the plugin developer at
Cimbura.com
For fast and short questions you can contact me on twitter.
ChangeLog
0.0.1
- Initial release!
- Support for OSM Nominatim
- Support for Google Maps API
- Support for Geocod.io
- Forward geocoding support
- Admin value editing