update parameter ordering and ensure coordinates are referenced as locations