You asked:

is charlotte amalie west of badajoz

Yes. Badajoz is east of Charlotte Amalie.
Charlotte Amalie
Charlotte Amalie
Charlotte Amalie

Badajoz
Badajoz
Badajoz