Calculate the buffer to save in one place
Merge pull request #1967 from geoadmin/teo_extent

Calculate the buffer to save in one place