added method to set coord_type

Does this look okay?