Using gravimetric method in territorial planning