Case study
Port polygon library
Boundaries for more than 3,200 ports and 16,000 quays, owned outright by the client and used to check its machine-learning models.
The problem
A ship’s position is just a point on a map until you know it’s inside a port. The client needed accurate boundaries for the world’s cargo seaports, in a library it owned outright, without the licensing restrictions that come with commercial datasets.
What we did
- Chose the ports. We started from the client’s list of high-priority ports and matched each one to the UN/LOCODE port database, the international standard, for its position and standard names and codes.
- Gathered the evidence. For each port we combined its UN/LOCODE position, AIS stoppage data supplied by the client showing where vessels actually stopped, and satellite imagery.
- Drew the boundaries. A small team drew the boundaries by hand in GIS tools, in two layers: a general polygon for each port, and detailed polygons for each quay and terminal within it. Every polygon carries country and port names and codes in UN standard values.
- Checked them. We validated every boundary against the AIS stoppage data, combining data analysis with a visual check by a person. The data was stored and worked on in PostGIS throughout.
The result
We completed the project in ten weeks. The finished library covers more than 3,200 ports, with over 3,500 general port polygons and more than 16,000 detailed quay polygons. The client owns it outright, with no licensing restrictions. They told us it compared well with the commercial port datasets already on the market. They use it for their own maritime analysis, and as a reference to check the port boundaries drawn by machine-learning models they’re developing.
What came next
The work led us to start our own port polygon library, built independently from scratch, and we continue to develop new datasets from it.
Got a problem like these?
Tell us about it. A short call costs nothing, and you’ll know your options by the end of it.
