from typing import Mapping


def format_geodetic_origin(location: Mapping) -> dict:
    """
    creates dict of URL parameters for a geodetic coordinate origin
    """
    return {
        "CENTER": "coord@{:s}".format(str(location["body"])),
        "COORD_TYPE": "GEODETIC",
        "SITE_COORD": "'{:f},{:f},{:f}'".format(
            float(location["lon"]),
            float(location["lat"]),
            float(location["elevation"]),
        ),
    }