Log in
Model

GetGeoNamesDataByAddress

Magento\InventoryDistanceBasedSourceSelection\Model\ResourceModel\GetGeoNamesDataByAddress

What it does

This class retrieves geographical data (latitude, longitude, etc.) from the inventory_geoname database table based on a shipping address.

Developers use it in distance-based source selection algorithms to find coordinates for addresses by querying postcode first, then falling back to city and region if no exact match is found.

Public Methods

  • execute()