Thales of Miletus was a philospher and geometer extraordinaire, his parents Examyes and Cleobuline phoenicians (canaanites), navigators privy to the twelve winds (windroses) method of mapping explained in article #2 at http://iceagecivilizations.com which enabled the Milesians to master the sea and so become trading partners with Egypt at Naukratis on the western-most canopic branch of the Nile in the delta during the iron age, that branch which had but become dry when Alexander the Great arrived four centuries later when he was then compelled to build the port city of Alexandria, Naukratis by then on the vanishing canopic branch obviously irrelevant for navigation.
And was there a port on the coast at the mouth of the canopic branch of the Nile before that branch went dry which had emptied just east of what later would be the location of Alexandria (downstream from Naukratis)? Yes, but now on the shallow seafloor several miles from shore, the cities of Menouthis and Heraklion, impressive bronze age megaliths of which Alexander made no mention, because those ruins had been submerged for over a thousand years by his time, the coastal real estate of the world having been inundated when the ice age ended circa 1500 b.c. when the climate dried out in Egypt too, documented in the egyptian Ipuwer Papyrus. See more here http://genesisveracityfoundation.com.