1189. Except in the case of land enclosed by that of others, a servitude of right of way may be redeemed where its usefulness to the dominant land is out of proportion to the inconvenience or depreciation it entails for the servient land.
Failing agreement, the court, if it grants the right of redemption, fixes the price, taking into account, in particular, the length of time for which the servitude has existed and the change of value entailed by the servitude both in favour of the servient land and to the detriment of the dominant land.