def describe_location(location, locations):
    if location.can_describe:
        final_location = locations.get(location.pk)
        if final_location is not None:
            location = final_location
    result = location.serialize(include_type=True, detailed=False, simple_geometry=True)
    if hasattr(location, 'serialize_position'):
        result.update(location.serialize_position())
    return result