Convert locations for cap export.