def getGeometryType(restGeom):
    """Return geometry type from REST endpoint geometry value"""
    if "Polygon" in restGeom:
        return "POLYGON"
    elif "Polyline" in restGeom:
        return "POLYLINE"
    elif "Multipoint" in restGeom:
        return "MULTIPOINT"
    elif "Point" in restGeom:
        return "POINT"
    else:
        return "Unknown"