UN/LOCODE

UN/LOCODE

For Geo Mapping,  I suggest to use UN/LOCODE which will take care of Airport and Port codes.
https://www.unece.org/cefact/locode/service/location 

There are similar requests for airport code, my request if for port codes. Both of these will be taken care of by using the UN CODE.

Best regards,

Sony