Table of Contents
Perimeter search, with the module Perimeter search you can clearly see on a map view the locations of your customers. To do this, enter an address and the radius to be able to view the nearby customers. This facilitates e.g. your planning for an external appointment if you want to combine several customer appointments in the region.
Google Maps controls the map content, OpenStreetmap is responsible for populating the Addresses with geodata. Thus, you need both API keys in order to use the module.
To enable proximity search via OpenStreetMap, do the following:
- Create an account at Openstreetmap: https://openrouteservice.org/sign-up/2. Request API key
3. Enter API key in the perimeter search settings.
To enable proximity search via Google Maps, follow these steps: 1. Create API key at Google Maps
- Enable the following APIs in your Google API account:- Geocoding API.
3. Enter API key in the proximity search settings.
Under Administration → Settings → Process Starters, create a new Process Starter with the following values.
The process starter gradually fills in the two geodata fields under Addresses → Other data.
A maximum of 2000 addresses are processed per day with the process starter -. the API of Openstreetmap does not allow more. Thus, the process starter should be set to 25 hours (period = 1500 minutes).
- Project → Loads all addresses associated with this project
- Search address → Around this address WaWision performs the radius search (center of the search radius)
- Zip code → Instead of an address can also be searched around a zip code
- Radius → number of kilometers of the radius around the search address
- Search → click button to start radius search
- Geodata is available for x → The process starter (see above) has stored geodata for these addresses. If geodata was not stored for an address, the API could not clearly assign the address
If you want to search around a specific address, enter the name or customer number of the address in the "Search address" field. The ZIP code field must remain empty.
You can also search by zip code. If only 3 digits are entered for the zip code, the remaining digits will be padded with 9s. Example: From the input. 815, Xentral makes 81599.
Postcode search abroad:
This works by adding the country after the postal code as a 2-digit ISO country abbreviation so e.g. 3100 AT.
Some (e.g. erroneous) addresses cannot be uniquely assigned by the service to a Geoposition, for example, if misspellings are included. In this case, the address can be corrected or manually located. To get an overview of the addresses with and without geocoding, you can create a report.
To do this, go to Administration → Import/Export Central → Master Data Export and create yourself a new export with "NEW" e.g. as follows:
Possible fields for export:
type; name; country; street; city; zip; lat; lng;