Geocoding



Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place a client or a order on a map, or position the map.

Reverse geocoding is the process of converting geographic coordinates into a human-readable address. For example, when a GPS coordinate is entered our platform will show the street address.

The focus of this article is to clarify considerations involved when geocoding addresses by describing the optimal use of the Xfleet Geocoder.

Before planning your routes you will need to geocode all your clients or orders, after creating or importing them, if the clients or orders do not already have latitude and longitude coordinates defined.

💡Without coordinates saved in Xfleet you will not be able to build scenarios and the clients without this information will be left out from the plan.

How to use Xfleet Geocoder


The simple way to Geocode will be to go to the Clients or Orders Screen, everytime you import or add new information, select "Bulk Geocode" button and click on it. Xfleet will automatically try to locate all your addresses. You will receive a message when finishes.

In general, use the Xfleet Geocoder when geocoding complete addresses (for example, “103-105 Calea Dorobanti, Bucuresti, Romania”)




Wait for a few seconds and then check if you have clients not geocoded. 
Use Advanced filter, select LAT (latitude) and "is missing", press "apply" to see the list bellow. If you see a blank list all your clients are geocoded.



💡 Check this list every time you add or import clients or orders.



Geocoding Addresses Best Practices


Handling Large Amounts of Markers 

Using native react maps Xfleet is capable of handling large amount of markers. and show them as clusters (*this feature is available only for Enterprise subscription).


Enter coordinates to set an address

💡Tips for formatting your coordinates

Here are some tips for formatting your coordinates so they work on Xfleet Geocoder:

  1. On your Admin site, open Clients or Orders screen, edit a client
  2. In the map search box (at the top), type your coordinates. Here are examples of formats that work:
    • Degrees, minutes, and seconds (DMS): 41°24'12.2"N 2°10'26.5"E
    • Degrees and decimal minutes (DMM): 41 24.2028, 2 10.4418
    • Decimal degrees (DD): 41.40338, 2.17403
  3. You'll see a pin show up at your coordinates.
  4. Click Save to store the client / order address.





Using the Xfleet Driver app to Geocode clients.


When the driver is in the client locations can store and send the geo coordinates. For this have to select Clients screen, search or select the client and glide left. Press the marker icon for geocoding. The information will be automatically sync into Admin site, if the user (driver) has the permission to edit client informations.




Geocoding FAQ



How do I report bugs in the geocoder?

If you have any bug reports or feature requests for the Xfleet geocoder service, please let us know. 

What maps are your using?

Xfleet is searching simultaneously in Google Maps, Xfleet Maps and OSM Maps to provide more accurate responses.

The geocoder is not producing good results for my use case. What help is available?

Please let us know by sharing a few specific queries, so we can investigate to see if there are any bugs or systemic issues causing problems with the result quality to help get better results.

Draggable map markers?

The marker is now draggable. This is excellent for addresses where you want to easily move an address on the map.

What are the Geocoding limitations?

There are some limitations when bulk geocoding, depending on subscription Please consult our Premium and subscriptions policies for more details.
 

Conclusion


Map Markers is an effective way of displaying delivery locations on a map. It has a simple yet powerful set of methods to create interactivity and adds more visual and transparency. The techniques described here are just a few of all the things you can do, but I think they’ll provide a good starting point.