added hasCoordinates to allowed_attributes