Skip to content
Wolfgang Herfurtner

Wolfgang Herfurtner

Insurance Simplified Today

Primary Menu Wolfgang Herfurtner

Wolfgang Herfurtner

  • News Business
  • traffic finance
  • business markets
  • finance & accounting
  • Finance & Oportunity
  • business ideas
  • About Us
    • Advertise Here
    • Contact Us
    • Privacy Policy
    • Sitemap
  • Home
  • Improving Supply Chain Logistics with Geographic Proximity Matching
  • Finance & Oportunity

Improving Supply Chain Logistics with Geographic Proximity Matching

Thelma D. Griggs 09/05/2022 4:08 AM

Table of Contents

Toggle
  • Stage 1 – Combination latitude/longitude table
  • Stage 2 – Completely transform spots into details on the world
  • Phase 3 – Be part of datasets
  • Step 4 – Visualize results

[ad_1]

For a 3rd-bash logistics firm like RWI Logistics, geographic knowledge can be a essential instrument for resolving problems and building methods for our clients. We often need to seem up whether or not we’ve managed any truckloads into or out of a record of geographic parts, but it can be hard to immediately match destinations if they have a various metropolis, state, and postal code from a person another.

For instance, if we needed to know how numerous masses we’ve delivered in the vicinity of Fort Thomas, Kentucky, the easiest option would be to lookup for past transactions with “City” = ‘Fort Thomas’ and “State” = ‘KY’. Even so this technique would not return transactions for Cincinnati, Ohio regardless of the fact that Cincinnati is only 5 miles from Fort Thomas, mainly because the city and condition really don’t match our particular look for standards.

Domo has enabled us to carry out an productive and repeatable alternative to this dilemma. Our strategy uses Redshift dataflows and the Domo Dimensions Connector to match spots within just a specified mileage radius, relatively than relying on drawn boundaries like condition lines.

There are three datasets needed for this procedure:

  • Location checklist – A postal code listing for preferred places, such as prospective new buyer supply spots
  • Transaction background – A record of previous destinations to search, containing postal codes
  • Domo Proportions Connector “cityzip.csv” report – We will use this dataset to search up the latitude and longitude of each locale

Stage 1 – Combination latitude/longitude table

Some postal codes surface in the Domo Dimensions dataset many moments, so we have to use a desk renovate in Redshift to mixture this table so there is a single row for each postal code to prevent duplicating rows when we be a part of to the other tables.

pick
  "Postal",
  avg("Latitude") as "Lat",
  avg("Longitude") as "Extensive"
from "town_zip"
group by "Postal"

Stage 2 – Completely transform spots into details on the world

We first will need to discover the coordinates of the postal codes in the site record and transaction record by signing up for equally datasets to the aggregated latitude/longitude desk by postal code. The st_issue() purpose transforms the latitude and longitude of each individual postal code into a position on the world. Notice that operating SQL previews will not show any knowledge when these factors are provided in the query.

choose
  a."postal",
  a."area name",
  st_point(b."very long",b."lat") as "coord"
from "area_list" as a
  left sign up for "zip_coord" as b
    on a."postal" = b."postal"
pick
  a."transaction #",
  a."location name",
  st_position(b."very long",b."lat") as "coord"
from "transaction_historical past" as a
   remaining be a part of "zip_coord" as b
    on a."postal" = b."postal"

Phase 3 – Be part of datasets

Now that the area listing and transaction background both of those consist of points, we can use the st_DistanceSphere() purpose to compute the length (meters) involving details. We use this distance as the conditions for the be part of among the two tables. In this case in point, we match areas and transactions that are inside 100 miles of every single other.

pick out
  a."postal",
  a."spot title",
   b."transaction #",
   b."location name" as "transaction site name"
from "location_coord" as a
  left join "heritage_coord" as b
    on st_distancesphere(a."coord",b."coord") <= 1609.34*100

Step 4 – Visualize results

Using the above transform as the output of the Redshift dataflow, we then create a summary card that displays the count of historical transactions by location name. We can also gather more context by drilling to the transaction detail.

Since implementing this process, RWI Logistics has improved the efficiency and consistency of location-matching tasks. Domo has given us the ability to quickly analyze location data for various use cases and share insights across the organization.




[ad_2]

Source link

Post navigation

Previous: Facebook Interest Targeting – The Social Media Challenge of 2022
Next: CHina exports: China’s April exports lowest in two years as virus bites

More Stories

Mastering Finance: Creative Strategies to Grow, Protect, and Multiply Your Wealth
  • Finance & Oportunity

Mastering Finance: Creative Strategies to Grow, Protect, and Multiply Your Wealth

Thelma D. Griggs 03/09/2026 3:20 AM
Unlock Your Future: Creative Paths to Succeed in Finance Careers
  • Finance & Oportunity

Unlock Your Future: Creative Paths to Succeed in Finance Careers

Thelma D. Griggs 01/09/2026 3:19 AM
Unlocking the Vault: Innovative Paths to a Thriving Finance Career
  • Finance & Oportunity

Unlocking the Vault: Innovative Paths to a Thriving Finance Career

Thelma D. Griggs 30/08/2026 3:19 AM

Categories

  • Business
  • business ideas
  • business markets
  • Entertainment
  • finance & accounting
  • Finance & Oportunity
  • News Business
  • Property
  • Real Estate
  • traffic finance

Archives

Recent Posts

  • How Loan Tenure Affects the Cost of Financing a Motorcycle
  • 5 Unconventional Online Business Models That Thrive in the Digital Gold Rush
  • Future-Proofing News: The Next Big Business Trends in Media
  • Unlocking Growth: The Art and Science of Modern Business Market Analysis
  • Revolutionizing Your Business: How Cutting-Edge Finance Accounting Services Drive Growth & Compliance

BL

You may have missed

How Loan Tenure Affects the Cost of Financing a Motorcycle
  • business ideas

How Loan Tenure Affects the Cost of Financing a Motorcycle

Thelma D. Griggs 15/10/2026 4:01 AM
5 Unconventional Online Business Models That Thrive in the Digital Gold Rush
  • business ideas

5 Unconventional Online Business Models That Thrive in the Digital Gold Rush

Thelma D. Griggs 03/09/2026 3:33 AM
Future-Proofing News: The Next Big Business Trends in Media
  • News Business

Future-Proofing News: The Next Big Business Trends in Media

Thelma D. Griggs 03/09/2026 3:30 AM
Unlocking Growth: The Art and Science of Modern Business Market Analysis
  • business markets

Unlocking Growth: The Art and Science of Modern Business Market Analysis

Thelma D. Griggs 03/09/2026 3:23 AM
Revolutionizing Your Business: How Cutting-Edge Finance Accounting Services Drive Growth & Compliance
  • finance & accounting

Revolutionizing Your Business: How Cutting-Edge Finance Accounting Services Drive Growth & Compliance

Thelma D. Griggs 03/09/2026 3:20 AM
wolfgangherfurtner.com | CoverNews by AF themes.

WhatsApp us