Where was Master and Commander: The Far Side of the World filmed?

2003 film directed by Peter Weir

Master and Commander: The Far Side of the World (2003) was filmed in Galapagos Islands, Cape Horn, Playas de Rosarito Municipality and Rosarito, 4 places named in its Wikipedia article, in Mexico, Ecuador, Chile. Wikidata itself records the shoot only as Mexico. Each place says where its claim comes from.

See them on the map → Wikipedia Source data

Places per Wikipedia's article

The Wikipedia article names 4 places. Each links to the sentence that says so.

Recorded only at country level

Also filmed in Mexico, but the exact places are not known, so they are not on the map.

Filming locations that are mapped there: Mexico

Also shot in these places

Set in the same places