עירובין ה:ד · Eruvin 5:4
אֵין מוֹדְדִין אֶלָּא בְחֶבֶל שֶׁל חֲמִשִּׁים אַמָּה, לֹא פָחוֹת וְלֹא יוֹתֵר. וְלֹא יִמְדּוֹד אֶלָּא כְנֶגֶד לִבּוֹ. הָיָה מוֹדֵד וְהִגִּיעַ לְגַיְא אוֹ לְגָדֵר, מַבְלִיעוֹ וְחוֹזֵר לְמִדָּתוֹ. הִגִּיעַ לְהָר, מַבְלִיעוֹ וְחוֹזֵר לְמִדָּתוֹ, וּבִלְבַד שֶׁלֹּא יֵצֵא חוּץ לַתְּחוּם. אִם אֵינוֹ יָכוֹל לְהַבְלִיעוֹ, בָּזוֹ אָמַר רַבִּי דוֹסְתַּאי בַּר רַבִּי יַנַּאי מִשּׁוּם רַבִּי מֵאִיר, שָׁמַעְתִּי שֶׁמְּקַדְּרִין בֶּהָרִים:
One may measure a Shabbat limit only with a rope fifty cubits long, no less and no more, as will be explained in the Gemara. And one may measure the limit only at the level of one’s heart, i.e., whoever comes to measure the limit must hold the rope next to his chest. If one was measuring the limit and he reached a canyon or a fence, the height of the fence and the depth of the canyon are not counted toward the two thousand cubits; rather, he spans it and then resumes his measurement. Two people hold the two ends of the rope straight across the canyon or the fence, and the distance is measured as though the area were completely flat. If one reached a hill, he does not measure its height; rather, he spans the hill as if it were not there and then resumes his measurement, provided he does not thereby go out beyond the city’s Shabbat limit, as those watching the surveyor might mistakenly think the limit extends to that point. If, due to the width of the canyon or hill, he cannot span it, with regard to this situation Rabbi Dostai bar Yannai said in the name of Rabbi Meir: I heard that one may pierce hills. In other words, one measures the distance as if there were a hole from one side of the hill to the other, so that in effect, he measures only the horizontal distance and ignores the differences in elevation.
Word-by-word Breakdown (מילים ושרשים)
אֵין → One may not מוֹדְדִין → measure [מ - ד - ד]אֶלָּא → except בְחֶבֶל → with a rope [ח - ב - ל]שֶׁל → of חֲמִשִּׁים → fifty [ח - מ - ש]אַמָּה → cubits [א - מ - מ]לֹא → no פָחוֹת → less [פ - ח - ץ]וְלֹא → and no יוֹתֵר → more [י - ת - ר]וְלֹא → And one may not יִמְדּוֹד → measure [מ - ד - ד]אֶלָּא → except כְנֶגֶד → at the level of [נ - ג - ד]לִבּוֹ → his heart [ל - ב - ב]הָיָה → If he was [ה - י - ה]מוֹדֵד → measuring [מ - ד - ד]וְהִגִּיעַ → and he reached [נ - ג - ע]לְגַיְא → a canyon [ג - י - א]אוֹ → or לְגָדֵר → a fence [ג - ד - ר]מַבְלִיעוֹ → he spans it [ב - ל - ע]וְחוֹזֵר → and returns [ח - ז - ר]לְמִדָּתוֹ → to his measurement [מ - ד - ד]הִגִּיעַ → If he reached [נ - ג - ע]לְהָר → a hill [ה - ר - ר]מַבְלִיעוֹ → he spans it [ב - ל - ע]וְחוֹזֵר → and returns [ח - ז - ר]לְמִדָּתוֹ → to his measurement [מ - ד - ד]וּבִלְבַד → provided that [ל - ב - ד]שֶׁלֹּא → not יֵצֵא → he will go out [י - צ - א]חוּץ → outside [ח - ו - ץ]לַתְּחוּם → the limit [ת - ח - ם]