Rambam's systematic presentation of the melakhah of transferring objects between domains and carrying within a public domain, providing the foundational legal categories for the question.
הוֹצָאָה וְהַכְנָסָה מֵרְשׁוּת לִרְשׁוּת מְלָאכָה מֵאֲבוֹת מְלָאכוֹת הִיא. וְאַף עַל פִּי שֶׁדָּבָר זֶה עִם כָּל גּוּפֵי תּוֹרָה מִפִּי משֶׁה מִסִּינַי נֶאֶמְרוּ. הֲרֵי הוּא אוֹמֵר בַּתּוֹרָה (שמות לו ו) "אִישׁ וְאִשָּׁה אַל יַעֲשׂוּ עוֹד מְלָאכָה לִתְרוּמַת הַקֹּדֶשׁ וַיִּכָּלֵא הָעָם מֵהָבִיא". הָא לָמַדְתָּ שֶׁהַהֲבָאָה מְלָאכָה קוֹרֵא אוֹתָהּ. וְכֵן לָמְדוּ מִפִּי הַשְּׁמוּעָה שֶׁהַמַּעֲבִיר בִּרְשׁוּת הָרַבִּים מִתְּחִלַּת אַרְבַּע לְסוֹף אַרְבַּע הֲרֵי הוּא כְּמוֹצִיא מֵרְשׁוּת לִרְשׁוּת וְחַיָּב: הַמּוֹצִיא בֵּין בִּימִינוֹ בֵּין בִּשְׂמֹאלוֹ בֵּין בְּתוֹךְ חֵיקוֹ אוֹ שֶׁיָּצָא בְּמָעוֹת צְרוּרִין לוֹ בִּסְדִינוֹ חַיָּב מִפְּנֵי שֶׁהוֹצִיא כְּדֶרֶךְ הַמּוֹצִיאִין. וְכֵן הַמּוֹצִיא עַל כְּתֵפוֹ חַיָּב אַף עַל פִּי שֶׁהַמַּשּׂאוֹי לְמַעְלָה מֵעֲשָׂרָה טְפָחִים בִּרְשׁוּת הָרַבִּים. שֶׁכֵּן הָיָה מַשָּׂא בְּנֵי קְהָת בַּמִּשְׁכָּן לְמַעְלָה מֵעֲשָׂרָה שֶׁנֶּאֱמַר (במדבר ז ט) "בַּכָּתֵף יִשָּׂאוּ". וְכָל הַמְּלָאכוֹת מִמִּשְׁכָּן לוֹמְדִין אוֹתָן: מֻתָּר לְאָדָם לְטַלְטֵל בִּרְשׁוּת הָרַבִּים בְּתוֹךְ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת שֶׁהוּא עוֹמֵד בְּצִדָּן. וְיֵשׁ לוֹ לְטַלְטֵל בְּכָל הַמְרֻבָּע הַזֶּה. וּבְאַמָּה שֶׁלּוֹ מוֹדְדִין. וְאִם הָיָה נַנָּס בְּאֵיבָרָיו נוֹתְנִין לוֹ אַרְבַּע אַמּוֹת כְּבֵינוֹנִיּוֹת שֶׁל כָּל אָדָם. וּמִפִּי הַקַּבָּלָה אָמְרוּ שֶׁזֶּה שֶׁנֶּאֱמַר בַּתּוֹרָה (שמות טז כט) "שְׁבוּ אִישׁ תַּחְתָּיו" שֶׁלֹּא יְטַלְטֵל חוּץ לִמְרֻבָּע זֶה אֶלָּא בִּמְרֻבָּע זֶה שֶׁהוּא כְּמִדַּת אֹרֶךְ אָדָם כְּשֶׁיִּפְשֹׁט יָדָיו וְרַגְלָיו בּוֹ בִּלְבַד יֵשׁ לְטַלְטֵל:
Transferring objects from one domain to another is one of the categories of labor [forbidden on the Sabbath]. Although this [prohibition], as all other elements of the body of Torah law, was communicated orally by Moses [as he received them] from Sinai, it is also [alluded to within] the Torah itself. [Exodus 36:6] relates: "[Moses ordered that an announcement be made:] 'No man or woman should do any further work concerning the donations to the Sanctuary.' And the people stopped bringing [their gifts]." From this, one can infer that bringing [an article from one domain to another] is [also] referred to as "labor." Similarly, we have learned according to the oral tradition that a person who carries an article from the beginning [of a square] four cubits long to the end [of that square] is comparable to a person who transfers an article from one domain to another and is liable. A person who transfers an article in the ordinary fashion in which the article is transferred is liable, whether he transferred it [by carrying it] in his right hand, in his left hand, or in his bosom, or whether he transfers money bound up in a cloth. Similarly, one is liable if one transferred the articles on one's shoulder. [This applies] although the article is [being carried] more than ten handbreadths high in the public domain, for this was the manner in which the sons of Kehat would carry [the sacred articles] of the Sanctuary above ten handbreadths high as [Numbers 7:9] states, "They shall carry them on their shoulders." As mentioned, all [the obligations for Sabbath] labors are derived from the Sanctuary. It is permissible for a person to move objects in the public within a square four cubits by four cubits adjacent to the place where he is standing. He is allowed to move articles [freely] throughout this square. These cubits are measured according to the size of the person's arm. If, however, his arms are dwarf-sized, he is granted four cubits according to the size of an average person's arms. According to the oral tradition, this is the interpretation of the Torah's statement [Exodus 16:29]: "Every person should remain in his place," that every person should not move an article outside this square, only within it. [This square] represents the length of a human body when one extends one's hands and feet; only within it is one allowed to move objects.